Chromium Command Line Switches

List of Chromium Command Line Switches

There are a lot of command line switches which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2013-02-13.

Condition Explanation
–0 prohibited: never inline matches
–1 The values the kOmniboxInlineHistoryQuickProvider switch may have, as in “–omnibox-inline-history-quick-provider-allowed=1” allowed: if HistoryQuickProvider thinks it appropriate, it can inline ( == current behavior as of 2/2012).
–action-box Enables or disables the “action box” UI in the toolbar.
–allow-cross-origin-auth-prompt Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair.
–allow-file-access On ChromeOS, file:// access is disabled except for certain whitelisted directories. This switch re-enables file:// for testing.
–allow-file-access-from-files By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing.
–allow-http-background-page Allows non-https URL for background_page for hosted apps.
–allow-legacy-extension-manifests Allows the browser to load extensions that lack a modern manifest when that would otherwise be forbidden.
–allow-nacl-socket-api Specifies comma-separated list of extension ids to grant access to TCP/UDP socket APIs.
–allow-no-sandbox-job Enables the sandboxed processes to run without a job object assigned to them. This flag is required to allow Chrome to run in RemoteApps or Citrix. This flag can reduce the security of the sandboxed processes and allow them to do certain API calls like shut down Windows or access the clipboard. Also we lose the chance to kill some processes until the outer job that owns them finishes.
–allow-outdated-plugins Don’t block outdated plugins.
–allow-running-insecure-content By default, an https page cannot run JavaScript, CSS or plug-ins from http URLs. This provides an override to get the old insecure behavior.
–allow-sandbox-debugging Allows debugging of sandboxed processes (see zygote_main_linux.cc).
–allow-webui-compositing Allow compositing on chrome:// pages.
–alsa-input-device[1] The Alsa device to use when opening an audio input stream.
–alsa-output-device[1] The Alsa device to use when opening an audio stream.
–always-authorize-plugins Prevents Chrome from requiring authorization to run certain widely installed but less commonly used plug-ins.
–app Specifies that the associated value should be launched in “application” mode.
–app-id Specifies that the extension-app with the specified id should be launched according to its configuration.
–app-notify-channel-server-url A URL for the server which assigns channel ids for server pushed app notifications.
–app-window-size Specifies the initial size for application windows launched with –app. –app-window-size=w,h
–apple No description
–apps-checkout-url Overrides the apps checkout URL, which is used to determine when to expose some private APIs.
–apps-debugger Flag to enable apps_debugger app.
–apps-new-install-bubble Whether to always use the new app install bubble when installing an app.
–apps-no-throb Disable throbber for extension apps.
–ash-animate-from-boot-splash-screen Enables an animated transition from the boot splash screen (Chrome logo on a white background) to the login screen. Implies |kAshCopyHostBackgroundAtBoot| and doesn’t make much sense if used in conjunction with |kDisableBootAnimation| (since the transition begins at the same time as the white/grayscale login screen animation).
–ash-boot-animation-function2 Variation of boot animation that uses Tween::EASE_OUT_2.
–ash-boot-animation-function3 Variation of boot animation that uses Tween::EASE_OUT_3.
–ash-constrain-pointer-to-root Constrains the pointer movement within a root window on desktop.
–ash-copy-host-background-at-boot Copies the host window’s content to the system background layer at startup. Can make boot slightly slower, but also hides an even-longer awkward period where we display a white background if the login wallpaper takes a long time to load.
–ash-debug-shortcuts Enable keyboard shortcuts useful for debugging.
–ash-disable-boot-animation2 Disables boot animation v2, go back to v1.
–ash-disable-display-change-limiter Disables the limitter to throttle how quickly a user can change display settings.
–ash-disable-launcher-per-display Disables creating a launcher per display.
–ash-disable-new-lock-animations If present new lock animations are enabled.
–ash-disable-per-app-launcher Disable the per application grouping version of the launcher.
–ash-enable-advanced-gestures Enable advanced gestures (e.g. for window management).
–ash-enable-auto-window-placement Disable support for auto window placement.
–ash-enable-brightness-control Always enable brightness control. Used by machines that don’t report their main monitor as internal.
–ash-enable-memory-monitor[2] Enable memory monitoring.
–ash-enable-new-network-status-area Enable new network handlers in the status area.
–ash-enable-oak Enables the Oak tree viewer.
–ash-enable-per-app-launcher Disable the new launcher version temporarily by default for the M25 release.
–ash-enable-tab-scrubbing[3] No description
–ash-enable-tray-dragging Enables showing the tray bubble by dragging on the shelf.
–ash-enable-workspace-scrubbing Enable workspace switching via a three finger vertical scroll.
–ash-immersive-hide-tab-indicators Enables immersive mode and hides the small tab indicators at the top of the screen.
–ash-immersive-mode Enables immersive mode.
–ash-override-display-orientation Overrides all displays’ orientation. The value should be one of 0 (normal), 1 (90 degrees clockwise), 2 (180 degrees) or 3 (270 degrees clockwise).
–ash-secondary-display-layout Specifies the layout mode and offsets for the secondary display for testing. The format is “<t|r|b|l>,<offset>” where t=TOP, r=RIGHT, b=BOTTOM and L=LEFT. For example, ‘r,-100’ means the secondary display is positioned on the right with -100 offset. (above than primary)
–ash-touch-hud Enables the heads-up display for tracking touch points.
–ash-webui-init[4] When wallpaper boot animation is not disabled this switch is used to override OOBE/sign in WebUI init type. Possible values: parallel|postpone. Default: parallel.
–assert-test Causes the browser process to throw an assertion on startup.
–audio-buffer-size Allow users to specify a custom buffer size for debugging purpose.
–aura-legacy-power-button (Most) Chrome OS hardware reports ACPI power button releases correctly. Standard hardware reports releases immediately after presses. If set, we lock the screen or shutdown the system immediately in response to a press instead of displaying an interactive animation.
–aura-no-shadows Avoid drawing drop shadows under windows.
–auth-ext-path[4] Enables overriding the path for the default authentication extension.
–auth-negotiate-delegate-whitelist Whitelist of servers that Negotiate will generate delegated Kerberos tickets for.
–auth-schemes HTTP authentication schemes to enable. This is a comma-separated list of authentication schemes (basic, digest, ntlm, and negotiate). By default all schemes are enabled. The primary use of this command line flag is to help triage authentication-related issues reported by end-users.
–auth-server-whitelist Whitelist of servers which NTLM and Negotiate can automatically authenticate with using the default credentials of the currently logged in user.
–auto The values the kTouchOptimizedUI switch may have, as in “–touch-optimized-ui=disabled”. auto: Enabled on monitors which have touchscreen support (default).
–auto-launch-at-startup A flag that is used to tell Chrome that it was launched automatically at computer startup and not by some user action.
–autofill-service-url Flag used to tell Chrome the base url of the Autofill service.
–automatic No description
–automation-channel The value of this switch tells the app to listen for and broadcast automation-related messages on IPC channel with the given ID.
–automation-reinitialize-on-channel-error Causes the automation provider to reinitialize its IPC channel instead of shutting down when a client disconnects.
–background-color-instead-of-checkerboard On platforms where checkerboards are used, prefer background colors instead of checkerboards.
–blacklist-accelerated-compositing Blacklist the GPU for accelerated compositing.
–blacklist-webgl Blacklist the GPU for WebGL.
–browser-subprocess-path Path to the exe to run for the renderer and plugin subprocesses.
–bwsi[4] Indicates that the browser is in “browse without sign-in” (Guest session) mode. Should completely disable extensions, sync and bookmarks.
–channel The value of this switch tells the child process which IPC channel the browser expects to use to communicate with it.
–check-cloud-print-connector-policy Checks the cloud print connector policy, informing the service process if the policy is set to disallow the connector, then quits.
–check-for-update-interval How often (in seconds) to check for updates. Should only be used for testing purposes.
–child-clean-exit[5] Causes the child processes to cleanly exit via calling exit().
–chrome-frame Run Chrome in Chrome Frame mode. This means that Chrome expects to be run as a dependent process of the Chrome Frame plugin.
–chrome-frame-shutdown-delay Tells Chrome to delay shutdown (for a specified number of seconds) when a Chrome Frame automation channel is closed.
–chrome-version Tells chrome to load the specified version of chrome.dll on Windows. If this version cannot be loaded, Chrome will exit.
–chromeos-release-board Enables overriding the Chrome OS board type when running on Linux.
–cipher-suite-blacklist Comma-separated list of SSL cipher suites to disable.
–clear-token-service Clears the token service before using it. This allows simulating the expiration of credentials during testing.
–cloud-print-delete-file Used with kCloudPrintFile. Tells Chrome to delete the file when finished displaying the print dialog.
–cloud-print-file Tells chrome to display the cloud print dialog and upload the specified file for printing.
–cloud-print-file-type Specifies the mime type to be used when uploading data from the file referenced by cloud-print-file. Defaults to “application/pdf” if unspecified.
–cloud-print-job-title Used with kCloudPrintFile to specify a title for the resulting print job.
–cloud-print-print-ticket Used with kCloudPrintFile to specify a JSON print ticket for the resulting print job. Defaults to null if unspecified.
–cloud-print-proxy-id The unique id to be used for this cloud print proxy instance.
–cloud-print-service The URL of the cloud print service to use, overrides any value stored in preferences, and the default. Only used if the cloud print service has been enabled (see enable-cloud-print).
–compile-shader-always-succeeds Always return success when compiling a shader. Linking will still fail.
–component-updater-debug Comma-separated options to troubleshoot the component updater. Only valid for the browser process.
–conflicting-modules-check Causes the browser process to inspect loaded and registered DLLs for known conflicts and warn the user.
–country The Country we should use. This is normally obtained from the operating system during first run and cached in the preferences afterwards. This is a string value, the 2 letter code from ISO 3166-1.
–crash-on-gpu-hang Cause a GPU hang to cause a crash dump, allowing for easier debugging of them.
–crash-on-hang-threads Comma-separated list of BrowserThreads that cause browser process to crash if the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the list of BrowserThreads that are supported. For example: –crash-on-hang-threads=UI:3:18,IO:3:18 –> Crash the browser if UI or IO is not responsive for 18 seconds and the number of browser threads that are responding is less than or equal to 3.
–crash-test Causes the browser process to crash on startup.
–create-browser-on-startup-for-tests Some platforms like ChromeOS default to empty desktop. Browser tests may need to add this switch so that at least one browser instance is created on startup. TODO(nkostylev): Investigate if this switch could be removed. (http://crbug.com/148675)
–dbus-stub Forces the stub implementation of dbus clients.
–debug-children Will add kDebugOnStart to every child processes. If a value is passed, it will be used as a filter to determine if the child process should have the kDebugOnStart flag passed on or not.
–debug-enable-frame-toggle Enables a frame context menu item that toggles the frame in and out of glass mode (Windows Vista and up only).
–debug-on-start If the program includes base/debug/debug_on_start_win.h, the process will (on Windows only) start the JIT system-registered debugger on itself and will wait for 60 seconds for the debugger to attach to itself. Then a break point will be hit.
–debug-packed-apps Adds debugging entries such as Inspect Element to context menus of packed apps.
–debug-plugin-loading Dumps extra logging about plugin loading to the log file.
–debug-print Enables support to debug printing subsystem.
–default-tile-height No description
–default-tile-width Sets the tile size used by composited layers.
–desktop No description
–device-management-url Specifies the URL at which to fetch configuration policy from the device management backend. Specifying this switch turns on managed policy from the device management backend.
–diagnostics Triggers a plethora of diagnostic modes.
–disable-3d-apis Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs.
–disable-accelerated-2d-canvas Disable gpu-accelerated 2d canvas.
–disable-accelerated-compositing Disables accelerated compositing.
–disable-accelerated-layers Disables the hardware acceleration of 3D CSS and animation.
–disable-accelerated-plugins Disables the hardware acceleration of plugins.
–disable-accelerated-video Disables GPU accelerated video display.
–disable-accelerated-video-decode Disables hardware acceleration of video decode, where available.
–disable-application-cache Disable the ApplicationCache.
–disable-async-dns Disables the experimental asynchronous DNS client.
–disable-audio TODO(scherkus): remove –disable-audio when we have a proper fallback mechanism.
–disable-audio-fallback Disable automatic fallback from low latency to high latency path.
–disable-audio-output-resampler Disable AudioOutputResampler for automatic audio resampling and rebuffering.
–disable-auth-negotiate-cname-lookup Disables CNAME lookup of the host when generating the Kerberos SPN for a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more background.
–disable-background-mode Disables background mode (background apps will not keep chrome running in the background).
–disable-background-networking Disable several subsystems which run network requests in the background. This is for use when doing network performance testing to avoid noise in the measurements.
–disable-backing-store-limit Disable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory.
–disable-bookmark-autocomplete-provider Disables the bookmark autocomplete provider (BookmarkProvider).
–disable-boot-animation[4] Disables wallpaper boot animation (except of OOBE case).
–disable-breakpad Disables the crash reporting.
–disable-bundled-ppapi-flash Disables the bundled PPAPI version of Flash.
–disable-canvas-aa Disable antialiasing on 2d canvas.
–disable-carbon-interposing[6] No description
–disable-chrome-captive-portal-detector[4] Disables Chrome Captive Portal detector, which initiates Captive Portal detection for new active networks.
–disable-client-side-phishing-detection Disables the client-side phishing detection feature. Note that even if client-side phishing detection is enabled, it will only be active if the user has opted in to UMA stats and SafeBrowsing is enabled in the preferences.
–disable-cloud-policy-on-signin If present, disables the loading and application of cloud policy for signed-in users.
–disable-component-update No description
–disable-composited-core-animation-plugins[7] No description
–disable-core-animation-plugins[7] Disables using core animation in plugins. This is triggered when accelerated compositing is disabled. See http://crbug.com/122430
–disable-crl-sets Disables establishing certificate revocation information by downloading a set of CRLs rather than performing on-line checks.
–disable-custom-jumplist Disables the custom JumpList on Windows 7.
–disable-data-transfer-items Disables data transfer items.
–disable-databases Disables HTML5 DB support.
–disable-default-apps Disables installation of default apps on first run. This is used during automated testing.
–disable-deferred-2d-canvas Disable deferred 2d canvas rendering.
–disable-desktop-notifications Disables desktop notifications (default enabled on windows).
–disable-device-orientation Disables device orientation events.
–disable-dhcp-wpad Disables retrieval of PAC URLs from DHCP as per the WPAD standard.
–disable-drive[4] Disables Google Drive integration.
–disable-encrypted-media Disables support for Encrypted Media Extensions.
–disable-extensions Disable extensions.
–disable-extensions-file-access-check Disable checking for user opt-in for extensions that want to inject script into file URLs (ie, always allow it). This is used during automated testing.
–disable-extensions-http-throttling Disable the net::URLRequestThrottlerManager functionality for requests originating from extensions.
–disable-extensions-resource-whitelist Disable mandatory enforcement of web_accessible_resources in extensions.
–disable-file-system Disable FileSystem API.
–disable-fixed-position-compositing No description
–disable-flash-3d Disable 3D inside of flapper.
–disable-flash-fullscreen-3d Disable using 3D to present fullscreen flash
–disable-flash-stage3d Disable Stage3D inside of flapper.
–disable-force-compositing-mode This flag disables force compositing mode and prevents it from being enabled via field trials.
–disable-full-history-sync Disables full history sync.
–disable-fullscreen Disable the JavaScript Full Screen API.
–disable-geolocation Suppresses support for the Geolocation javascript API.
–disable-gl-error-limit Disable the GL error log limit.
–disable-gl-multisampling Disable GL multisampling.
–disable-glsl-translator Disable the GLSL translator.
–disable-gpu Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won’t launch.
–disable-gpu-driver-bug-workarounds Disable workarounds for various GPU driver bugs.
–disable-gpu-process-prelaunch Do not launch the GPU process shortly after browser process launch. Instead launch it when it is first needed.
–disable-gpu-program-cache Turn off gpu program caching
–disable-gpu-sandbox Disable the GPU process sandbox.
–disable-gpu-vsync Stop the GPU from synchronizing on the vsync before presenting.
–disable-gpu-watchdog Disable the thread that crashes the GPU process if it stops responding to messages.
–disable-hang-monitor Suppresses hang monitor dialogs in renderer processes. This may allow slow unload handlers on a page to prevent the tab from closing, but the Task Manager can be used to terminate the offending process in this case.
–disable-histogram-customizer Disable the RenderThread’s HistogramCustomizer.
–disable-image-transport-surface Disable the use of an ImageTransportSurface. This means the GPU process will present the rendered page rather than the browser process.
–disable-improved-download-protection Disables improved SafeBrowsing download protection.
–disable-ip-pooling Disables IP Pooling within the networks stack (SPDY only). When a connection is needed for a domain which shares an IP with an existing connection, attempt to use the existing connection.
–disable-ipv6 Don’t resolve hostnames to IPv6 addresses. This can be used when debugging issues relating to IPv6, but shouldn’t otherwise be needed. Be sure to file bugs if something isn’t working properly in the presence of IPv6. This flag can be overidden by the “enable-ipv6” flag.
–disable-java Prevent Java from running.
–disable-javascript Don’t execute JavaScript (browser JS like the new tab page still runs).
–disable-javascript-i18n-api Disable JavaScript I18N API.
–disable-local-accounts[4] Disable policy-configured local accounts.
–disable-local-storage Disable LocalStorage.
–disable-logging Force logging to be disabled. Logging is enabled by default in debug builds.
–disable-login-animations[4] Avoid doing expensive animations upon login.
–disable-media-history[8] Disable history logging for media elements.
–disable-media-source Disable Media Source API on <audio>/<video> elements.
–disable-new-menu-style Disables new menu UI.
–disable-new-oobe[4] Disables new OOBE/sign in design.
–disable-new-password-changed-dialog[4] Disables new password changed dialog (WebUI).
–disable-nonuniform-gpu-mem-policy Disable the nonuniform GPU memory memory and instead use the scheme that distributes memory uniformly to all visible renderers.
–disable-ntp-other-sessions-menu Disables the menu on the NTP for accessing sessions from other devices.
–disable-oobe-animation[4] Avoid doing animations upon oobe.
–disable-panel-fitting[4] Disables panel fitting (used for mirror mode).
–disable-pepper-3d Disable Pepper3D.
–disable-pepper-threading Set to true to not allow threadsafety support in native Pepper plugins.
–disable-plugins Prevent plugins from running.
–disable-popup-blocking Disable pop-up blocking.
–disable-preconnect Disable speculative TCP/IP preconnection.
–disable-print-preview[9] Controls print preview in the browser process. Disables print preview (For testing, and for users who don’t like us. :[ )
–disable-prompt-on-repost Normally when the user attempts to navigate to a page that was the result of a post we prompt to make sure they want to. This switch may be used to disable that check. This switch is used during automated testing.
–disable-remote-fonts Disables remote web font support. SVG font should always work whether this option is specified or not.
–disable-renderer-accessibility Turns off the accessibility in the renderer.
–disable-renderer-side-mixing Controls renderer side mixing and low latency audio path for media elements.
–disable-restore-background-contents Prevents the URLs of BackgroundContents from being remembered and re-launched when the browser restarts.
–disable-restore-session-state Disables restoring session state (cookies, session storage, etc.) when restoring the browsing session.
–disable-scripted-print-throttling Disables throttling prints initiated by scripts.
–disable-seccomp-filter-sandbox Disable the seccomp filter sandbox (Linux only)
–disable-seccomp-sandbox Disable the seccomp sandbox (Linux only)
–disable-session-storage Disable session storage.
–disable-shader-name-hashing Turn off user-defined name hashing in shaders.
–disable-shared-workers Enable shared workers. Functionality not yet complete.
–disable-site-specific-quirks Disables site-specific tailoring to compatibility issues in WebKit.
–disable-smooth-scrolling Disable smooth scrolling for testing.
–disable-software-rasterizer Disables the use of a 3D software rasterizer.
–disable-speech-input Disables speech input.
–disable-ssl-false-start Disable False Start in SSL and TLS connections.
–disable-stub-ethernet[4] Disables fake ethernet network on the login screen.
–disable-sync Disables syncing browser data to a Google Account.
–disable-sync-app-notifications Disable syncing app notifications.
–disable-sync-app-settings Disables syncing of app settings.
–disable-sync-apps Disables syncing of apps.
–disable-sync-autofill Disables syncing of autofill.
–disable-sync-autofill-profile Disables syncing of autofill Profile.
–disable-sync-bookmarks Disables syncing of bookmarks.
–disable-sync-dictionary Disables syncing of dictionary.
–disable-sync-extension-settings Disables syncing extension settings.
–disable-sync-extensions Disables syncing of extensions.
–disable-sync-history-delete-directives Disables syncing of history delete directives.
–disable-sync-passwords Disables syncing browser passwords.
–disable-sync-preferences Disables syncing of preferences.
–disable-sync-search-engines Disable syncing custom search engines.
–disable-sync-tabs Disables syncing browser sessions. Will override kEnableSyncTabs.
–disable-sync-themes Disables syncing of themes.
–disable-sync-typed-urls Disables syncing browser typed urls.
–disable-threaded-animation No description
–disable-threaded-compositing Disable multithreaded GPU compositing of web content.
–disable-tls-channel-id Disables TLS Channel ID extension.
–disable-touch-adjustment Disable touch adjustment.
–disable-translate Allows disabling of translate from the command line to assist with automated browser testing (e.g. Selenium/WebDriver). Normal browser users should disable translate with the preference.
–disable-web-media-player-ms Disables using WebMediaPlayerMS for src of <audio>/<video> derived from media stream.
–disable-web-resources Disables the backend service for web resources.
–disable-web-security Don’t enforce the same-origin policy. (Used by people testing their sites.)
–disable-web-sockets Disable Web Sockets support.
–disable-webaudio[10] Disable web audio API.
–disable-webgl[10] Disable experimental WebGL support.
–disable-winsta Disables the alternate window station for the renderer.
–disable-xss-auditor Disables WebKit’s XSSAuditor. The XSSAuditor mitigates reflective XSS.
–disable-zero-browsers-open-for-tests Some tests seem to require the application to close when the last browser window is closed. Thus, we need a switch to force this behavior for ChromeOS Aura, disable “zero window mode”. TODO(pkotwicz): Investigate if this bug can be removed. (http://crbug.com/119175)
–disabled disabled: never optimized for touch.
–disk-cache-dir Use a specific disk cache location, rather than one derived from the UserDatadir.
–disk-cache-size Forces the maximum disk space to be used by the disk cache, in bytes.
–dns-log-details No description
–dns-prefetch-disable Disables prefetching of DNS information.
–dom-automation Specifies if the |DOMAutomationController| needs to be bound in the renderer. This binding happens on per-frame basis and hence can potentially be a performance bottleneck. One should only enable it when automating dom based tests. Also enables sending/receiving renderer automation messages through the |AutomationRenderViewHelper|. TODO(kkania): Rename this to enable-renderer-automation after moving the |DOMAutomationController| to the |AutomationRenderViewHelper|.
–dump-histograms-on-exit Dump any accumualted histograms to the log when browser terminates (requires logging to be enabled to really do anything). Used by developers and test scripts.
–dump-profile-graph[11] Dumps dependency information about our profile services into a dot file in the profile directory.
–easy-off-store-extension-install Enables extensions to be easily installed from sites other than the web store. Without this flag, they can still be installed, but must be manually dragged onto chrome://extensions/.
–echo-ext-path[4] Enables overriding the path for the default echo component extension. Useful for testing.
–egl No description
–enable-accelerated-filters Enable gpu-accelerated SVG/W3C filters.
–enable-accelerated-overflow-scroll Enables accelerated compositing for overflow scroll. Promotes eligible overflow:scroll elements to layers to enable accelerated scrolling for them.
–enable-accelerated-painting Enable hardware accelerated page painting.
–enable-accelerated-scrollable-frames Enables accelerated compositing for scrollable frames for accelerated scrolling for them. Requires kForceCompositingMode.
–enable-accessibility-logging Turns on extremely verbose logging of accessibility events.
–enable-app-mode[4] Enable Kiosk app mode for ChromeOS.
–enable-async-dns Enables the experimental asynchronous DNS client.
–enable-audio-mixer Enable browser-side audio mixer.
–enable-auth-negotiate-port Enables the inclusion of non-standard ports when generating the Kerberos SPN in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more background.
–enable-autologin Enables the pre- and auto-login features. When a user signs in to sync, the browser’s cookie jar is pre-filled with GAIA cookies. When the user visits a GAIA login page, an info bar can help the user login.
–enable-background-loader[4] Enables component extension that initializes background pages of certain hosted applications.
–enable-benchmarking Enables the benchmarking extensions.
–enable-bezel-touch Enable support for bezel touch.
–enable-browser-plugin-compositing Enables browser plugin compositing experiment.
–enable-browser-plugin-for-all-view-types Enables browser plugin for all types of pages.
–enable-browser-plugin-guest-views Enables using experimental ‘guest’ view classes for browser plugin. Browser plugin would use WebContentsViewGuest and RenderWidgetHostViewGuest, which wraps the actual *View implementations.
–enable-carrier-switching[4] Enables switching between different cellular carriers from the UI.
–enable-chrome-captive-portal-detector[4] Enables Chrome Captive Portal detector, which initiates Captive Portal detection for new active networks.
–enable-cloud-print-proxy This applies only when the process type is “service”. Enables the Cloud Print Proxy component within the service process.
–enable-composited-scrolling-for-frames Enables accelerated scrolling by the compositor for frames. Requires kForceCompositingMode and kEnableAcceleratedScrollableFrames.
–enable-compositor-frame-message Send a message for every frame from the impl thread to the parent compositor.
–enable-contacts Enables fetching the user’s contacts from Google and showing them in the Chrome OS apps list.
–enable-crash-reporter[5] A flag, generated internally by Chrome for renderer and other helper process command lines on Linux and Mac. It tells the helper process to enable crash dumping and reporting, because helpers cannot access the profile or other files needed to make this decision.
–enable-crash-reporter-for-testing[5] Used for turning on Breakpad crash reporting in a debug environment where crash reporting is typically compiled but disabled.
–enable-crxless-web-apps Enables web developers to create apps for Chrome without using crx packages.
–enable-css-shaders Enables CSS3 custom filters
–enable-dcheck Enable DCHECKs in release mode.
–enable-deferred-image-decoding Defer image decoding in WebKit until painting.
–enable-desktop-guest-mode Enables desktop guest mode.
–enable-device-motion Enables device motion events.
–enable-devtools-experiments If true devtools experimental settings are enabled.
–enable-download-resumption Enables restarting interrupted downloads.
–enable-drive-metadata-prefetch[4] Enables metadata prefetching in Google Drive Client for Chrome OS.
–enable-drive-prefetch[4] Enables file prefetching in Google Drive Client for Chrome OS.
–enable-exclusive-audio[12] Use exclusive mode audio streaming for Windows Vista and higher. Leads to lower latencies for audio streams which uses the AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85).aspx for details.
–enable-experimental-extension-apis Enables extension APIs that are in development.
–enable-experimental-form-filling Enable autofill for new elements like checkboxes. crbug.com/157636
–enable-experimental-webkit-features Enables WebKit features that are in development.
–enable-expose-for-tabs[7] Enables the tabs expose feature ( http://crbug.com/50307 ).
–enable-extension-activity-logging Enables logging for extension activity.
–enable-extension-activity-ui Enables the extension activity UI.
–enable-fastback Enables the fastback page cache.
–enable-file-cookies By default, cookies are not allowed on file://. They are needed for testing, for example page cycler and layout tests. See bug 1157243.
–enable-fixed-layout By default, a page is laid out to fill the entire width of the window. This flag fixes the layout of the page to a default of 980 CSS pixels, or to a specified width and height using –enable-fixed-layout=w,h
–enable-fixed-position-compositing Enable/Disable the creation of compositing layers for fixed position elements. Three options are needed to support four possible scenarios: 1. Default (disabled) 2. Enabled always (to allow dogfooding) 3. Disabled always (to give safety fallback for users) 4. Enabled only if we detect a highDPI display Option #4 may soon be the default, because the feature is needed soon for high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will override Option #4.
–enable-full-history-sync Enables full history sync (not just typed URLs) for signed-in users.
–enable-gesture-tap-highlight Enable Gesture Tap Highlight
–enable-google-now-integration Enables Google Now integration.
–enable-gpu-benchmarking Enables the GPU benchmarking extension
–enable-gpu-client-logging No description
–enable-gpu-client-tracing Enables TRACE for GL calls in the renderer.
–enable-gpu-command-logging Turn on Logging GPU commands.
–enable-gpu-debugging Turn on Calling GL Error after every command.
–enable-gpu-sandbox Enable the GPU process sandbox (Linux/Chrome OS only for now).
–enable-gpu-service-logging Enable GPU service logging. Note: This is the same switch as the one in gl_switches.cc. It’s defined here again to avoid dependencies between dlls.
–enable-gpu-service-tracing Turns on calling TRACE for every GL call.
–enable-grouped-history Enables grouping websites by domain and filtering them by period.
–enable-handle-auditing Enumerates and prints a child process’ most dangerous handles when it is terminated.
–enable-handle-auditing-all The same as kAuditHandles except all handles are enumerated.
–enable-high-dpi-fixed-position-compositing No description
–enable-impl-side-painting Paint content on the compositor thread instead of the main thread.
–enable-instant-extended-api Enable Instant extended API.
–enable-interactive-autocomplete Enables an interactive autocomplete UI and a way to invoke this UI from WebKit by enabling HTMLFormElement#requestAutocomplete (and associated autocomplete* events and logic).
–enable-ip-pooling Enables IP Pooling within the networks stack (SPDY only). When a connection is needed for a domain which shares an IP with an existing connection, attempt to use the existing connection.
–enable-ipc-fuzzing / Enables the IPC fuzzer for reliability testing
–enable-ipv6 Enables IPv6 support, even if probes suggest that it may not be fully supported. Some probes may require internet connections, and this flag will allow support independent of application testing. This flag overrides “disable-ipv6” which appears elswhere in this file.
–enable-kiosk-mode[4] Enable Kiosk mode for ChromeOS.
–enable-locally-managed-users-ui-experiments Enables experiments in locally managed user creation ui.
–enable-logging Force logging to be enabled. Logging is disabled by default in release builds.
–enable-managed-users Enables support for user profiles that are managed by another user and can have restrictions applied.
–enable-media-transfer-protocol-device-operations[12] Enables media transfer protocol device media support for mediaGalleries extension API. TODO(kmadhusu): Remove this switch after fixing crbug.com/154835.
–enable-memory-benchmarking Enables the memory benchmarking extension
–enable-memory-info Allows reporting memory info (JS heap size) to page.
–enable-memory-internals-ui Enables the chrome://memory-internals/ page.
–enable-metrics-reporting-for-testing Enables metrics recording and reporting in the browser startup sequence, as if this was an official Chrome build where the user allowed metrics reporting. This is used for testing only.
–enable-monitor-profile On Windows, converts the page to the currently-installed monitor profile. This does NOT enable color management for images. The source is still assumed to be sRGB.
–enable-nacl Runs the Native Client inside the renderer process and enables GPU plugin (internally adds lEnableGpuPlugin to the command line).
–enable-nacl-debug Enables debugging via RSP over a socket.
–enable-nacl-exception-handling Enables hardware exception handling via debugger process.
–enable-native-messaging Enables the native messaging extensions API.
–enable-natural-scroll-default[4] Enables natural scroll by default.
–enable-new-autofill-heuristics Enables new Autofill heuristics, such as adding support for new field types.
–enable-new-autofill-ui Enables the new Autofill UI, which is part of the browser process rather than part of the renderer process. http://crbug.com/51644
–enable-new-dialog-style Enables the new dialog style wherever it is available.
–enable-new-network-change-notifier Enables the new NetworkChangeNotifier using the NetworkStateHandler class.
–enable-npn Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY.
–enable-npn-http Enables NPN with HTTP. It means NPN is enabled but SPDY won’t be used. HTTP is still used for all requests.
–enable-opus-playback Enables Opus playback in media elements.
–enable-overscroll-history-navigation Enables history navigation in response to horizontal overscroll.
–enable-panel-stacking Enables panel stacking support.
–enable-panels Enables panels (always on-top docked pop-up windows).
–enable-partial-swap No description
–enable-password-generation Enables password generation when we detect that the user is going through account creation.
–enable-per-tile-painting No description
–enable-pinch Enables compositor-accelerated touch-screen pinch gestures.
–enable-pnacl Enables the installation and usage of Portable Native Client.
–enable-preparsed-js-caching Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
–enable-print-preview[13] Enables print preview (Force enable on Chromium, which normally does not have the PDF viewer required for print preview.)
–enable-privileged-webgl-extensions Enable privileged WebGL extensions; without this switch such extensions are available only to Chrome extensions.
–enable-profiling Enables tracking of tasks in profiler for viewing via about:profiler. To predominantly disable tracking (profiling), use the command line switch: –enable-profiling=0 Some tracking will still take place at startup, but it will be turned off during chrome_browser_main.
–enable-prune-gpu-command-buffers Aggressively free GPU command buffers belonging to hidden tabs.
–enable-query-extraction Enables query extraction in the omnibox.
–enable-quic Enables support for the QUIC protocol. This is a temporary testing flag.
–enable-request-tablet-site[4] Enables request of tablet site (via user agent override).
–enable-resource-content-settings Enables content settings based on host *and* plug-in in the user preferences.
–enable-right-aligned-scheduling Try to finish display pipeline before vsync tick
–enable-sandbox-logging Cause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox.
–enable-screensaver-extensions Enables screensaver extensions.
–enable-sdch Controls the support for SDCH filtering (dictionary based expansion of content). By default SDCH filtering is enabled. To disable SDCH filtering, use “–enable-sdch=0” as command line argument. SDCH is currently only supported server-side for searches on google.com.
–enable-seccomp-sandbox Enable the seccomp sandbox (Linux only)
–enable-smooth-scrolling On platforms that support it, enables smooth scroll animation.
–enable-software-compositing-gl-adapter Force the compositor to use its software implementation instead of GL.
–enable-spdy-credential-frames Enable SPDY CREDENTIAL frame support. This is a temporary testing flag.
–enable-spdy3 Enable SPDY/3. This is a temporary testing flag.
–enable-spelling-auto-correct Enables auto correction for misspelled words.
–enable-ssl-cached-info Enables TLS cached info extension.
–enable-stacked-tab-strip Enables the stacked tabstrip.
–enable-static-ip-config[4] Enables static ip configuration. This flag should be removed when it’s on by default.
–enable-stats-table Enables StatsTable, logging statistics to a global named shared memory table.
–enable-strict-site-isolation Experimentally ensures that each renderer process: 1) Only handles rendering for pages from a single site, apart from iframes. (Note that a page can reference content from multiple origins due to images, JavaScript files, etc. Cross-site iframes are also loaded in-process.) 2) Only has authority to see or use cookies for the page’s top-level origin. (So if a.com iframes b.com, the b.com network request will be sent without cookies.) This is expected to break compatibility with many pages for now. Unlike the –site-per-process flag, this allows cross-site iframes, but it blocks all cookies on cross-site requests.
–enable-stub-interactive[4] Enable “interactive” mode for stub implemenations (e.g. NetworkLibrary)
–enable-suggestions-ntp Enables experimental suggestions pane in New Tab page.
–enable-sync-synced-notifications Enables synced notifications.
–enable-tab-browser-dragging Enables tab dragging to create a real browser.
–enable-tab-capture Enables tab capture.
–enable-tab-groups-context-menu Enables context menu for selecting groups of tabs.
–enable-tcp-fastopen Enable use of experimental TCP sockets API for sending data in the SYN packet.
–enable-text-services-framework Enable Text Service Framework(TSF) for text inputting instead of IMM32. This flag is ignored on Metro environment.
–enable-threaded-compositing Enable multithreaded GPU compositing of web content.
–enable-top-controls-position-calculation No description
–enable-touch-drag-drop No description
–enable-translate[8] Pops the translate infobar if possible.
–enable-user-controlled-alternate-protocol-ports Enables Alternate-Protocol when the port is user controlled (> 1024).
–enable-usermedia-screen-capturing Enable screen capturing support for MediaStream API.
–enable-viewport Enables the use of the viewport meta tag, which allows pages to control aspects of their own layout. This also turns on touch-screen pinch gestures.
–enable-views-textfield Enables the Views textfield on Windows.
–enable-virtual-gl-contexts Allow GL contexts to be automatically virtualized (shared between command buffer clients) if they are compatible.
–enable-visual-word-movement Enables moving cursor by word in visual order.
–enable-vp9-playback Enables VP9 playback in media elements.
–enable-watchdog Spawns threads to watch for excessive delays in specified message loops. User should set breakpoints on Alarm() to examine problematic thread. Usage: -enable-watchdog=[ui][io] Order of the listed sub-arguments does not matter.
–enable-webaudio[8] Enable web audio API.
–enable-webaudio-input Enable live audio input with getUserMedia() and the Web Audio API.
–enable-webgl[8] WebGL is disabled by default on Android.
–enable-webrtc[8] WebRTC is disabled by default on Android.
–enable-websocket-over-spdy Uses WebSocket over SPDY.
–enable-webview-synchronous-apis[8] Set to enable compatibility with legacy WebView synchronous APIs.
–enabled enabled: always optimized for touch (even if no touch support).
–enforce-gl-minimums Enforce GL minimums.
–enterprise-enrollment-initial-modulus[4] Power of the power-of-2 initial modulus that will be used by the auto-enrollment client. E.g. “4” means the modulus will be 2^4 = 16.
–enterprise-enrollment-modulus-limit[4] Power of the power-of-2 maximum modulus that will be used by the auto-enrollment client.
–event-page-idle-time The time in seconds that an extension event page can be idle before it is shut down.
–event-page-unloading-time The time in seconds that an extension event page has between being notified of its impending unload and that unload happening.
–experimental-location-features Enables experimental features for the geolocation API. Current features: – CoreLocation support for Mac OS X 10.6 – Gateway location for Linux and Windows – Location platform support for Windows 7
–explicitly-allowed-ports Explicitly allows additional ports using a comma-separated list of port numbers.
–extension-process Marks a renderer as extension process.
–extensions-in-action-box Enables or disables showing extensions in the action box.
–extensions-update-frequency Frequency in seconds for Extensions auto-update.
–extra-plugin-dir Load NPAPI plugins from the specified directory.
–fake-variations-channel Fakes the channel of the browser for purposes of Variations filtering. This is to be used for testing only. Possible values are “stable”, “beta”, “dev” and “canary”. Note that this only applies if the browser’s reported channel is UNKNOWN.
–feedback-server Alternative feedback server to use when submitting user feedback
–file-descriptor-limit The file descriptor limit is set to the value of this switch, subject to the OS hard limits. Useful for testing that file descriptor exhaustion is handled gracefully.
–file-manager-packaged[4] Loads the File Manager as a packaged app.
–filemgr-ext-path[11] Enables overriding the path of file manager extension.
–first-boot[4] Passed to Chrome on first boot. Not passed on restart after sign out.
–flag-switches-begin These two flags are added around the switches about:flags adds to the command line. This is useful to see which switches were added by about:flags on about:version. They don’t have any effect.
–flag-switches-end No description
–force-app-mode Forces application mode. This hides certain system UI elements and forces the app to be installed if it hasn’t been already.
–force-audio-mirroring Force audio input streams to be created as virtual streams. Can be used with WebRTC apps for audio mirroring testing.
–force-compositing-mode If accelerated compositing is supported, always enter compositing mode for the base layer even when compositing is not strictly required.
–force-desktop[12] For the DelegateExecute verb handler to launch Chrome in desktop mode on Windows 8 and higher. Used when relaunching metro Chrome.
–force-device-scale-factor Overrides the device scale factor for the browser UI and the contents.
–force-fieldtrials Some field trials may be randomized in the browser, and the randomly selected outcome needs to be propagated to the renderer. For instance, this is used to modify histograms recorded in the renderer, or to get the renderer to also set of its state (initialize, or not initialize components) to match the experiment(s). The option is also useful for forcing field trials when testing changes locally. The argument is a list of name and value pairs, separated by slashes. See FieldTrialList::CreateTrialsFromString() in field_trial.h for details.
–force-first-run Displays the First Run experience when the browser is started, regardless of whether or not it’s actually the First Run (this overrides kNoFirstRun).
–force-glfinish-workaround Force the use of a workaround for graphics hangs seen on certain Mac OS systems. Enabled by default (and can’t be disabled) on known affected systems.
–force-gpu-mem-available-mb Sets the total amount of memory that may be allocated for GPU resources
–force-immersive[12] For the DelegateExecute verb handler to launch Chrome in metro mode on Windows 8 and higher. Used when relaunching metro Chrome.
–force-login-manager-in-tests[4] Usually in browser tests the usual login manager bringup is skipped so that tests can change how it’s brought up. This flag disables that.
–force-renderer-accessibility Force renderer accessibility to be on instead of enabling it on demand when a screen reader is detected. The disable-renderer-accessibility switch overrides this if present.
–force_discrete No description
–force_integrated No description
–full-memory-crash-report Generates full memory crash dump.
–gaia-profile-info Enables using GAIA information to populate profile name and icon.
–google-search-domain-check-url Specifies an alternate URL to use for retrieving the search domain for Google. Useful for testing.
–gpu-device-id Passes gpu device_id from browser process to GPU process.
–gpu-driver-vendor Passes gpu driver_vendor from browser process to GPU process.
–gpu-driver-version Passes gpu driver_version from browser process to GPU process.
–gpu-launcher Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix.
–gpu-no-context-lost Inform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset.
–gpu-process Makes this process a GPU sub-process.
–gpu-program-cache-size-kb Sets the maximum size of the in-memory gpu program cache, in kb
–gpu-startup-dialog Causes the GPU process to display a dialog on launch.
–gpu-swap-delay Add a delay in milliseconds to the gpu swap buffer completion signal. Simulates a slow GPU.
–gpu-switching Overwrite the default GPU automatic switching behavior to force on integrated GPU or discrete GPU.
–gpu-vendor-id Passes gpu vendor_id from browser process to GPU process.
–gssapi-library-name Specifies a custom name for the GSSAPI library to load.
–h No description
–has-chromeos-diamond-key[4] If true, the Chromebook has a keyboard with a diamond key.
–has-chromeos-keyboard[4] If true, the Chromebook has a Chrome OS keyboard. Don’t use the flag for Chromeboxes.
–help These flags show the man page on Linux. They are equivalent to each other.
–hide-icons Makes Windows happy by allowing it to show “Enable access to this program” checkbox in Add/Remove Programs->Set Program Access and Defaults. This only shows an error box because the only way to hide Chrome is by uninstalling it.
–highlight-missing-scaled-resources If a resource is requested at a scale factor at which it is not available or the resource is the incorrect size (based on the size of the 1x resource), generates the missing resource and applies a red mask to the generated resource. Resources for which hidpi is not supported because of software reasons will show up pixelated.
–homepage Specifies which page will be displayed in newly-opened tabs. We need this for testing purposes so that the UI tests don’t depend on what comes up for http://google.com.
–host-resolver-parallelism The maximum number of concurrent host resolve requests (i.e. DNS) to allow (not counting backup attempts which would also consume threads). –host-resolver-retry-attempts must be set to zero for this to be exact.
–host-resolver-retry-attempts The maximum number of retry attempts to resolve the host. Set this to zero to disable host resolver retry attempts.
–host-resolver-rules These mappings only apply to the host resolver.
–host-rules Comma-separated list of rules that control how hostnames are mapped. For example: “MAP * 127.0.0.1” –> Forces all hostnames to be mapped to 127.0.0.1 “MAP *.google.com proxy” –> Forces all google.com subdomains to be resolved to “proxy”. “MAP test.com [::1]:77 –> Forces “test.com” to resolve to IPv6 loopback. Will also force the port of the resulting socket address to be 77. “MAP * baz, EXCLUDE http://www.google.com&#8221; –> Remaps everything to “baz”, except for “www.google.com”. These mappings apply to the endpoint host in a net::URLRequest (the TCP connect and host resolver in a direct connection, and the CONNECT in an http proxy connection, and the endpoint host in a SOCKS proxy connection).
–hsts-hosts Takes the JSON-formatted HSTS specification and loads it as if it were a preloaded HSTS entry. Takes precedence over both website-specified rules and built-in rules. The JSON format is the same as that persisted in <profile_dir>/Default/TransportSecurity
–ignore-certificate-errors Ignores certificate-related errors.
–ignore-gpu-blacklist Ignores GPU blacklist.
–ignore-urlfetcher-cert-requests Causes net::URLFetchers to ignore requests for SSL client certificates, causing them to attempt an unauthenticated SSL/TLS session. This is intended for use when testing various service URLs (eg: kPromoServerURL, kInstantURL, kSbURLPrefix, kSyncServiceURL, kWalletServiceUrl, etc)
–import Performs importing from another browser. The value associated with this setting encodes the target browser and what items to import.
–import-from-file Performs bookmark importing from an HTML file. The value associated with this setting encodes the file path. It may be used jointly with kImport.
–in-process-gpu Run the GPU process as a thread in the browser process.
–in-process-plugins Runs plugins inside the renderer process
–in-process-webgl Runs WebGL inside the renderer process.
–incognito Causes the browser to launch directly in incognito mode.
–install-from-webstore Causes Chrome to attempt to get metadata from the webstore for the app/extension ID given, and then prompt the user to download and install it.
–instant-process Marks a renderer as an Instant process.
–instant-url URL to use for instant. If specified this overrides the url from the TemplateURL.
–js-flags Specifies the flags passed to JS engine
–keep-alive-for-test Used for testing – keeps browser alive after last browser window closes.
–keychain-reauthorize[7] Performs Keychain reauthorization from the command line on behalf of a special Keychain reauthorization stub executable. Used during auto-update.
–kiosk Enable Kiosk mode.
–kiosk-mode-screensaver-path[4] Path for the screensaver used in Kiosk mode
–kiosk-printing Print automatically in kiosk mode. |kKioskMode| must be set as well. See http://crbug.com/31395.
–lang The language file that we want to try to open. Of the form language[-country] where language is the 2 letter code from ISO-639.
–learning Speculative resource prefetching will only learn about resources that need to be prefetched but will not prefetch them.
–load-component-extension Comma-separated list of directories with component extensions to load.
–load-extension Loads an extension from the specified directory.
–load-opencryptoki Loads the opencryptoki library into NSS at startup. This is only needed temporarily for developers who need to work on WiFi/VPN certificate code. TODO(gspencer): Remove this switch once cryptohomed work is finished: http://crosbug.com/12295 and http://crosbug.com/12304
–load-plugin Load an NPAPI plugin from the specified path.
–locale_pak Load the locale resources from the given path. When running on Mac/Unix the path should point to a locale.pak file.
–log-level Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
–log-net-log Enables displaying net log events on the command line, or writing the events to a separate file if a file name is given.
–log-plugin-messages Make plugin processes log their sent and received messages to VLOG(1).
–login-manager[4] Enables Chrome-as-a-login-manager behavior.
–login-password[4] Specifies a password to be used to login (along with login-user).
–login-profile[4] Specifies the profile to use once a chromeos user is logged in.
–login-screen[4] Allows to override the first login screen. The value should be the name of the first login screen to show (see chrome/browser/chromeos/login/login_wizard_view.cc for actual names). Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the switch is no longer needed for testing.
–login-screen-size[4] Controls the initial login screen size. Pass width,height.
–login-user[4] Specifies the user which is already logged in.
–make-default-browser Makes Chrome default browser
–managed Starts the browser in managed mode.
–max-spdy-concurrent-streams Sets the maximum concurrent streams over a SPDY session.
–max-spdy-sessions-per-domain Sets the maximum SPDY sessions per domain.
–max-untiled-layer-height No description
–max-untiled-layer-width Sets the width and height above which a composited layer will get tiled.
–media-cache-size Forces the maximum disk space to be used by the media cache, in bytes.
–media-player-in-render-process[8] Whether to run media elements in the renderer process.
–memory-metrics Sample memory usage with high frequency and store the results to the Renderer.Memory histogram. Used in memory tests.
–memory-profile Enables dynamic loading of the Memory Profiler DLL, which will trace all memory allocations during the run.
–message-loop-histogrammer Enables histograming of tasks served by MessageLoop. See about:histograms/Loop for results, which show frequency of messages on each thread, including APC count, object signalling count, etc.
–metrics-recording-only Enables the recording of metrics reports but disables reporting. In contrast to kDisableMetrics, this executes all the code that a normal client would use for reporting, except the report is dropped rather than sent to the server. This is useful for finding issues in the metrics code during UI and performance tests.
–mock No description
–multi-profiles Enables multiprofile Chrome.
–nacl-broker Causes the process to run as a NativeClient broker (used for launching NaCl loader processes on 64-bit Windows).
–nacl-debug-mask Uses NaCl manifest URL to choose whether NaCl program will be debugged by debug stub. Switch value format: [!]pattern1,pattern2,…,patternN. Each pattern uses the same syntax as patterns in Chrome extension manifest. The only difference is that * scheme matches all schemes instead of matching only http and https. If the value doesn’t start with !, a program will be debugged if manifest URL matches any pattern. If the value starts with !, a program will be debugged if manifest URL does not match any pattern.
–nacl-gdb Native Client GDB debugger for loader. It needs switches calculated at run time in order to work correctly. That’s why NaClLoadCmdPrefix flag can’t be used.
–nacl-gdb-script GDB script to pass to the nacl-gdb debugger at startup.
–nacl-loader Causes the process to run as a NativeClient loader.
–nacl-loader-cmd-prefix On POSIX only: the contents of this flag are prepended to the nacl-loader command line. Useful values might be “valgrind” or “xterm -e gdb –args”.
–net-log-level Sets the base logging level for the net log. Log 0 logs the most data. Intended primarily for use with –log-net-log.
–network-country-iso[8] The telephony region (ISO country code) to use in phone number detection.
–new-content-settings Toggles a new version of the content settings dialog in options.
–new-window Launches URL in new browser window.
–no-default-browser-check Disables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed.
–no-discard-tabs[4] Disables tab discard in low memory conditions, a feature which silently closes inactive tabs to free memory and to attempt to avoid the kernel’s out-of-memory process killer.
–no-displaying-insecure-content By default, an https page can load images, fonts or frames from an http page. This switch overrides this to block this lesser mixed-content problem.
–no-events Don’t record/playback events when using record & playback.
–no-experiments Disables all experiments set on about:flags. Does not disable about:flags itself. Useful if an experiment makes chrome crash at startup: One can start chrome with –no-experiments, disable the problematic lab at about:flags and then restart chrome without this switch again.
–no-first-run Skip First Run tasks, whether or not it’s actually the First Run. Overridden by kForceFirstRun. Also drops the First Run beacon so that First Run will not occur in subsequent runs as well.
–no-js-randomness Support a separate switch that enables the v8 playback extension. The extension causes javascript calls to Date.now() and Math.random() to return consistent values, such that subsequent loads of the same page will result in consistent js-generated data and XHR requests. Pages may still be able to generate inconsistent data from plugins.
–no-managed Starts the browser outside of managed mode.
–no-message-box Disable ui::MessageBox. This is useful when running as part of scripts that do not have a user interface.
–no-network-profile-warning Whether or not the browser should warn if the profile is on a network share. This flag is only relevant for Windows currently.
–no-pings Don’t send hyperlink auditing pings
–no-proxy-server Don’t use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed.
–no-referrers Don’t send HTTP-Referer headers.
–no-sandbox Disables the sandbox for all process types that are normally sandboxed.
–no-service-autorun Disables the service process from adding itself as an autorun process. This does not delete existing autorun registrations, it just prevents the service from registering a new one.
–no-startup-window Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps).
–noerrdialogs Suppresses all error dialogs when present.
–num-pac-threads Specifies the maximum number of threads to use for running the Proxy Autoconfig (PAC) script.
–num-raster-threads Number of worker threads used to rasterize content.
–old-checkbox-style Disables the new appearance for checkboxes and radio buttons.
–omnibox-history-quick-provider-new-scoring Controls whether to use the fancy new scoring (takes into account word breaks, does better balancing of topicality, recency, etc.) for HistoryQuickProvider.
–omnibox-history-quick-provider-reorder-for-inlining Controls whether HistoryQuickProvider is allowed to reorder results according to inlineability in order to more aggressively assign/keep high relevance scores.
–omnibox-inline-history-quick-provider-allowed Controls whether the omnibox’s HistoryQuickProvider is allowed to inline suggestions.
–only-block-setting-third-party-cookies When the option to block third-party cookies is enabled, only block third-party cookies from being set.
–oobe-skip-postlogin[11] Skips all other OOBE pages after user login.
–open-ash[3] No description
–organic Simulates an organic Chrome install.
–origin-port-to-force-quic-on Force use of QUIC for requests over the specified port.
–osmesa No description
–overlapped-reads[12] Allows for disabling the overlapped I/O for TCP reads. Possible values are “on” or “off”. The default is “on” which matches the existing behavior. “off” switches to use non-blocking reads and WSAEventSelect.
–pack-extension Packages an extension to a .crx installable file from a given directory.
–pack-extension-key Optional PEM private key to use in signing packaged .crx.
–parent-profile Specifies the path to the user data folder for the parent profile.
–password-store[14] Specifies which password store to use (detect, default, gnome, kwallet).
–perform-crash-analysis Enable the post crash analyzer which uploads detailed crash information in situations where a crash is determined to be particularly interesting.
–performance-monitor-gathering Launches PerformanceMonitor at startup, which will gather statistics about Chrome’s CPU and memory usage, page load times, startup times, and network usage, and will also store information about events which may be of interest, such as extension-related occurrences and crashes. Optionally, this may be run with an integer value representing the interval between the timed metric gatherings, measured in seconds (if invalid or not provided, the default interval is used).
–playback-mode Read previously recorded data from the cache. Only cached data is read. See kRecordMode.
–plugin Causes the process to run as a plugin subprocess.
–plugin-launcher Specifies a command that should be used to launch the plugin process. Useful for running the plugin process through purify or quantify. Ex: –plugin-launcher=”path\to\purify /Run=yes”
–plugin-path Tells the plugin process the path of the plugin to load
–plugin-startup-dialog Causes the plugin process to display a dialog on launch.
–plugins-metadata-server-url[15] Specifies a custom URL for fetching plug-ins metadata. Used for testing.
–pnacl-dir Overrides the path to the location that PNaCl is installed.
–ppapi Argument to the process type that indicates a PPAPI plugin process type.
–ppapi-broker Argument to the process type that indicates a PPAPI broker process type.
–ppapi-flash-args “Command-line” arguments for the PPAPI Flash; used for debugging options.
–ppapi-flash-in-process Forces the PPAPI version of Flash (if it’s being used) to run in the renderer process rather than in a separate plugin process.
–ppapi-flash-path Use the PPAPI (Pepper) Flash found at the given path.
–ppapi-flash-version Report the given version for the PPAPI (Pepper) Flash. The version should be numbers separated by ‘.’s (e.g., “12.3.456.78”). If not specified, it defaults to “10.2.999.999”.
–ppapi-out-of-process Runs PPAPI (Pepper) plugins out-of-process.
–ppapi-plugin-launcher Like kPluginLauncher for PPAPI plugins.
–ppapi-startup-dialog Causes the PPAPI sub process to display a dialog on launch. Be sure to use –no-sandbox as well or the sandbox won’t allow the dialog to display.
–prefetch_only prefetch_only: No prerendering, but enables prefetching.
–prerender Controls speculative prerendering of pages, and content prefetching. Both are dispatched from <link rel=prefetch href=…> elements.
–prerender-from-omnibox Triggers prerendering of pages from suggestions in the omnibox. Only has an effect when Instant is either disabled or restricted to search, and when prerender is enabled.
–process-per-site Runs a single process for each site (i.e., group of pages from the same registered domain) the user visits. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other).
–process-per-tab Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own renderer process. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other).
–product-version Outputs the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux.
–profile-directory Selects directory of profile to associate with the first browser launched.
–profiling-at-start Starts the sampling based profiler for the browser process at startup. This will only work if chrome has been built with the gyp variable profiling=1. The output will go to the value of kProfilingFile.
–profiling-file Specifies a location for profiling output. This will only work if chrome has been built with the gyp variable profiling=1. {pid} if present will be replaced by the pid of the process. {count} if present will be incremented each time a profile is generated for this process. The default is chrome-profile-{pid}.
–profiling-flush Controls whether profile data is periodically flushed to a file. Normally the data gets written on exit but cases exist where chrome doesn’t exit cleanly (especially when using single-process). A time in seconds can be specified.
–profiling-output-file Specifies a path for the output of task-level profiling which can be loaded and viewed in about:profiler.
–promo-server-url Specifies a custom URL for fetching NTP promo data.
–prompt-for-external-extensions Should we prompt the user before allowing external extensions to install? Default is yes.
–proxy-auto-detect Forces proxy auto-detection.
–proxy-bypass-list Specifies a list of hosts for whom we bypass proxy settings and use direct connections. Ignored if –proxy-auto-detect or –no-proxy-server are also specified. This is a comma-separated list of bypass rules. See: “net/proxy/proxy_bypass_rules.h” for the format of these rules.
–proxy-pac-url Uses the pac script at the given URL
–proxy-server Uses a specified proxy server, overrides system settings. This switch only affects HTTP and HTTPS requests.
–purge-memory-button Adds a “Purge memory” button to the Task Manager, which tries to dump as much memory as possible. This is mostly useful for testing how well the MemoryPurger functionality works. NOTE: This is only implemented for Views.
–record-mode Chrome supports a playback and record mode. Record mode saves *everything* to the cache. Playback mode reads data exclusively from the cache. This allows us to record a session into the cache and then replay it at will. See also kPlaybackMode.
–record-stats Capture resource consumption information through page cycling and output the data to the specified file.
–reduce-gpu-sandbox Reduces the GPU process sandbox to be less strict.
–register-pepper-plugins Register Pepper plugins (see pepper_plugin_registry.cc for its format).
–relaunch-shortcut[12] Relaunches metro Chrome on Windows 8 and higher using a given shortcut.
–relauncher[7] A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h.
–remote-debugging-frontend Uses custom front-end URL for the remote debugging.
–remote-debugging-port Enables remote debug over HTTP on the specified port.
–renderer Causes the process to run as renderer instead of as browser.
–renderer-assert-test Causes the renderer process to throw an assertion on launch.
–renderer-cmd-prefix On POSIX only: the contents of this flag are prepended to the renderer command line. Useful values might be “valgrind” or “xterm -e gdb –args”.
–renderer-print-preview Enables print preview in the renderer. This flag is generated internally by Chrome and does nothing when directly passed to the browser.
–renderer-process-limit Overrides the default/calculated limit to the number of renderer processes. Very high values for this setting can lead to high memory/resource usage or instability.
–renderer-startup-dialog Causes the renderer process to display a dialog on launch.
–reset-variation-state Forces a reset of the one-time-randomized FieldTrials on this client, also known as the Chrome Variations state.
–restore-last-session Indicates the last session should be restored on startup. This overrides the preferences value and is primarily intended for testing. The value of this switch is the number of tabs to wait until loaded before ‘load completed’ is sent to the ui_test.
–safebrowsing-disable-auto-update If present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only.
–safebrowsing-disable-download-protection TODO(lzheng): Remove this flag once the feature works fine (http://crbug.com/74848). Disables safebrowsing feature that checks download url and downloads content’s hash to make sure the content are not malicious.
–safebrowsing-disable-extension-blacklist Disables safebrowsing feature that checks for blacklisted extensions.
–safebrowsing-url-prefix URL prefix used by safebrowsing to fetch hash, download data and report malware.
–save-page-as-mhtml Disable saving pages as HTML-only, disable saving pages as HTML Complete (with a directory of sub-resources). Enable only saving pages as MHTML. See http://crbug.com/120416 for how to remove this switch.
–script-badges Enables or disables extension scripts badges in the location bar.
–script-bubble Enable or diable the “script bubble” icon in the URL bar that tells you how many extensions are running scripts on a page.
–search-in-omnibox-hint Enables the showing of an info-bar instructing user they can search directly from the omnibox.
–service Causes the process to run as a service process.
–set-token Sets a token in the token service, for testing.
–show-app-list If true the app list will be shown.
–show-app-list-shortcut If true an app list shortcut will be shown in the taskbar.
–show-autofill-type-predictions Annotates forms with Autofill field type predictions.
–show-component-extension-options Makes component extensions appear in chrome://settings/extensions.
–show-composited-layer-borders Renders a border around composited Render Layers to help debug and study layer compositing.
–show-composited-layer-tree Draws a textual dump of the compositor layer tree to help debug and study layer compositing.
–show-fps-counter Draws a FPS indicator
–show-icons See kHideIcons.
–show-launcher-alignment-menu If true the alignment of the launcher can be changed.
–show-nonoccluding-rects Show rects in the HUD wherever something is not known to be drawn opaque and is not considered to be occluding the pixels behind it.
–show-occluding-rects Show rects in the HUD wherever something is known to be drawn opaque and is considered occluding the pixels behind it.
–show-paint-rects Visibly render a border around paint rects in the web page to help debug and study painting behavior.
–show-property-changed-rects Show rects in the HUD around layers whose properties have changed.
–show-replica-screenspace-rects Show rects in the HUD around the screen-space transformed bounds of every layer’s replica, when they have one.
–show-screenspace-rects Show rects in the HUD around the screen-space transformed bounds of every layer.
–show-surface-damage-rects Show rects in the HUD around damage as it is recorded into each render surface.
–sideload-wipeout Enables or disables sideload wipeout extension effort.
–silent-dump-on-dcheck Changes the DCHECKS to dump memory and continue instead of displaying error dialog. This is valid only in Release mode when –enable-dcheck is specified.
–silent-launch Causes Chrome to launch without opening any windows by default. Useful if one wishes to use Chrome as an ash server.
–simulate-touch-screen-with-mouse Map mouse input events into touch gesture events. Useful for debugging touch gestures without needing a touchscreen.
–simulate-upgrade Simulates an update being available.
–single-process Runs the renderer and plugins in the same process as the browser
–site-per-process Experimentally enforces a one-site-per-process security policy. All cross-site navigations force process swaps, and we can restrict a renderer process’s access rights based on its site. For details, see: http://www.chromium.org/developers/design-documents/site-isolation Unlike –enable-strict-site-isolation (which allows cross-site iframes), this flag blocks cross-site documents even in iframes, until out-of-process iframe support is available. Cross-site network requests do attach the normal set of cookies, but a renderer process is only allowed to view or modify cookies for its own site (via JavaScript). TODO(irobert): Implement the cross-site document blocking in http://crbug.com/159215.
–skip-gpu-data-loading Skip gpu info collection, blacklist loading, and blacklist auto-update scheduling at browser startup time. Therefore, all GPU features are available, and about:gpu page shows empty content. The switch is intended only for tests.
–slow-down-raster-scale-factor Re-rasters everything multiple times to simulate a much slower machine. Give a scale factor to cause raster to take that many times longer to complete, such as –slow-down-raster-scale-factor=25.
–sms-test-messages Sends test messages on first call to RequestUpdate (stub only).
–socket-reuse-policy Socket reuse policy. The value should be of type enum ClientSocketReusePolicy.
–spdy-proxy-origin Origin for which SpdyProxy authentication is supported.
–speculative-resource-prefetching Speculative resource prefetching.
–speech-service-key Specifies the request key for the continuous speech recognition webservice.
–ssl-version-max Specifies the maximum SSL/TLS version (“ssl3”, “tls1”, “tls1.1”, or “tls1.2”).
–ssl-version-min Specifies the minimum SSL/TLS version (“ssl3”, “tls1”, “tls1.1”, or “tls1.2”).
–start-maximized Starts the browser maximized, regardless of any previous settings.
–stub-cros-settings[4] Indicates that a stub implementation of CrosSettings that stores settings in memory without signing should be used, treating current user as the owner. This option is for testing the chromeos build of chrome on the desktop only.
–suggestion-ntp-filter-width Controls the width of time-of-day filters on the ‘suggested’ ntp page, in minutes.
–suggestion-ntp-gaussian-filter Enables a normal distribution dropoff to the relevancy of visits with respect to the time of day.
–suggestion-ntp-linear-filter Enables a linear dropoff to the relevancy of visits with respect to the time of day.
–supports-dual-gpus Indicates whether the dual GPU switching is supported or not.
–swiftshader No description
–swiftshader-path No description
–sync-allow-insecure-xmpp-connection Allows insecure XMPP connections for sync (for testing).
–sync-invalidate-xmpp-login Invalidates any login info passed into sync’s XMPP connection.
–sync-keystore-encryption Enable support for keystore key based encryption.
–sync-notification-host-port Overrides the default host:port used for sync notifications.
–sync-notification-method Overrides the default notification method for sync.
–sync-short-initial-retry-override This flag causes sync to retry very quickly (see polling_constants.h) the when it encounters an error, as the first step towards exponential backoff.
–sync-tab-favicons Enables syncing of favicons as part of tab sync.
–sync-throw-unrecoverable-error Makes the sync code to throw an unrecoverable error after initialization. Useful for testing unrecoverable error scenarios.
–sync-try-ssltcp-first-for-xmpp Tries to connect to XMPP using SSLTCP first (for testing).
–sync-url Overrides the default server used for profile sync.
–tablet-ui[8] Uses the tablet specific UI components when available.
–tap-down-deferral-time GestureTapDown events are deferred by this many miillseconds before sending them to the renderer.
–test-child-process When running certain tests that spawn child processes, this switch indicates to the test framework that the current process is a child process.
–test-gl-lib Flag used for Linux tests: for desktop GL bindings, try to load this GL library first, but fall back to regular library if loading fails.
–test-nacl-sandbox Runs the security test for the NaCl loader sandbox.
–test-name Passes the name of the current running automated test to Chrome.
–test-sandbox Runs the security test for the renderer sandbox.
–test-type Type of the current test harness (“browser” or “ui”).
–testing-channel Tells the app to listen for and broadcast testing-related messages on IPC channel with the given ID.
–testing-fixed-http-port Allows for forcing socket connections to http/https to use fixed ports.
–testing-fixed-https-port No description
–top-controls-height The height of the movable top controls.
–touch-calibration[16] The calibration factors given as “<left>,<right>,<top>,<bottom>”.
–touch-devices[17] Tells chrome to interpret events from these devices as touch events. Only available with XInput 2 (i.e. X server 1.8 or above). The id’s of the devices can be retrieved from ‘xinput list’.
–touch-events Enable support for touch events.
–touch-optimized-ui Enables UI changes that make it easier to use with a touchscreen. WARNING: Do not check this flag directly when deciding what UI to draw, instead you must call ui::GetDisplayLayout
–trace-all-rendered-frames Logs all rendered frames.
–trace-gl No description
–trace-overdraw Show metrics about overdraw in about:tracing recordings, such as the number of pixels culled, and the number of pixels drawn, for each frame.
–trace-startup Causes TRACE_EVENT flags to be recorded from startup. Optionally, can specify the specific trace categories to include (e.g. –trace-startup=base,net) otherwise, all events are recorded. Setting this flag results in the first call to BeginTracing() to receive all trace events since startup. In Chrome, you may find –trace-startup-file and –trace-startup-duration to control the auto-saving of the trace (not supported in the base-only TraceLog component).
–trace-startup-duration Sets the time in seconds until startup tracing ends. If omitted a default of 5 seconds is used. Has no effect without –trace-startup, or if –startup-trace-file=none was supplied.
–trace-startup-file If supplied, sets the file which startup tracing will be stored into, if omitted the default will be used “chrometrace.log” in the current directory. Has no effect unless –trace-startup is also supplied. Example: –trace-startup –trace-startup-file=/tmp/trace_event.log As a special case, can be set to ‘none’ – this disables automatically saving the result to a file and the first manually recorded trace will then receive all events since startup.
–trusted-spdy-proxy Disables same-origin check on HTTP resources pushed via a SPDY proxy. The value is the host:port of the trusted proxy.
–try-chrome-again Experimental. Shows a dialog asking the user to try chrome. This flag is to be used only by the upgrade process.
–type The value of this switch determines whether the process is started as a renderer or plugin host. If it’s empty, it’s the browser.
–uninstall Runs un-installation steps that were done by chrome first-run.
–uninstall-extension Uninstalls an extension with the specified extension id.
–use-cheapness-estimator Schedule rasterization jobs according to their estimated processing cost.
–use-client-login-signin-flow Uses the ClientLogin signin flow instead of the web-based signin flow.
–use-cras[18] Use CRAS, the ChromeOS audio server.
–use-exynos-vda Use ExynosVideoDecodeAccelerator for video decode (instead of SECOMX)
–use-fake-device-for-media-stream Use fake device for MediaStream to replace actual camera and microphone.
–use-gl Select which implementation of GL the GPU process should use. Options are: desktop: whatever desktop OpenGL the user has installed (Linux and Mac default). egl: whatever EGL / GLES2 the user has installed (Windows default – actually ANGLE). osmesa: The OSMesa software renderer.
–use-gpu-in-tests Use hardware gpu, if available, for tests.
–use-mobile-user-agent Set when Chromium should use a mobile user agent.
–use-mock-keychain[7] Uses mock keychain for testing purposes, which prevents blocking dialogs from causing timeouts.
–use-pulseaudio[19] Use PulseAudio on platforms that support it.
–use-spdy Uses Spdy for the transport protocol instead of HTTP. This is a temporary testing flag.
–use-spdy-over-quic Uses Spdy for encoding QUIC requests instead of HTTP. This is a temporary testing flag.
–use-spelling-suggestions Disables use of the spelling web service and only provides suggestions. This will only work if asynchronous spell checking is not disabled.
–user-agent A string used to override the default user agent with a custom one.
–user-data-dir Specifies the user data directory, which is where the browser will look for all of its state.
–utility Causes the process to run as a utility subprocess.
–utility-allowed-dir The utility process is sandboxed, with access to one directory. This flag specifies the directory that can be accessed.
–utility-cmd-prefix On POSIX only: the contents of this flag are prepended to the utility process command line. Useful values might be “valgrind” or “xterm -e gdb –args”.
–v Gives the default maximal active V-logging level; 0 is the default. Normally positive values are used for V-logging levels.
–variations-server-url Specifies a custom URL for the server which reports variation data to the client. Specifying this switch enables the Variations service on unofficial builds. See variations_service.cc.
–version Prints version information and quits.
–video-threads Set number of threads to use for video decoding.
–viewer-connection Requests that Chrome connect to a remote viewer process using an IPC channel of the given name.
–visit-urls Cycle through a series of URLs listed in the specified file.
–vmodule Gives the per-module maximal V-logging levels to override the value given by –v. E.g. “my_module=2,foo*=3” would change the logging level for all code in source files “my_module.*” and “foo*.*” (“-inl” suffixes are also disregarded for this matching). Any pattern containing a forward or backward slash will be tested against the whole pathname and not just the module. E.g., “*/foo/bar/*=2” would change the logging level for all code in source files under a “foo/bar” directory.
–wait-for-debugger Will wait for 60 seconds for a debugger to come to attach to the process.
–wait-for-debugger-children Will add kWaitForDebugger to every child processes. If a value is passed, it will be used as a filter to determine if the child process should have the kWaitForDebugger flag passed on or not.
–wait-for-mutex[12] Waits for the given handle to be signaled before relaunching metro Chrome on Windows 8 and higher.
–wallet-secure-service-url Secure service URL for Online Wallet service. Used as the base url to escrow credit card numbers.
–wallet-service-url Service URL for Online Wallet service. Used as the base url for Online Wallet API calls.
–waveout-buffers[12] No description
–web-intents-native-services-enabled Enable the “native services” feature of web-intents.
–webcore-log-channels Choose which logging channels in WebCore to activate. See Logging.cpp in WebKit’s WebCore for a list of available channels.
–whitelisted-extension-id Adds the given extension ID to all the permission whitelists.
–window-position Specify the initial window position: –window-position=x,y
–window-size Specify the initial window size: –window-size=w,h
–winhttp-proxy-resolver Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium’s network stack to fetch, and V8 to evaluate.
–worker Causes the process to run as a worker subprocess.
–zygote Causes the process to run as a renderer zygote.

How to use a command line switch?

The Chromium Team has made a page on which they briefly explain how to use these switches.

Conditions

These are rather technical. While most are pretty self-explanatory, keep in mind that any condition means that a switch isn’t always available.

  1. The constants OS_FREEBSD, OS_LINUX and OS_SOLARIS must be defined.
  2. The constant OS_LINUX must be defined.
  3. The constant USE_ASH must be defined.
  4. The constant OS_CHROMEOS must be defined.
  5. The constant OS_POSIX must be defined.
  6. The constant OS_IOS must not be defined, and the constant OS_MACOSX must be defined.
  7. The constant OS_MACOSX must be defined.
  8. The constant OS_ANDROID must be defined.
  9. The constant GOOGLE_CHROME_BUILD must be defined.
  10. The constant OS_ANDROID must not be defined.
  11. The constant NDEBUG must not be defined.
  12. The constant OS_WIN must be defined.
  13. The constant GOOGLE_CHROME_BUILD must not be defined.
  14. The constants OS_CHROMEOS and OS_MACOSX must not be defined.
  15. The constant ENABLE_PLUGIN_INSTALLATION must be defined.
  16. The constant USE_XI2_MT must be defined.
  17. The constants OS_LINUX and TOOLKIT_VIEWS must be defined.
  18. The constant USE_CRAS must be defined.
  19. The constant USE_PULSEAUDIO must be defined.
Advertisements

One thought on “Chromium Command Line Switches

  1. Thank God for –force-device-scale-factor !!! With Chrome 36 my netbook suddenly had Chrome scaled to 2x normal size, which made it utterly unusable. In particular, when scaled up, the settings pane came up empty – not even a cropped version of the content – empty – so there wasn’t even a way to try to access the settings to correct the scaling. Not that there was any solution available, but of course that’s the first place a user would look when the app behaviour changes – not on a 3rd party blog! [ PS – Thankyou! ]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s