List of Chromium Command Line Switches (for 2011-06-09)
There are lots of command lines 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 2024-09-29.
Condition | Explanation |
---|---|
--activate-on-launch ⊗ | Activate (make foreground) myself on launch. Helpful when Chrome is launched on the command line (e.g. by Selenium). Only needed on Mac. ↪ Removed on 2011-06-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--allow-cross-origin-auth-prompt ⊗ | Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--allow-file-access ⊗ | On ChromeOS, file:// access is disabled except for certain whitelisted directories. This switch re-enables file:// for testing. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--allow-http-background-page ⊗ | Allows non-https URL for background_page for hosted apps. ↪ Removed on 2013-11-09. This switch was listed in /chrome/common/chrome_switches.cc. |
--allow-outdated-plugins ⊗ | Don't block outdated plugins. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--allow-sandbox-debugging ⊗ | Allows debugging of sandboxed processes (see zygote_main_linux.cc). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--allow-scripting-gallery ⊗ | Allows injecting extensions and user scripts on the extensions gallery site. Normally prevented for security reasons, but can be useful for automation testing of the gallery. ↪ Removed on 2013-07-19. This switch was listed in /chrome/common/chrome_switches.cc. |
--allow-websocket-proxy ⊗ | Specifies comma separated list of extension ids to grant access to local websocket proxy. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--alsa-input-device[1] ⊗ | The Alsa device to use when opening an audio input stream. ↪ Removed on 2014-11-14. This switch was listed in media/base/media_switches.cc. |
--alsa-output-device[1] ⊗ | The Alsa device to use when opening an audio stream. ↪ Removed on 2014-11-14. This switch was listed in media/base/media_switches.cc. |
--always-authorize-plugins ⊗ | Prevents Chrome from requiring authorization to run certain widely installed but less commonly used plug-ins. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--always-enable-dev-tools ⊗ | Enable web inspector for all windows, even if they're part of the browser. Allows us to use our dev tools to debug browser windows itself. ↪ Removed on 2011-08-02. This switch was listed in src/chrome/common/chrome_switches.cc. |
--app ⊗ | Specifies that the associated value should be launched in "application" mode. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--app-id ⊗ | Specifies that the extension-app with the specified id should be launched according to its configuration. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--apps-checkout-url ⊗ | Overrides the apps checkout URL, which is used to determine when to expose some private APIs. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--apps-gallery-return-tokens ⊗ | Allows the webstorePrivate APIs to return browser (aka sync) login tokens to be used for auto-login in the Web Store (normally they do not). ↪ Removed on 2013-01-18. This switch was listed in src/chrome/common/chrome_switches.cc. |
--apps-gallery-update-url ⊗ | The update url used by gallery/webstore extensions. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--apps-gallery-url ⊗ | The URL to use for the gallery link in the app launcher. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--apps-no-throb ⊗ | Disable throbber for extension apps. ↪ Removed on 2013-10-26. This switch was listed in /chrome/common/chrome_switches.cc. |
--assert-test ⊗ | Causes the browser process to throw an assertion on startup. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--auth-negotiate-delegate-whitelist ⊗ | Whitelist of servers that Negotiate will generate delegated Kerberos tickets for. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--auth-server-whitelist ⊗ | Whitelist of servers which NTLM and Negotiate can automatically authenticate with using the default credentials of the currently logged in user. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--auto ⊗ | The values the kTouchEvents switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present. ↪ Removed on 2014-11-14. This switch was listed in ui/events/event_switches.cc. |
--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. ↪ Removed on 2014-04-02. This switch was listed in chrome/common/chrome_switches.cc. |
--block-reading-third-party-cookies ⊗ | When the option to block third-party cookies from being set is enabled, also block third-party cookies from being read. ↪ Removed on 2011-11-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--browser-subprocess-path ⊗ | Path to the exe to run for the renderer and plugin subprocesses. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--bwsi ⊗ | Indicates that the browser is in "browse without sign-in" (Guest session) mode. Should completely disable extensions, sync and bookmarks. ↪ Removed on 2014-11-14. This switch was listed in chromeos/chromeos_switches.cc. |
--channel ⊗ | The value of this switch tells the child process which IPC channel the browser expects to use to communicate with it. ↪ Removed on 2014-11-14. This switch was listed in ipc/ipc_switches.cc. |
--check-for-update-interval ⊗ | How often (in seconds) to check for updates. Should only be used for testing purposes. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-01-10. This switch was listed in /chrome/common/chrome_switches.cc. |
--chrome-version ⊗ | Tells chrome to load the specified version of chrome.dll on Windows. If this version cannot be loaded, Chrome will exit. ↪ Removed on 2014-01-11. This switch was listed in /chrome/common/chrome_switches.cc. |
--chromeos-frame[2] ⊗ | Use the frame layout used in chromeos. ↪ Removed on 2011-10-06. This switch was listed in src/chrome/common/chrome_switches.cc. |
--clear-token-service ⊗ | Clears the token service before using it. This allows simulating the expiration of credentials during testing. ↪ Removed on 2014-11-14. This switch was listed in components/signin/core/common/signin_switches.cc. |
--cloud-print-delete-file ⊗ | Used with kCloudPrintFile. Tells Chrome to delete the file when finished displaying the print dialog. ↪ Removed on 2014-03-13. This switch was listed in chrome/common/chrome_switches.cc. |
--cloud-print-file ⊗ | Tells chrome to display the cloud print dialog and upload the specified file for printing. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--cloud-print-job-title ⊗ | Used with kCloudPrintFile to specify a title for the resulting print job. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--cloud-print-proxy-id ⊗ | The unique id to be used for this cloud print proxy instance. ↪ Removed on 2013-03-16. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. Used for testing. ↪ Removed on 2014-04-29. This switch was listed in chrome/common/chrome_switches.cc. |
--compress-sys-feedback[2] ⊗ | Triggers ChromeOS system log compression during feedback submit. ↪ Removed on 2012-10-18. This switch was listed in src/chrome/common/chrome_switches.cc. |
--conflicting-modules-check ⊗ | Causes the browser process to inspect loaded and registered DLLs for known conflicts and warn the user. ↪ Removed on 2014-05-28. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-03-11. This switch was listed in chrome/common/chrome_switches.cc. |
--crash-test ⊗ | Causes the browser process to crash on startup. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-04-29. This switch was listed in ipc/ipc_switches.cc. |
--debug-devtools-frontend ⊗ | Path to the inspector files on disk (allows reloading of devtool files without having to restart the browser). ↪ Removed on 2012-09-27. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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). ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-04-29. This switch was listed in base/base_switches.cc. |
--debug-plugin-loading ⊗ | Dumps extra logging about plugin loading to the log file. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--debug-print[3] ⊗ | Enables support to debug printing subsystem. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--debug-views-paint[4] ⊗ | Enables debug paint in views framework. Enabling this causes the damaged region being painted to flash in red. ↪ Removed on 2012-04-03. This switch was listed in src/chrome/common/chrome_switches.cc. |
--device-management-url ⊗ | Specifies the URL at which to fetch configuration policy from the device management backend. ↪ Removed on 2014-11-14. This switch was listed in components/policy/core/common/policy_switches.cc. |
--diagnostics ⊗ | Triggers a plethora of diagnostic modes. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-accelerated-2d-canvas ⊗ | Disable gpu-accelerated 2d canvas. ↪ Removed on 2011-06-10. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-accelerated-compositing ⊗ | Disables accelerated compositing. ↪ Removed on 2014-04-29. This switch was listed in content/public/common/content_switches.cc. |
--disable-accelerated-layers ⊗ | Disables the hardware acceleration of 3D CSS and animation. ↪ Removed on 2014-04-29. This switch was listed in content/public/common/content_switches.cc. |
--disable-accelerated-video ⊗ | Disables GPU accelerated video display. ↪ Removed on 2014-04-29. This switch was listed in content/public/common/content_switches.cc. |
--disable-application-cache ⊗ | Disable the ApplicationCache. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-audio ⊗ | TODO(scherkus): remove --disable-audio when we have a proper fallback mechanism. ↪ Removed on 2014-03-07. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-background-mode ⊗ | Disables background mode (background apps will not keep chrome running in the background). ↪ Removed on 2014-06-08. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-breakpad ⊗ | Disables the crash reporting. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-connect-backup-jobs ⊗ | Disables establishing a backup TCP connection if a specified timeout is exceeded. ↪ Removed on 2012-10-25. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-custom-jumplist ⊗ | Disables the custom JumpList on Windows 7. ↪ Removed on 2014-04-02. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-data-transfer-items ⊗ | Disables data transfer items. ↪ Removed on 2013-04-13. This switch was listed in src/content/public/common/content_switches.cc. |
--disable-databases ⊗ | Disables HTML5 DB support. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-desktop-notifications ⊗ | Disables desktop notifications (default enabled on windows). ↪ Removed on 2014-10-08. This switch was listed in content/public/common/content_switches.cc. |
--disable-device-orientation ⊗ | Disable device orientation events. ↪ Removed on 2014-02-18. This switch was listed in content/public/common/content_switches.cc. |
--disable-extensions ⊗ | Disable extensions. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-file-system ⊗ | Disable FileSystem API. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-flash-sandbox ⊗ | Disables the sandbox for the built-in flash player. ↪ Removed on 2012-10-17. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-geolocation ⊗ | Suppresses support for the Geolocation javascript API. ↪ Removed on 2014-02-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-gl-multisampling ⊗ | Disable GL multisampling. ↪ Removed on 2014-06-15. This switch was listed in content/public/common/content_switches.cc. |
--disable-glsl-translator ⊗ | Disable the GLSL translator. ↪ Removed on 2012-03-25. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-gpu-sandbox ⊗ | Disable the GPU process sandbox. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-gpu-vsync ⊗ | Stop the GPU from synchronizing on the vsync before presenting. ↪ Removed on 2014-11-14. This switch was listed in ui/gl/gl_switches.cc. |
--disable-gpu-watchdog ⊗ | Disable the thread that crashes the GPU process if it stops responding to messages. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-history-quick-provider ⊗ | Disable the use of the HistoryQuickProvider for autocomplete results. ↪ Removed on 2011-09-10. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-history-url-provider ⊗ | Disable the use of the HistoryURLProvider for autocomplete results. ↪ Removed on 2012-06-26. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-indexed-database ⊗ | Disable the Indexed Database API. ↪ Removed on 2011-12-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-interactive-form-validation ⊗ | Disables HTML5 Forms interactive validation. ↪ Removed on 2012-06-26. This switch was listed in src/content/public/common/content_switches.cc. |
--disable-internal-flash ⊗ | Disable the internal Flash Player. ↪ Removed on 2012-12-29. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-03-01. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-ipv6 ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in cloud_print/gcp20/prototype/gcp20_switches.cc. |
--disable-java ⊗ | Prevent Java from running. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-javascript ⊗ | Don't execute JavaScript (browser JS like the new tab page still runs). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-javascript-i18n-api ⊗ | Disable JavaScript I18N API. ↪ Removed on 2013-07-11. This switch was listed in /content/public/common/content_switches.cc. |
--disable-local-storage ⊗ | Disable LocalStorage. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-logging ⊗ | Force logging to be disabled. Logging is enabled by default in debug builds. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-new-tab-first-run ⊗ | Whether we should prevent the new tab page from showing the first run notification. ↪ Removed on 2011-08-05. This switch was listed in src/chrome/common/chrome_switches.cc. |
--disable-plugins ⊗ | Prevent plugins from running. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-popup-blocking ⊗ | Disable pop-up blocking. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-preconnect ⊗ | Disable speculative TCP/IP preconnection. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-print-preview ⊗ | Disables print preview (For testing, and for users who don't like us. :[ ) ↪ Removed on 2014-08-31. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-remote-fonts ⊗ | Disables remote web font support. SVG font should always work whether this option is specified or not. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-renderer-accessibility ⊗ | Turns off the accessibility in the renderer. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-restore-background-contents ⊗ | Prevents the URLs of BackgroundContents from being remembered and re-launched when the browser restarts. ↪ Removed on 2014-06-08. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-seccomp-sandbox ⊗ | Disable the seccomp sandbox (Linux only) ↪ Removed on 2013-04-30. This switch was listed in src/content/public/common/content_switches.cc. |
--disable-session-storage ⊗ | Disable session storage. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-shared-workers ⊗ | Disable shared workers. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-site-specific-quirks ⊗ | Disables site-specific tailoring to compatibility issues in WebKit. ↪ Removed on 2014-08-31. This switch was listed in content/public/common/content_switches.cc. |
--disable-speech-input ⊗ | Disables speech input. ↪ Removed on 2014-05-07. This switch was listed in content/public/common/content_switches.cc. |
--disable-ssl-false-start ⊗ | Disable False Start in SSL and TLS connections. ↪ Removed on 2014-06-26. This switch was listed in content/public/common/content_switches.cc. |
--disable-sync ⊗ | Disables syncing browser data to a Google Account. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-apps ⊗ | Disables syncing of apps. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-autofill ⊗ | Disables syncing of autofill. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-autofill-profile ⊗ | Disables syncing of autofill Profile. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-bookmarks ⊗ | Disables syncing of bookmarks. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-extensions ⊗ | Disables syncing of extensions. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-passwords ⊗ | Disables syncing browser passwords. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-preferences ⊗ | Disables syncing of preferences. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-sync-themes ⊗ | Disables syncing of themes. ↪ Removed on 2014-03-19. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-tab-closeable-state-watcher ⊗ | TabCloseableStateWatcher disallows closing of tabs and browsers under certain situations on ChromeOS. Some tests expect tabs or browsers to close, so we need a switch to disable the watcher. ↪ Removed on 2012-05-03. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in components/translate/core/common/translate_switches.cc. |
--disable-web-resources ⊗ | Disables the backend service for web resources. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disable-web-security ⊗ | Don't enforce the same-origin policy. (Used by people testing their sites.) ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-web-sockets ⊗ | Disable Web Sockets support. ↪ Removed on 2013-04-10. This switch was listed in src/content/public/common/content_switches.cc. |
--disable-webgl ⊗ | Disable experimental WebGL support. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disable-winsta ⊗ | Disables the alternate window station for the renderer. ↪ Removed on 2014-05-31. This switch was listed in content/public/common/content_switches.cc. |
--disable-xss-auditor ⊗ | Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--disabled ⊗ | disabled: touch events are disabled. ↪ Removed on 2014-11-14. This switch was listed in ui/events/event_switches.cc. |
--disk-cache-dir ⊗ | Use a specific disk cache location, rather than one derived from the UserDatadir. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--disk-cache-size ⊗ | Forces the maximum disk space to be used by the disk cache, in bytes. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--dns-log-details ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--dns-prefetch-disable ⊗ | Disables prefetching of DNS information. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--dns-server ⊗ | Use the specified DNS server for raw DNS resolution. ↪ Removed on 2012-02-22. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2013-05-02. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-accelerated-drawing ⊗ | Enable hardware accelerated page drawing. Please note that this flag is honored only if chromium is compiled with SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 in build/features_override.gypi. ↪ Removed on 2011-12-16. This switch was listed in src/content/common/content_switches.cc. |
--enable-accelerated-plugins ⊗ | Enables the hardware acceleration of plugins. ↪ Removed on 2011-08-30. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-accessibility ⊗ | Enables WebKit accessibility within the renderer process. ↪ Removed on 2012-04-14. This switch was listed in src/content/public/common/content_switches.cc. |
--enable-adaptive ⊗ | Enable x-adaptive URL scheme. ↪ Removed on 2011-09-29. This switch was listed in src/media/base/media_switches.cc. |
--enable-advanced-fs[2] ⊗ | Enables Advanced File System. ↪ Removed on 2011-08-05. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-aero-peek-tabs ⊗ | Enables AeroPeek for each tab. (This switch only works on Windows 7). ↪ Removed on 2012-05-06. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-benchmarking ⊗ | Enables the benchmarking extensions. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-clear-server-data ⊗ | This flag enables UI for clearing server data. Temporarily in place until there's a server endpoint deployed. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-click-to-play ⊗ | Enable click-to-play for blocked plug-ins. ↪ Removed on 2012-01-31. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-cloud-print ⊗ | Enables the Cloud Print dialog hosting code. ↪ Removed on 2011-10-17. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-cloud-print-proxy ⊗ | This applies only when the process type is "service". Enables the Cloud Print Proxy component within the service process. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-compact-navigation ⊗ | Enables compact navigation mode, which removes the toolbar and moves most of UI to the tab strip. ↪ Removed on 2011-07-27. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-composite-to-texture ⊗ | Enables compositing to texture instead of display. ↪ Removed on 2012-04-13. This switch was listed in src/content/public/common/content_switches.cc. |
--enable-connect-backup-jobs ⊗ | Enables establishing a backup TCP connection if a specified timeout is exceeded. ↪ Removed on 2012-10-25. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-crash-reporter ⊗ | Indicates that crash reporting should be enabled. On platforms where helper processes cannot access to files needed to make this decision, this flag is generated internally. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--enable-crxless-web-apps ⊗ | Enables web developers to create apps for Chrome without using crx packages. ↪ Removed on 2013-03-15. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-dcheck ⊗ | Enable DCHECKs in release mode. ↪ Removed on 2014-03-11. This switch was listed in base/base_switches.cc. |
--enable-device-motion ⊗ | Enables device motion events. ↪ Removed on 2013-09-20. This switch was listed in /content/public/common/content_switches.cc. |
--enable-device-policy[2] ⊗ | Enables device policy support on ChromeOS. ↪ Removed on 2012-08-28. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-dhcp-wpad ⊗ | Enables retrieval of PAC URLs from DHCP as per the WPAD standard. Note that this feature is not supported on all platforms, and using the flag is a no-op on such platforms. ↪ Removed on 2011-06-17. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-dns-cert-provenance-checking ⊗ | Enable DNS side checking of certificates. Still experimental, should only be used by developers at the current time. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-experimental-extension-apis ⊗ | Enables extension APIs that are in development. ↪ Removed on 2013-08-01. This switch was listed in /chrome/common/chrome_switches.cc. |
--enable-expose-for-tabs[5] ⊗ | Enables the tabs expose feature ( http://crbug.com/50307 ). ↪ Removed on 2014-02-15. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-extension-timeline-api ⊗ | Enables experimental timeline API. ↪ Removed on 2012-12-11. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-fastback ⊗ | Enables the fastback page cache. ↪ Removed on 2013-04-26. This switch was listed in src/content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--enable-fullscreen ⊗ | Enable the JavaScript Full Screen API. ↪ Removed on 2011-09-08. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-gpu-plugin ⊗ | Enable the GPU plugin and Pepper 3D rendering. ↪ Removed on 2012-02-20. This switch was listed in src/content/common/content_switches.cc. |
--enable-gview[2] ⊗ | Enables the redirection of viewable document requests to the Google Document Viewer. ↪ Removed on 2012-12-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-in-browser-thumbnailing ⊗ | Enables the in-browser thumbnailing, which is more efficient than the in-renderer thumbnailing, as we can use more information to determine if we need to update thumbnails. ↪ Removed on 2012-05-31. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-03-01. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-ipc-fuzzing ⊗ | / Enables the IPC fuzzer for reliability testing ↪ Removed on 2013-10-19. This switch was listed in /chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-logging ⊗ | Force logging to be enabled. Logging is disabled by default in release builds. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--enable-login-images[2] ⊗ | Should we show the image based login? ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-mac-cookies ⊗ | Enables MAC cookies in the network stack. These cookies use HMAC to protect session state from passive network attackers. http://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token ↪ Removed on 2012-03-15. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-memory-info ⊗ | Make the values returned to window.performance.memory more granular and more up to date. Without this flag, the memory information is still available, but it is bucketized and updated less frequently. ↪ Removed on 2014-03-13. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-05-08. This switch was listed in content/public/common/content_switches.cc. |
--enable-nacl ⊗ | Runs the Native Client inside the renderer process and enables GPU plugin (internally adds lEnableGpuPlugin to the command line). ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-nacl-debug ⊗ | Enables debugging via RSP over a socket. ↪ Removed on 2014-11-14. This switch was listed in components/nacl/common/nacl_switches.cc. |
--enable-openmax ⊗ | Enable hardware decoding using OpenMax API. In practice this is for ChromeOS ARM. ↪ Removed on 2011-06-28. This switch was listed in src/media/base/media_switches.cc. |
--enable-p2papi ⊗ | Enable Pepper and JavaScript P2P API. ↪ Removed on 2011-07-19. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-panels ⊗ | Enable panels (always on-top docked pop-up windows). ↪ Removed on 2011-10-27. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-pepper-testing ⊗ | Enables the testing interface for PPAPI. ↪ Removed on 2012-10-03. This switch was listed in src/webkit/plugins/plugin_switches.cc. |
--enable-preconnect ⊗ | Enable speculative TCP/IP preconnection. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-preparsed-js-caching ⊗ | Enable caching of pre-parsed JS script data. See http://crbug.com/32407. ↪ Removed on 2014-08-31. This switch was listed in content/public/common/content_switches.cc. |
--enable-print-preview[6] ⊗ | Enables print preview. Chromium normally does not have the PDF viewer, required for print preview. pdf.dll or libpdf.so should be present in primary directory of Chromium. For local builds it's usually out/Debug or out/Release. ↪ Removed on 2014-05-24. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-remoting ⊗ | This applies only when the process type is "service". Enables the Chromoting Host Process within the service process. ↪ Removed on 2011-08-02. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-resource-content-settings ⊗ | Enables content settings based on host *and* plug-in in the user preferences. ↪ Removed on 2013-12-11. This switch was listed in /chrome/common/chrome_switches.cc. |
--enable-sandbox-logging ⊗ | Cause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-03-01. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-search-provider-api-v2 ⊗ | Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra parameter to indicate if the provider should be the default. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-seccomp-sandbox ⊗ | Enable the seccomp sandbox (Linux only) ↪ Removed on 2013-05-02. This switch was listed in src/content/public/common/content_switches.cc. |
--enable-snap-start ⊗ | Enables 0-RTT HTTPS handshakes. ↪ Removed on 2011-06-23. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-stats-table ⊗ | Enables StatsTable, logging statistics to a global named shared memory table. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--enable-sync ⊗ | Enable syncing browser data to a Google Account. ↪ Removed on 2011-08-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-sync-autofill ⊗ | Enable syncing browser autofill. ↪ Removed on 2011-08-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-sync-encryption ⊗ | Enable sync encryption options. ↪ Removed on 2011-07-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-sync-sessions ⊗ | Enable syncing browser sessions. ↪ Removed on 2011-09-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-sync-typed-urls ⊗ | Enable syncing browser typed urls. ↪ Removed on 2011-08-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-synced-bookmarks-folder ⊗ | Enable syncing browser typed urls. ↪ Removed on 2011-12-06. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-tab-groups-context-menu ⊗ | Enables context menu for selecting groups of tabs. ↪ Removed on 2014-03-08. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-tcp-fastopen ⊗ | Enable use of experimental TCP sockets API for sending data in the SYN packet. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--enable-vertical-tabs ⊗ | Enables the option to show tabs as a vertical stack down the side of the browser window. ↪ Removed on 2011-10-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-video-fullscreen ⊗ | Enables support for fullscreen video. Current implementation is incomplete and this flag is used for development and testing. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-video-logging ⊗ | Enables video logging where video elements log playback performance data to the debug log. ↪ Removed on 2011-11-19. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-08-31. This switch was listed in chrome/common/chrome_switches.cc. |
--enable-webaudio ⊗ | Enable web audio API. ↪ Removed on 2011-06-28. This switch was listed in src/chrome/common/chrome_switches.cc. |
--enable-websocket-over-spdy ⊗ | Uses WebSocket over SPDY. ↪ Removed on 2014-11-08. This switch was listed in chrome/common/chrome_switches.cc. |
--enabled ⊗ | enabled: touch events always enabled. ↪ Removed on 2014-11-14. This switch was listed in ui/events/event_switches.cc. |
--experimental-location-features ⊗ | Enables experimental features for the geolocation API. Current features: - CoreLocation support for Mac OS X 10.6 ↪ Removed on 2013-08-14. This switch was listed in /content/public/common/content_switches.cc. |
--experimental-spellchecker-features ⊗ | Enables experimental features for Spellchecker. Right now, the first experimental feature is auto spell correct, which corrects words which are misspelled by typing the word with two consecutive letters swapped. The features that will be added next are: 1 - Allow multiple spellcheckers to work simultaneously. 2 - Allow automatic detection of spell check language. TODO(sidchat): Implement the above features to work under this flag. ↪ Removed on 2012-10-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--explicitly-allowed-ports ⊗ | Explicitly allows additional ports using a comma-separated list of port numbers. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--expose-private-extension-api[7] ⊗ | Debug only switch to give access to all private extension APIs to any non-component extension that is requesting it. ↪ Removed on 2011-12-08. This switch was listed in src/chrome/common/chrome_switches.cc. |
--extension ⊗ | Causes the process to run as an extension subprocess. ↪ Removed on 2011-10-06. This switch was listed in src/chrome/common/chrome_switches.cc. |
--extensions-update-frequency ⊗ | Frequency in seconds for Extensions auto-update. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--extra-plugin-dir ⊗ | Load NPAPI plugins from the specified directory. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--feedback-server ⊗ | Alternative feedback server to use when submitting user feedback ↪ Removed on 2014-05-09. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-05-30. This switch was listed in chrome/common/chrome_switches.cc. |
--first-run ⊗ | Displays the First Run experience when the browser is started, regardless of whether or not it's actually the first run. ↪ Removed on 2013-01-03. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--flag-switches-end ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--focus-existing-tab-on-open ⊗ | If true opening a url from the omnibox attepts to focus an existing tab. ↪ Removed on 2012-06-22. This switch was listed in src/chrome/common/chrome_switches.cc. |
--force-apps-promo-visible ⊗ | Forces the apps/webstore promo to be shown, independent of whether it has timed out, etc. Useful for testing. ↪ Removed on 2012-08-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--force-compositing-mode ⊗ | Enable force_compositing_mode in layout tests. ↪ Removed on 2014-06-11. This switch was listed in content/public/common/content_switches.cc. |
--force-fieldtest ⊗ | Some field tests may rendomized 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 argument is a string-ized list of experiment names, and the associated value that was randomly selected. In the recent implementetaion, the persistent representation generated by field_trial.cc and later decoded, is a list of name and value pairs, separated by slashes. See field trial.cc for current details. ↪ Removed on 2012-04-12. This switch was listed in src/content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--force-stub-libcros[2] ⊗ | Forces usage of libcros stub implementation. For testing purposes, this switch separates chrome code from the rest of ChromeOS. ↪ Removed on 2011-07-16. This switch was listed in src/chrome/common/chrome_switches.cc. |
--full-memory-crash-report ⊗ | Generates full memory crash dump. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--gpu-launcher ⊗ | Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--gpu-process ⊗ | Makes this process a GPU sub-process. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--gpu-startup-dialog ⊗ | Causes the GPU process to display a dialog on launch. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--gssapi-library-name ⊗ | Specifies a custom name for the GSSAPI library to load. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--h ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in cloud_print/gcp20/prototype/gcp20_switches.cc. |
--help ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in cloud_print/gcp20/prototype/gcp20_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--host-resolver-retry-attempts ⊗ | The maximum number of retry attempts to resolve the host. Set this to zero to disable host resolver retry attempts. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--host-resolver-rules ⊗ | These mappings only apply to the host resolver. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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 www.google.com" --> 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). ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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 ↪ Removed on 2013-05-30. This switch was listed in src/chrome/common/chrome_switches.cc. |
--ignore-certificate-errors ⊗ | Ignores certificate-related errors. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--ignore-gpu-blacklist ⊗ | Ignores GPU blacklist. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--import ⊗ | Performs importing from another browser. The value associated with this setting encodes the target browser and what items to import. ↪ Removed on 2013-05-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2013-05-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--in-process-gpu ⊗ | Run the GPU process as a thread in the browser process. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--in-process-plugins ⊗ | Runs plugins inside the renderer process ↪ Removed on 2013-12-27. This switch was listed in /content/public/common/content_switches.cc. |
--in-process-webgl ⊗ | Runs WebGL inside the renderer process. ↪ Removed on 2013-03-21. This switch was listed in src/content/public/common/content_switches.cc. |
--incognito ⊗ | Causes the browser to launch directly in incognito mode. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--indexeddb-use-leveldb ⊗ | Use LevelDB as back-end for Indexed Database API. ↪ Removed on 2011-07-07. This switch was listed in src/content/common/content_switches.cc. |
--instant-url ⊗ | URL to use for instant. If specified this overrides the url from the TemplateURL. ↪ Removed on 2013-07-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--js-flags ⊗ | Specifies the flags passed to JS engine ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--keep-alive-for-test ⊗ | Used for testing - keeps browser alive after last browser window closes. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--keep-mouse-cursor[8] ⊗ | Debug only switch to prevent the mouse cursor from disappearing when touch is enabled ↪ Removed on 2011-10-27. This switch was listed in src/chrome/common/chrome_switches.cc. |
--kiosk ⊗ | Enable Kiosk mode. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in ui/base/ui_base_switches.cc. |
--load-extension ⊗ | Loads an extension from the specified directory. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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 ↪ Removed on 2013-05-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--load-plugin ⊗ | Load an NPAPI plugin from the specified path. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--locale_pak ⊗ | Load the locale resources from the given path. When running on Mac/Unix the path should point to a locale.pak file. ↪ Removed on 2014-05-20. This switch was listed in ui/base/ui_base_switches.cc. |
--log-level ⊗ | Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--log-net-log ⊗ | Enables saving net log events to a file and sets the file name to use. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--log-plugin-messages ⊗ | Make plugin processes log their sent and received messages to VLOG(1). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--login-manager ⊗ | Enables Chrome-as-a-login-manager behavior. ↪ Removed on 2014-11-14. This switch was listed in chromeos/chromeos_switches.cc. |
--login-password ⊗ | Specifies a password to be used to login (along with login-user). ↪ Removed on 2014-07-03. This switch was listed in chromeos/chromeos_switches.cc. |
--login-profile ⊗ | Specifies the profile to use once a chromeos user is logged in. This parameter is ignored if user goes through login screen since user_id hash defines which profile directory to use. In case of browser restart within active session this parameter is used to pass user_id hash for primary user. ↪ Removed on 2014-11-14. This switch was listed in chromeos/chromeos_switches.cc. |
--login-screen ⊗ | 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. ↪ Removed on 2013-05-29. This switch was listed in src/chromeos/chromeos_switches.cc. |
--login-screen-size ⊗ | Controls the initial login screen size. Pass width,height. ↪ Removed on 2013-05-29. This switch was listed in src/chromeos/chromeos_switches.cc. |
--login-user ⊗ | Specifies the user which is already logged in. ↪ Removed on 2014-11-14. This switch was listed in chromeos/chromeos_switches.cc. |
--login-user-with-new-password[2] ⊗ | Allows to emulate situation when user logins with new password. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--make-default-browser ⊗ | Makes Chrome default browser ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--max-spdy-concurrent-streams ⊗ | Sets the maximum concurrent streams over a SPDY session. ↪ Removed on 2014-03-01. This switch was listed in chrome/common/chrome_switches.cc. |
--max-spdy-sessions-per-domain ⊗ | Sets the maximum SPDY sessions per domain. ↪ Removed on 2013-07-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--media-cache-size ⊗ | Forces the maximum disk space to be used by the media cache, in bytes. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--memory-profile ⊗ | Enables dynamic loading of the Memory Profiler DLL, which will trace all memory allocations during the run. ↪ Removed on 2014-06-20. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--min-clearsitedata-flash-version ⊗ | The minimum version of Flash that implements the NPP_ClearSiteData API. ↪ Removed on 2011-11-18. This switch was listed in src/chrome/common/chrome_switches.cc. |
--multi-profiles ⊗ | Enables multiprofile Chrome. ↪ Removed on 2014-05-21. This switch was listed in chrome/common/chrome_switches.cc. |
--nacl-broker ⊗ | Value for --type that causes the process to run as a NativeClient broker (used for launching NaCl loader processes on 64-bit Windows). ↪ Removed on 2014-11-14. This switch was listed in components/nacl/common/nacl_switches.cc. |
--nacl-debug-ip ⊗ | Sets the default IP address (interface) for the stub (normally 127.0.0.1). ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--nacl-debug-ports ⊗ | Sets the default port range for debugging. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--nacl-loader ⊗ | Value for --type that causes the process to run as a NativeClient loader for SFI mode. ↪ Removed on 2014-11-14. This switch was listed in components/nacl/common/nacl_switches.cc. |
--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". ↪ Removed on 2014-03-09. This switch was listed in components/nacl/common/nacl_switches.cc. |
--nacl-startup-dialog ⊗ | Causes the Native Client process to display a dialog on launch. ↪ Removed on 2011-12-01. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--new-tab-page-4 ⊗ | Use the latest incarnation of the new tab page. ↪ Removed on 2011-08-10. This switch was listed in src/chrome/common/chrome_switches.cc. |
--new-window ⊗ | Launches URL in new browser window. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--no-events ⊗ | Don't record/playback events when using record & playback. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--no-first-run ⊗ | Skip First Run tasks, whether or not it's actually the First Run. Overridden by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't prevent first run from occuring the next time chrome is launched without this flag. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-05-20. This switch was listed in chrome/common/chrome_switches.cc. |
--no-message-box ⊗ | Disable ui::MessageBox. This is useful when running as part of scripts that do not have a user interface. ↪ Removed on 2014-11-14. This switch was listed in ui/base/ui_base_switches.cc. |
--no-pings ⊗ | Don't send hyperlink auditing pings ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--no-process-singleton-dialog[9] ⊗ | Bypass the error dialog when the profile lock couldn't be attained. This switch is used during automated testing. ↪ Removed on 2012-05-03. This switch was listed in src/chrome/common/chrome_switches.cc. |
--no-proxy-server ⊗ | Don't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--no-referrers ⊗ | Don't send HTTP-Referer headers. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--no-sandbox ⊗ | Disables the sandbox for all process types that are normally sandboxed. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--no-startup-window ⊗ | Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps). ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--noerrdialogs ⊗ | Suppresses all error dialogs when present. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--notify-cp-token-expired ⊗ | Shows a desktop notification that the cloud print token has expired and that user needs to re-authenticate. ↪ Removed on 2013-02-05. This switch was listed in src/chrome/common/chrome_switches.cc. |
--num-pac-threads ⊗ | Specifies the maximum number of threads to use for running the Proxy Autoconfig (PAC) script. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--organic ⊗ | Simulates an organic Chrome install. ↪ Removed on 2014-03-17. This switch was listed in chrome/common/chrome_switches.cc. |
--pack-extension ⊗ | Packages an extension to a .crx installable file from a given directory. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--pack-extension-key ⊗ | Optional PEM private key to use in signing packaged .crx. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--parallel-auth[2] ⊗ | Attempts to perform Chrome OS offline and online login in parallel. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--parent-profile ⊗ | Specifies the path to the user data folder for the parent profile. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--password-store[10] ⊗ | Specifies which password store to use (detect, default, gnome, kwallet). ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--playback-mode ⊗ | Read previously recorded data from the cache. Only cached data is read. See kRecordMode. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--plugin ⊗ | Causes the process to run as a plugin subprocess. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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" ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--plugin-path ⊗ | Tells the plugin process the path of the plugin to load ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--plugin-startup-dialog ⊗ | Causes the plugin process to display a dialog on launch. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--ppapi ⊗ | Argument to the process type that indicates a PPAPI plugin process type. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--ppapi-broker ⊗ | Argument to the process type that indicates a PPAPI broker process type. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--ppapi-flash-args ⊗ | "Command-line" arguments for the PPAPI Flash; used for debugging options. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-02-17. This switch was listed in chrome/common/chrome_switches.cc. |
--ppapi-flash-path ⊗ | Use the PPAPI (Pepper) Flash found at the given path. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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". ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--ppapi-out-of-process ⊗ | Runs PPAPI (Pepper) plugins out-of-process. ↪ Removed on 2013-03-03. This switch was listed in src/content/public/common/content_switches.cc. |
--ppapi-plugin-launcher ⊗ | Like kPluginLauncher for PPAPI plugins. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--prefetch_only ⊗ | prefetch_only: No prerendering, but enables prefetching. ↪ Removed on 2013-12-13. This switch was listed in /chrome/common/chrome_switches.cc. |
--preload-instant-search ⊗ | Aggressively preloads the default search engine's Instant URL, so it's ready to receive queries. Only has an effect if Instant is turned on (via "Enable Instant for faster searching and browsing" in Preferences -> Basics). ↪ Removed on 2012-05-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--prerender ⊗ | Controls speculative prerendering of pages, and content prefetching. Both are dispatched from <link rel=prefetch href=...> elements. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--print ⊗ | Prints the pages on the screen. ↪ Removed on 2012-06-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--product-version ⊗ | Outputs the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--profile-import ⊗ | Causes the process to run as a profile import subprocess. ↪ Removed on 2011-10-03. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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}. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--proxy-auto-detect ⊗ | Forces proxy auto-detection. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--proxy-pac-url ⊗ | Uses the pac script at the given URL ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--proxy-server ⊗ | Uses a specified proxy server, overrides system settings. This switch only affects HTTP and HTTPS requests. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-03-11. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--register-pepper-plugins ⊗ | Register Pepper plugins (see pepper_plugin_list.cc for its format). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--reload-killed-tabs ⊗ | Reloads pages that have been killed when they are next focused by the user. ↪ Removed on 2012-11-14. This switch was listed in src/chrome/common/chrome_switches.cc. |
--remote-debugging-port ⊗ | Enables remote debug over HTTP on the specified port. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--remote-shell-port ⊗ | Enable remote debug / automation shell on the specified port. ↪ Removed on 2011-11-24. This switch was listed in src/chrome/common/chrome_switches.cc. |
--renderer ⊗ | Causes the process to run as renderer instead of as browser. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--renderer-assert-test ⊗ | Causes the renderer process to throw an assertion on launch. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--renderer-check-false-test[11] ⊗ | Causes the renderer process to throw an assertion on launch. ↪ Removed on 2012-04-23. This switch was listed in src/content/public/common/content_switches.cc. |
--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". ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--renderer-crash-test ⊗ | Causes the renderer process to crash on launch. ↪ Removed on 2012-04-23. This switch was listed in src/content/public/common/content_switches.cc. |
--renderer-startup-dialog ⊗ | Causes the renderer process to display a dialog on launch. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--restrict-instant-to-search ⊗ | Restrict the automatic loading of web pages when typing in the omnibox to only search pages, and disable it for all other types (URLs, history pages, extensions, etc). Only has an effect if Instant is turned on (via "Enable Instant for faster searching and browsing" in Preferences -> Basics). ↪ Removed on 2011-10-08. This switch was listed in src/chrome/common/chrome_switches.cc. |
--safebrowsing-disable-auto-update ⊗ | If present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--safebrowsing-info-url-prefix ⊗ | URL prefix used by safebrowsing to fetch hash, download data and report malware. ↪ Removed on 2012-04-17. This switch was listed in src/chrome/common/chrome_switches.cc. |
--safebrowsing-mackey-url-prefix ⊗ | URL prefix used by safebrowsing to get MAC key. ↪ Removed on 2012-04-17. This switch was listed in src/chrome/common/chrome_switches.cc. |
--screen-saver-url[2] ⊗ | URL of the html page for Screen Saver. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--scroll-pixels[12] ⊗ | Specify the amount the trackpad should scroll by. ↪ Removed on 2012-11-14. This switch was listed in src/content/public/common/content_switches.cc. |
--search-in-omnibox-hint ⊗ | Enables the showing of an info-bar instructing user they can search directly from the omnibox. ↪ Removed on 2013-06-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--service ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in cloud_print/service/service_switches.cc. |
--service-account-lsid ⊗ | The LSID of the account to use for the service process. ↪ Removed on 2012-10-05. This switch was listed in src/chrome/common/chrome_switches.cc. |
--set-token ⊗ | Sets a token in the token service, for testing. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--show-composited-layer-borders ⊗ | Renders a border around compositor layers to help debug and study layer compositing. ↪ Removed on 2014-11-14. This switch was listed in cc/base/switches.cc. |
--show-composited-layer-tree ⊗ | Draws a textual dump of the compositor layer tree to help debug and study layer compositing. ↪ Removed on 2013-07-04. This switch was listed in src/cc/base/switches.cc. |
--show-fps-counter ⊗ | Draws a heads-up-display showing Frames Per Second as well as GPU memory usage. If you also use --vmodule="head*=1" then FPS will also be output to the console log. ↪ Removed on 2014-11-14. This switch was listed in cc/base/switches.cc. |
--show-icons ⊗ | See kHideIcons. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--show-paint-rects ⊗ | Visibly render a border around paint rects in the web page to help debug and study painting behavior. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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 gyp dcheck_always_on=1. ↪ Removed on 2014-06-17. This switch was listed in chrome/common/chrome_switches.cc. |
--simple-data-source ⊗ | Replaces the buffered data source for <audio> and <video> with a simplified resource loader that downloads the entire resource into memory. TODO(scherkus): remove --simple-data-source when our media resource loading is cleaned up and playback testing completed. ↪ Removed on 2012-01-13. This switch was listed in src/chrome/common/chrome_switches.cc. |
--single-process ⊗ | Runs the renderer and plugins in the same process as the browser ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--start-maximized ⊗ | Starts the browser maximized, regardless of any previous settings. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--stub-cros[2] ⊗ | Indicates that stub implementations of the libcros library should be used. This is typically used to test the chromeos build of chrome on the desktop. ↪ Removed on 2012-06-22. This switch was listed in src/chrome/common/chrome_switches.cc. |
--sync-allow-insecure-xmpp-connection ⊗ | Allows insecure XMPP connections for sync (for testing). ↪ Removed on 2014-05-16. This switch was listed in chrome/common/chrome_switches.cc. |
--sync-invalidate-xmpp-login ⊗ | Invalidates any login info passed into sync's XMPP connection. ↪ Removed on 2014-05-16. This switch was listed in chrome/common/chrome_switches.cc. |
--sync-notification-host ⊗ | Override the default host used for sync notifications. Can be either "host" or "host:port". ↪ Removed on 2012-03-07. This switch was listed in src/chrome/common/chrome_switches.cc. |
--sync-notification-method ⊗ | Overrides the default notification method for sync. ↪ Removed on 2013-07-04. This switch was listed in src/chrome/common/chrome_switches.cc. |
--sync-try-ssltcp-first-for-xmpp ⊗ | Tries to connect to XMPP using SSLTCP first (for testing). ↪ Removed on 2014-05-16. This switch was listed in chrome/common/chrome_switches.cc. |
--sync-url ⊗ | Overrides the default server used for profile sync. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--syncer-thread-timed-stop ⊗ | Use the SyncerThread implementation that matches up with the old pthread impl semantics, but using Chrome synchronization primitives. The only difference between this and the default is that we now have no timeout on Stop(). Should only use if you experience problems with the default. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--test-load-libcros[2] ⊗ | Attempts to load libcros and validate it, then exits. A nonzero return code means the library could not be loaded correctly. ↪ Removed on 2012-06-25. This switch was listed in src/chrome/common/chrome_switches.cc. |
--test-nacl-sandbox ⊗ | Runs the security test for the NaCl loader sandbox. ↪ Removed on 2013-08-13. This switch was listed in /components/nacl/common/nacl_switches.cc. |
--test-name ⊗ | Passes the name of the current running automated test to Chrome. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--test-sandbox ⊗ | Runs the security test for the renderer sandbox. ↪ Removed on 2014-06-05. This switch was listed in content/public/common/content_switches.cc. |
--test-type ⊗ | Type of the current test harness ("browser" or "ui"). ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--testing-channel ⊗ | Tells the app to listen for and broadcast testing-related messages on IPC channel with the given ID. ↪ Removed on 2014-04-05. This switch was listed in chrome/common/chrome_switches.cc. |
--touch-devices[13] ⊗ | 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'. ↪ Removed on 2013-09-30. This switch was listed in /ui/base/ui_base_switches.cc. |
--try-chrome-again ⊗ | Experimental. Shows a dialog asking the user to try chrome. This flag is to be used only by the upgrade process. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--uninstall ⊗ | No description ↪ Removed on 2014-11-14. This switch was listed in cloud_print/service/service_switches.cc. |
--uninstall-extension ⊗ | Uninstalls an extension with the specified extension id. ↪ Removed on 2014-04-29. This switch was listed in chrome/common/chrome_switches.cc. |
--unlimited-quota-for-files ⊗ | Grant unlimited quota to store files to this process. Used for testing Pepper's FileRef/FileIO/FileSystem implementations. DO NOT USE FOR OTHER PURPOSES. TODO(dumi): remove the switch when we have a real quota implementation. ↪ Removed on 2011-09-20. This switch was listed in src/content/common/content_switches.cc. |
--unlimited-quota-for-indexeddb ⊗ | This is for testing IndexedDB and will give any website you visit unlimited quota in IndexedDB. This should only be used for development and not general browsing. It is ignored in single process mode. ↪ Removed on 2011-08-27. This switch was listed in src/content/common/content_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in ui/gl/gl_switches.cc. |
--use-pure-views ⊗ | Use a pure Views implementation when available (rather rather than platform native implementation such as GTK). ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--use-spdy ⊗ | Uses Spdy for the transport protocol instead of HTTP. This is a temporary testing flag. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--use-system-ssl[14] ⊗ | Use the system SSL library (Secure Transport on Mac, SChannel on Windows) instead of NSS for SSL. ↪ Removed on 2013-01-16. This switch was listed in src/content/public/common/content_switches.cc. |
--user-agent ⊗ | A string used to override the default user agent with a custom one. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--user-data-dir ⊗ | Specifies the user data directory, which is where the browser will look for all of its state. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--user-scripts-dir ⊗ | directory to locate user scripts in as an over-ride of the default ↪ Removed on 2011-08-09. This switch was listed in src/chrome/common/chrome_switches.cc. |
--utility ⊗ | Causes the process to run as a utility subprocess. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--utility-allowed-dir ⊗ | The utility process is sandboxed, with access to one directory. This flag specifies the directory that can be accessed. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--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". ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--v ⊗ | Gives the default maximal active V-logging level; 0 is the default. Normally positive values are used for V-logging levels. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--version ⊗ | Prints version information and quits. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--video-threads ⊗ | Set number of threads to use for video decoding. ↪ Removed on 2014-11-14. This switch was listed in media/base/media_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--wait-for-debugger ⊗ | Will wait for 60 seconds for a debugger to come to attach to the process. ↪ Removed on 2014-11-14. This switch was listed in base/base_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
--web-worker-process-per-core ⊗ | Causes the worker process allocation to use as many processes as cores. ↪ Removed on 2012-09-14. This switch was listed in src/content/public/common/content_switches.cc. |
--web-worker-share-processes ⊗ | Causes workers to run together in one process, depending on their domains. Note this is duplicated in webworkerclient_impl.cc ↪ Removed on 2012-09-14. This switch was listed in src/content/public/common/content_switches.cc. |
--webcore-log-channels ⊗ | Choose which logging channels in WebCore to activate. See Logging.cpp in WebKit's WebCore for a list of available channels. ↪ Removed on 2014-02-04. This switch was listed in content/public/common/content_switches.cc. |
--websocket-live-experiment-host[7] ⊗ | Debug only switch to specify which websocket live experiment host to be used. If host is specified, it also makes initial delay shorter (5 min to 5 sec) to make it faster to test websocket live experiment code. ↪ Removed on 2012-02-20. This switch was listed in src/chrome/common/chrome_switches.cc. |
--webui-login[2] ⊗ | Enable WebUI based login screens. ↪ Removed on 2012-02-22. This switch was listed in src/chrome/common/chrome_switches.cc. |
--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. ↪ Removed on 2014-11-14. This switch was listed in chrome/common/chrome_switches.cc. |
--worker ⊗ | Causes the process to run as a worker subprocess. ↪ Removed on 2014-08-31. This switch was listed in content/public/common/content_switches.cc. |
--zygote ⊗ | Causes the process to run as a renderer zygote. ↪ Removed on 2014-11-14. This switch was listed in content/public/common/content_switches.cc. |
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.
- The constants OS_FREEBSD, OS_LINUX and OS_SOLARIS must be defined.
- The constant OS_CHROMEOS must be defined.
- The constant OFFICIAL_BUILD must not be defined, and the constant ENABLE_PRINT_PREVIEW must be defined.
- The constant TOOLKIT_VIEWS must be defined.
- The constant OS_MACOSX must be defined.
- The constant GOOGLE_CHROME_BUILD must not be defined.
- The constant NDEBUG must not be defined.
- The constant TOUCH_UI must be defined.
- The constant OS_POSIX must be defined.
- The constants OS_CHROMEOS and OS_MACOSX must not be defined, and the constant OS_POSIX must be defined.
- The constant OFFICIAL_BUILD must not be defined.
- The constant OS_MACOSX must not be defined, and the constant OS_POSIX must be defined.
- The constants OS_LINUX and TOOLKIT_VIEWS must be defined.
- The constants OS_MACOSX and OS_WIN must be defined.