Sunteți pe pagina 1din 24

Peter Beverloo

It's good fun being back in Mountain View so far, now if we could only get *slightly* more sun! :-)

Home About Experiments Contact

245retweet

List of Chromium Command Line Switches


There are lots of command lines which can be used with the Chromium 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 2012-02-14.

Condition --allow-cross-origin-auth-prompt --allow-file-access --allow-file-access-from-files --allow-http-background-page --allow-nacl-socket-api --allow-outdated-plugins --allow-running-insecure-content --allow-sandbox-debugging --allow-scripting-gallery --allow-websocket-proxy --allow-webui-compositing --alsa-input-device
[1]

Explanation Allow third party content included on a page to prompt for a HTTP basic auth username/password pair. On ChromeOS, file:// access is disabled except for certain whitelisted directories. This switch reenables file:// for testing. By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing. Allow non-https URL for background_page for hosted apps. Specifies comma-separated list of extension ids to grant access to TCP/UDP socket APIs. Don't block outdated plugins. 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. Allows debugging of sandboxed processes (see zygote_main_linux.cc). 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. Specifies comma separated list of extension ids to grant access to local websocket proxy. Allow compositing on chrome:// pages. The Alsa device to use when opening an audio input stream. The Alsa device to use when opening an audio stream. This prevents Chrome from requiring authorization to run certain widely installed but less

--alsa-output-device[1] --always-authorize-plugins

Condition --app --app-id --app-notify-channel-server-url --apple --apps-checkout-url --apps-gallery-download-url --apps-gallery-install-auto-confirm-fortests --apps-gallery-return-tokens --apps-gallery-update-url --apps-gallery-url --apps-new-install-bubble --apps-no-throb --assert-test --auth-ext-path
[2]

Explanation commonly used plug-ins. Specifies that the associated value should be launched in "application" mode. Specifies that the extension-app with the specified id should be launched according to its configuration. A URL for the server which assigns channel ids for server pushed app notifications. No description Override the apps checkout URL, which is used to determine when to expose some private APIs. The URL that the webstore APIs download extensions from. Note: the URL must contain one '%s' for the extension ID. A setting to cause extension/app installs from the webstore skip the normal confirmation dialog. A value of 'accept' means to always act as if the dialog was accepted, and 'cancel' means to always act as if the dialog was cancelled. Specifying this flag 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). The update url used by gallery/webstore extensions. The URL to use for the gallery link in the app launcher. Whether to always use the new app install bubble when installing an app. Disable throbber for extension apps. Causes the browser process to throw an assertion on startup.

Enables overriding the path for the default authentication extension. Whitelist of servers that Negotiate will generate delegated Kerberos tickets for. 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 autentication-related issues reported by end-users. Whitelist of servers which NTLM and Negotiate can automatically authenticate with using the default credentials of the currently logged in user. These are the values the switch may have, as in "--prerender=auto". auto: Allow field trial selection in both prerender and prefetch. A flag that is used to tell Chrome that it was launched automatically at computer startup and not by some user action. The value of this switch tells the app to listen for and broadcast automation-related messages on IPC channel with the given ID. Causes the automation provider to reinitialize its IPC channel instead of shutting down when a client disconnects. Blacklist the GPU for accelerated compositing. Blacklist the GPU for WebGL.

--auth-negotiate-delegate-whitelist --auth-schemes --auth-server-whitelist --auto --auto-launch-at-startup --automation-channel --automation-reinitialize-on-channelerror --blacklist-accelerated-compositing --blacklist-webgl

Condition --browser-subprocess-path --bwsi[3] --channel --check-cloud-print-connector-policy --check-for-update-interval --chrome-frame --chrome-version --cipher-suite-blacklist --clear-token-service[2] --cloud-print-delete-file --cloud-print-file --cloud-print-file-type --cloud-print-job-title --cloud-print-print-ticket --cloud-print-proxy-id --cloud-print-service --component-updater-debug --compress-sys-feedback[3] --conflicting-modules-check --country --crash-on-hang-seconds

Explanation Path to the exe to run for the renderer and plugin subprocesses. Indicates that the browser is in "browse without sign-in" (Guest session) mode. Should completely disable extensions, sync and bookmarks. The value of this switch tells the child process which IPC channel the browser expects to use to communicate with it. Checks the cloud print connector policy, informing the service process if the policy is set to disallow the connector, then quits. How often (in seconds) to check for updates. Should only be used for testing purposes. Run Chrome in Chrome Frame mode. This means that Chrome expects to be run as a dependent process of the Chrome Frame plugin. Tells chrome to load the specified version of chrome.dll on Windows. If this version cannot be loaded, Chrome will exit. Comma-separated list of SSL cipher suites to disable. Clear the token service before using it. This allows simulating the expiration of credentials during testing. Used with kCloudPrintFile. Tells Chrome to delete the file when finished displaying the print dialog. Tells chrome to display the cloud print dialog and upload the specified file for printing. Specifies the mime type to be used when uploading data from the file referenced by cloud-printfile. Defaults to "application/pdf" if unspecified. Used with kCloudPrintFile to specify a title for the resulting print job. Used with kCloudPrintFile to specify a JSON print ticket for the resulting print job. Defaults to null if unspecified. The unique id to be used for this cloud print proxy instance. 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). Comma-separated options to troubleshoot the component updater. Only valid for the browser process. Flag to trigger ChromeOS system log compression during feedback submit. Causes the browser process to inspect loaded and registered DLLs for known conflicts and warn the user. 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 31661. Causes the browser process to crash if browser threads are not responding for the given number of seconds.

Condition

Explanation 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,IO --> Crash the browser if UI or IO thread is not responsive. Causes the browser process to crash if the number of browser threads that are responding is equal to the given number. For example: --crash-on-live=1 --> Crash if only one thread is responsive and all other threads are not responsive. Causes the browser process to crash on startup. If true the mobile bookmarks folder is created on the sync side. 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. Path to the inspector files on disk (allows reloading of devtool files without having to restart the browser). Enables a frame context menu item that toggles the frame in and out of glass mode (Windows Vista and up only). 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. Dumps extra logging about plugin loading to the log file. Enables support to debug printing subsystem. Enables debug paint in views framework. Enabling this causes the damaged region being painted to flash in red. No description 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. Triggers a pletora of diagnostic modes. 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 gpu-accelerated 2d canvas. Disables accelerated compositing. Disables the hardware acceleration of 3D CSS and animation. Disables the hardware acceleration of plugins. Disables GPU accelerated video display. Disable the ApplicationCache. Replaces the audio IPC layer for <audio> and <video> with a mock audio device, useful when

--crash-on-hang-threads

--crash-on-live --crash-test --create-mobile-bookmarks-folder --debug-children --debug-devtools-frontend --debug-enable-frame-toggle --debug-on-start --debug-plugin-loading --debug-print --debug-views-paint[4] --desktop --device-management-url --diagnostics --disable-3d-apis --disable-accelerated-2d-canvas --disable-accelerated-compositing --disable-accelerated-layers --disable-accelerated-plugins --disable-accelerated-video --disable-application-cache --disable-audio

Condition

Explanation using remote desktop or machines without sound cards. This is temporary until we fix the underlying problem. TODO(scherkus): remove --disable-audio when we have a proper fallback mechanism.

--disable-auth-negotiate-cname-lookup --disable-background-mode --disable-background-networking --disable-backing-store-limit --disable-breakpad --disable-client-side-phishing-detection --disable-composited-core-animationplugins[5] --disable-connect-backup-jobs --disable-crl-sets --disable-custom-jumplist --disable-custom-protocol-os-check --disable-data-transfer-items --disable-databases --disable-default-apps --disable-desktop-notifications --disable-device-orientation --disable-dhcp-wpad --disable-extensions --disable-extensions-file-access-check --disable-extensions-resource-whitelist --disable-file-system --disable-flash-sandbox --disable-fullscreen

Disable CNAME lookup of the host when generating the Kerberos SPN for a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more background. Disable background mode (background apps will not keep chrome running in the background). 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 limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory. Disables the crash reporting. This switch is used to disable 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. No description Disables establishing a backup TCP connection if a specified timeout is exceeded. Disables establishing certificate revocation information by downloading a set of CRLs rather than performing on-line checks. Disables the custom JumpList on Windows 7. Disables checking whether custom protocol handlers are registered with the OS and removing those that are not. This is used during automated testing. Disables data transfer items. Disables HTML5 DB support. Disables installation of default apps on first run. This is used during automated testing. Disables desktop notifications (default enabled on windows). Disables device orientation events. Disables retrieval of PAC URLs from DHCP as per the WPAD standard. Disable extensions. 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 mandatory enforcement of web_accessible_resources in extensions. Disable FileSystem API. Disables the sandbox for the built-in flash player. Enable the JavaScript Full Screen API.

Condition --disable-geolocation --disable-gl-multisampling --disable-glsl-translator --disable-gpu-driver-bug-workarounds --disable-gpu-sandbox --disable-gpu-vsync --disable-gpu-watchdog --disable-hang-monitor --disable-history-quick-provider --disable-history-url-provider --disable-image-transport-surface --disable-improved-downloadprotection --disable-interactive-form-validation --disable-internal-flash --disable-ip-pooling --disable-ipv6 --disable-java --disable-javascript --disable-javascript-i18n-api --disable-local-storage --disable-logging --disable-low-latency-audio --disable-pepper-3d-for-untrusted-use --disable-plugins --disable-popup-blocking --disable-preconnect --disable-print-preview[6]

Explanation Suppresses support for the Geolocation javascript API. Disable GL multisampling. Disable the GLSL translator. Disable workarounds for various GPU driver bugs. Disable the GPU process sandbox. Stop the GPU from synchronizing on the vsync before presenting. Disable the thread that crashes the GPU process if it stops responding to messages. 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 the use of the HistoryQuickProvider for autocomplete results. Disable the use of the HistoryURLProvider for autocomplete results. Disable the use of an ImageTransportSurface. This means the GPU process will present the rendered page rather than the browser process. Disables improved SafeBrowsing download protection. Disables HTML5 Forms interactive validation. Disable the internal Flash Player. 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. 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. Prevent Java from running. Don't execute JavaScript (browser JS like the new tab page still runs). Disable JavaScript I18N API. Disable LocalStorage. Force logging to be disabled. Logging is enabled by default in debug builds. Uses high-latency IPC for audio. That is temporary until we are sure low latency works and remove old code. Disables NativeClient's access to Pepper3D. Prevent plugins from running. Disable pop-up blocking. Disable speculative TCP/IP preconnection. Disable print preview (Not exposed via about:flags. Only used for testing.)

Condition --disable-prompt-on-repost --disable-remote-fonts --disable-renderer-accessibility --disable-restore-background-contents --disable-seccomp-sandbox --disable-session-storage --disable-shared-workers --disable-shortcuts-provider --disable-site-specific-quirks --disable-smooth-scrolling --disable-software-rasterizer --disable-speech-input --disable-spellcheck-api --disable-ssl-false-start --disable-ssl3 --disable-sync --disable-sync-app-notifications --disable-sync-apps --disable-sync-autofill --disable-sync-autofill-profile --disable-sync-bookmarks --disable-sync-encryption --disable-sync-extensions --disable-sync-passwords
[7]

Explanation 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 web font support. SVG font should always work whether this option is specified or not. Turns off the accessibility in the renderer. Prevents the URLs of BackgroundContents from being remembered and re-launched when the browser restarts. Disable the seccomp sandbox (Linux only) Disable session storage. Enable shared workers. Functionality not yet complete. Disables the ShortcutsProvider for autocomplete results. Disable site-specific tailoring to compatibility issues in WebKit. Disable smooth scrolling for testing. Disables the use of a 3D software rasterizer. Disables speech input. Disable Spellcheck API. Disable False Start in SSL and TLS connections. Disable SSL v3 (usually for testing purposes). Disable syncing browser data to a Google Account. Disable syncing app notifications. Disable syncing of apps. Disable syncing of autofill. Disable syncing of autofill Profile. Disable syncing of bookmarks. Disable sync encryption options. Disable syncing of extensions.

Disable syncing browser passwords. Disable syncing of preferences. Disable syncing custom search engines. Disable syncing of themes. Disable syncing browser typed urls. 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

--disable-sync-preferences --disable-sync-search-engines --disable-sync-themes --disable-sync-typed-urls --disable-tab-closeable-state-watcher

Condition --disable-tls1 --disable-translate --disable-uber-page --disable-web-intents --disable-web-resources --disable-web-security --disable-web-sockets --disable-webaudio --disable-webgl --disable-winsta --disable-xss-auditor --disabled --disk-cache-dir --disk-cache-size --dns-log-details --dns-prefetch-disable --dns-server --dom-automation --downloads-new-ui --dump-histograms-on-exit --dump-profile-graph[2] --egl --enable-accelerated-2d-canvas --enable-accelerated-filters --enable-accelerated-painting --enable-accessibility --enable-accessibility-logging --enable-aero-peek-tabs

Explanation watcher. Disable TLS v1.0 (usually for testing purposes). Allow 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 uber page command and URL redirection. Enable Web Intents. Enables the backend service for web resources, used in the new tab page for loading tips and recommendations from a JSON feed. Don't enforce the same-origin policy. (Used by people testing their sites.) Disable Web Sockets support. Disable web audio API. Disable experimental WebGL support. Disables the alternate window station for the renderer. Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. disabled: No prerendering or prefetching. Use a specific disk cache location, rather than one derived from the UserDatadir. Forces the maximum disk space to be used by the disk cache, in bytes. No description Disables prefetching of DNS information. Use the specified DNS server for raw DNS resolution. Specifies if the dom_automation_controller_ 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. Replaces the download shelf with a new experimental UI. 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. Dumps dependency information about our profile services into a dot file in the profile directory. No description Enable gpu-accelerated 2d canvas. Enable gpu-accelerated SVG/W3C filters. Enable hardware accelerated page painting. Enables WebKit accessibility within the renderer process. Turns on extremely verbose logging of accessibility events. Enables AeroPeek for each tab. (This switch only works on Windows 7).

Condition --enable-auth-negotiate-port --enable-autofill-feedback

Explanation Enable the inclusion of non-standard ports when generating the Kerberos SPN in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more background. With this flag set, Chrome will occasionally prompt the user to volunteer Autofill usage data beyond what is collected by default. This is data that we expect to be helpful for debugging, but that we do not want to send up automatically due to privacy concerns. 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. Enables the benchmarking extensions. Enables bluetooth support on ChromeOS This flag enables UI for clearing server data. Temporarily in place until there's a server endpoint deployed. This applies only when the process type is "service". Enables the Cloud Print Proxy component within the service process. Enables compositing to texture instead of display. Enables establishing a backup TCP connection if a specified timeout is exceeded. 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. Enables web developers to create apps for Chrome without using crx packages. Enable DCHECKs in release mode. Enables device motion events. Enables device policy support on ChromeOS. If true devtools experimental settings are enabled. Enable DNS side checking of certificates. Still experimental, should only be used by developers at the current time. Enables extension APIs that are in development. Enables the tabs expose feature ( http://crbug.com/50307 ). Enables logging for extension activity. Enables the extension activity UI. Enable experimental timeline API. Enable the fastback page cache. By default, cookies are not allowed on file://. They are needed for testing, for example page cycler and layout tests. See bug 1157243. Enables the creation of compositing layers for fixed position elements.
[3]

--enable-autologin --enable-benchmarking --enable-bluetooth


[3]

--enable-clear-server-data --enable-cloud-print-proxy --enable-composite-to-texture --enable-connect-backup-jobs --enable-crash-reporter


[8]

--enable-crxless-web-apps --enable-dcheck --enable-device-motion --enable-device-policy

--enable-devtools-experiments --enable-dns-cert-provenance-checking --enable-experimental-extension-apis --enable-expose-for-tabs[5] --enable-extension-activity-logging --enable-extension-activity-ui --enable-extension-timeline-api --enable-fastback --enable-file-cookies --enable-fixed-position-compositing

Condition --enable-gamepad --enable-gpu-client-logging --enable-gpu-plugin --enable-gpu-service-logging --enable-gview


[3]

Explanation Enable the Gamepad API No description Enable the GPU plugin and Pepper 3D rendering. Turns on GPU logging (debug build only). Enable the redirection of viewable document requests to the Google Document Viewer.
[9]

--enable-handle-auditing

Enumerates and prints a child process' most dangerous handles when it is terminated. The same as kAuditHandles except all handles are enumerated. Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will try to figure out if pipelining can be used for a given host and request. Without this flag, pipelining will never be used. Enable 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. 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 the IPC fuzzer for reliability testing Enable 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. Force logging to be enabled. Logging is disabled by default in release builds. Should we show the image based login? 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 Enables Media Source API on <audio>/<video> elements. Enable media stream in WebKit. http://www.whatwg.org/specs/web-apps/currentwork/multipage/dnd.html#mediastream Allows reporting memory info (JS heap size) to page.

--enable-handle-auditing-all[9] --enable-http-pipelining --enable-in-browser-thumbnailing --enable-ip-pooling --enable-ipc-fuzzing --enable-ipv6 --enable-logging --enable-login-images[3] --enable-mac-cookies --enable-media-source --enable-media-stream --enable-memory-info --enable-mobile-dialog
[3]

Enables mobile setup in a dialog. 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. Runs the Native Client inside the renderer process and enables GPU plugin (internally adds lEnableGpuPlugin to the command line). Enables debugging via RSP over a socket. Enables hardware exception handling via debugger process. Enables support for policy-configured networks. Enables TLS origin bound certificate extension.

--enable-monitor-profile --enable-nacl --enable-nacl-debug --enable-nacl-exception-handling --enable-onc-policy


[3]

--enable-origin-bound-certs

Condition --enable-panels --enable-partial-swap --enable-pepper-testing --enable-per-tile-painting --enable-platform-apps --enable-pnacl --enable-pointer-lock --enable-preconnect --enable-preparsed-js-caching --enable-print-preview --enable-privileged-webgl-extensions --enable-profiling --enable-resource-content-settings --enable-restore-session-state --enable-sandbox-logging

Explanation Enables panels (always on-top docked pop-up windows). Enables partial swaps in the WK compositor on platforms that support it. Enables the testing interface for PPAPI. Enable per-tile page painting. Enables advanced app capabilities. Enables the installation and usage of Portable Native Client. Enable the JavaScript Pointer Lock API. Enable speculative TCP/IP preconnection. Enable caching of pre-parsed JS script data. See http://crbug.com/32407. Enable print preview (work in progress). Enable privileged WebGL extensions; without this switch such extensions are available only to Chrome extensions. 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 content settings based on host *and* plug-in. Experimental. Enables restoring session state (cookies, session storage, etc.) when autorestarting. Cause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox. Enable support for SDCH filtering (dictionary based expansion of content). Optional argument is *the* only domain name that will have SDCH suppport. Default is "-enable-sdch" to advertise SDCH on all domains. Sample usage with argument: "-enable-sdch=.google.com" SDCH is currently only supported server-side for searches on google.com. Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra parameter to indicate if the provider should be the default. Enable the seccomp sandbox (Linux only) Rotate the screen in response to orientation changed events from dbus. Will be reused for more generic sensors. Enable shadow DOM API On platforms that support it, enable smooth scroll animation. Enables TLS cached info extension.

--enable-sdch

--enable-search-provider-api-v2 --enable-seccomp-sandbox --enable-sensors[3] --enable-shadow-dom --enable-smooth-scrolling --enable-ssl-cached-info --enable-static-ip-config --enable-stats-table --enable-strict-site-isolation


[3]

Enables static ip configuration. This flag should be removed when it's on by default. Enables StatsTable, logging statistics to a global named shared memory table. Experimentally ensure each renderer process has pages from only one site. This is expected to break compatibility with many pages for now.

Condition --enable-sync-extension-settings --enable-sync-oauth --enable-sync-tabs --enable-sync-tabs-for-other-clients --enable-tab-browser-dragging --enable-tab-groups-context-menu --enable-tcp-fastopen --enable-threaded-compositing --enable-touch-events --enable-video-fullscreen --enable-video-track --enable-visual-word-movement --enable-watchdog --enable-websocket-over-spdy --enable-webstore-link --enabled --enterprise-enrollment-initialmodulus[3] --enterprise-enrollment-moduluslimit[3] --experimental-location-features

Explanation Enable syncing extension settings. Enable OAuth sign-in for sync. Enable syncing browser sessions. Enable syncing browser sessions for other synced clients. Enables tab dragging to create a real browser. Enables context menu for selecting groups of tabs. Enable use of experimental TCP sockets API for sending data in the SYN packet. Enable multithreaded GPU compositing of web content. Enable support for JavaScript touch events. Enables support for fullscreen video. Current implementation is incomplete and this flag is used for development and testing. Enables support for video tracks. Current implementation is incomplete and this flag is used for development and testing. Enables moving cursor by word in visual order. Spawn 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. Use WebSocket over SPDY. Enables the web store link experiment. enabled: Both prerendering and prefetching. 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. Power of the power-of-2 maximum modulus that will be used by the auto-enrollment client. 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 Enables experimental features for Spellchecker. Right now, the first experimental feature is auto spell correct, which corrects words which are misppelled 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 fetaures to work under this flag. Explicitly allow additional ports using a comma separated list of port numbers. Marks a renderer as extension process. Frequency in seconds for Extensions auto-update. Should we use an external Autofill popup? Default is no.

--experimental-spellchecker-features

--explicitly-allowed-ports --extension-process --extensions-update-frequency --external-autofill-popup

Condition --extra-plugin-dir --feedback-server --file-descriptor-limit --filemgr-ext-path[2] --first-run --flag-switches-begin --flag-switches-end --focus-existing-tab-on-open --force-apps-promo-visible --force-compositing-mode

Explanation Load NPAPI plugins from the specified directory. Alternative feedback server to use when submitting user feedback 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. Enables overriding the path off file manager extension. Display the First Run experience when the browser is started, regardless of whether or not it's actually the first run. 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. No description If true opening a url from the omnibox attepts to focus an existing tab. Forces the apps/webstore promo to be shown, independent of whether it has timed out, etc. Useful for testing. If accelerated compositing is supported, always enter compositing mode for the base layer even when compositing is not strictly required. Some field tests may rendomized in the browser, and the randomly selected outcome needs to be propogated 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. 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. Generates full memory crash dump. Specify the backend server used for gaia authentications, like sync or policies for example. The https:// prefix and the trailing slash should be omitted. The default value is "www.google.com". Enables using GAIA information to populate profile name and icon. Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. 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. Makes this process a GPU sub-process. Causes the GPU process to display a dialog on launch. Specifies a custom name for the GSSAPI library to load. No description

--force-fieldtest

--force-renderer-accessibility --full-memory-crash-report --gaia-host --gaia-profile-info --gpu-launcher --gpu-no-context-lost --gpu-process --gpu-startup-dialog --gssapi-library-name --h

Condition --help --hidden --hide-icons --homepage --host-resolver-parallelism --host-resolver-retry-attempts --host-resolver-rules

Explanation These flags show the man page on Linux. They are equivalent to each other. The field trial is forced into the HIDDEN_EXPERIMENT group. Make 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. The value of this switch 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. The maximum number of concurrent host resolve requests (i.e. DNS) to allow. The maximum number of retry attempts to resolve the host. Set this to zero to disable host resolver retry attempts. These mappings only apply to the host resolver. 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). This switch will take the JSON-formatted HSTS specification and load it as if it were a preloaded HSTS entry. It will take 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 related errors. Ignores GPU blacklist. Perform importing from another browser. The value associated with this setting encodes the target browser and what items to import. Perform bookmark importing from an HTML file. The value associated with this setting encodes the file path. It may be used jointly with kImport. Run the GPU process as a thread in the browser process. Runs plugins inside the renderer process Runs WebGL inside the renderer process. Causes the browser to launch directly in incognito mode. The field trial is forced into the INSTANT_EXPERIMENT group. Control the Instant field trial. Valid values are defined below. If an unknown value is supplied on the command line, the field trial is disabled. URL to use for instant. If specified this overrides the url from the TemplateURL. Specifies the flags passed to JS engine

--host-rules

--hsts-hosts --ignore-certificate-errors --ignore-gpu-blacklist --import --import-from-file --in-process-gpu --in-process-plugins --in-process-webgl --incognito --instant --instant-field-trial --instant-url --js-flags

Condition --keep-alive-for-test --kiosk[10] --kiosk-printing[10] --lang[3] --load-component-extension --load-extension --load-opencryptoki --load-plugin --locale_pak --log-level --log-net-log --log-plugin-messages --login-manager --login-profile --login-screen
[3]

Explanation Used for testing - keeps browser alive after last browser window closes. Enable Kiosk mode. Print automatically in kiosk mode. |kKioskMode| must be set as well. See http://crbug.com/31395. Use the given language for UI in the input method candidate window. Comma-separated list of directories with component extensions to load. Load an extension from the specified directory. Load 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 an NPAPI plugin from the specified path. Load the locale resources from the given path. When running on Mac/Unix the path should point to a locale.pak file. Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. Enable displaying net log events on the command line, or writing the events to a separate file if a file name is given. Make plugin processes log their sent and received messages to VLOG(1). Enable Chrome-as-a-login-manager behavior. Specifies a password to be used to login (along with login-user). Specifies the profile to use once a chromeos user is logged in. 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. Allows control over the initial login screen size. Pass width,height. Specifies the user which is already logged in. Allows to emulate situation when user logins with new password. Make Chrome default browser Set the maximum concurrent streams over a SPDY session. Set the maximum SPDY sessions per domain. Forces the maximum disk space to be used by the media cache, in bytes. Enable dynamic loading of the Memory Profiler DLL, which will trace all memory allocations during the run. Shows a memory consumption status area widget for OOM debugging.

--login-password[3]
[3]

[3]

--login-screen-size[3] --login-user
[3]

--login-user-with-new-password[3] --make-default-browser --max-spdy-concurrent-streams --max-spdy-sessions-per-domain --media-cache-size --memory-profile --memory-widget[3]

Condition --message-loop-histogrammer

Explanation Enable 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. 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. No description Enables multiprofile Chrome. Causes the process to run as a NativeClient broker (used for launching NaCl loader processes on 64-bit Windows). Sets the default IP address (interface) for the stub (normally 127.0.0.1). Sets the default port range for debugging. Causes the process to run as a NativeClient loader. 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". Sets the base logging level for the net log. Log 0 logs the most data. Intended primarily for use with --log-net-log. Launch URL in new browser window. Disables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed. 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. Don't record/playback events when using record & playback. Bypass the First Run experience when the browser is started, regardless of 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. whether or not it's actually the first run. Overrides kFirstRun in case you're for some reason tempted to pass them both. 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. Disable ui::MessageBox. This is useful when running as part of scripts that do not have a user interface. Don't send hyperlink auditing pings

--metrics-recording-only --mock --multi-profiles --nacl-broker --nacl-debug-ip --nacl-debug-ports --nacl-loader --nacl-loader-cmd-prefix --net-log-level --new-window --no-default-browser-check --no-displaying-insecure-content --no-events --no-experiments

--no-first-run

--no-js-randomness

--no-message-box --no-pings

Condition --no-process-singleton-dialog[8] --no-protector --no-proxy-server --no-referrers --no-running-insecure-content --no-sandbox --no-service-autorun --no-startup-window --noerrdialogs --notify-cp-token-expired --ntp-app-install-hint --num-pac-threads --oauth-host-url
[2]

Explanation Bypass the error dialog when the profile lock couldn't be attained. This switch is used during automated testing. Disables the Protector feature. Don't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed. Don't send HTTP-Referer headers. Stronger version of insecure content blocking, for the case where the blocking would only be applied to a whitelist of domains. Switch is expected to become obsolete once the whitelist goes away. Disables the sandbox for all process types that are normally sandboxed. 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. Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps). Suppresses all error dialogs when present. Show a desktop notification that the cloud print token has expired and that user needs to reauthenticate. Shows a [+] at the end of apps pages on the NTP. Specifies the maximum number of threads to use for running the Proxy Autoconfig (PAC) script. URL of the OAuth server host Controls whether the omnibox's HistoryURL provider is aggressive. When the option to block third-party cookies is enabled, only block third-party cookies from being set. Skips all other OOBE pages after user login. Simulate an organic Chrome install. No description Package an extension to a .crx installable file from a given directory. Optional PEM private key is to use in signing packaged .crx. Attempts to perform Chrome OS offline and online login in parallel. Specifies the path to the user data folder for the parent profile.

--omnibox-aggressive-with-history-url --only-block-setting-third-partycookies --oobe-skip-postlogin[2] --organic --osmesa --pack-extension --pack-extension-key --parallel-auth


[3]

--parent-profile --password-store --plugin --plugin-launcher


[11]

Specifies which password store to use (detect, default, gnome, kwallet). Read previously recorded data from the cache. Only cached data is read. See kRecordMode. Causes the process to run as a plugin subprocess. 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"

--playback-mode

Condition --plugin-path --plugin-startup-dialog --ppapi --ppapi-broker --ppapi-flash-args --ppapi-flash-in-process --ppapi-flash-path --ppapi-flash-version --ppapi-out-of-process --ppapi-plugin-launcher --ppapi-startup-dialog --prefetch_only --preload-instant-search --prerender --prerender-from-omnibox --print --process-per-site

Explanation Tells the plugin process the path of the plugin to load Causes the plugin process to display a dialog on launch. Argument to the process type that indicates a PPAPI plugin process type. Argument to the process type that indicates a PPAPI broker process type. "Command-line" arguments for the PPAPI Flash; used for debugging options. Forces the PPAPI version of Flash (if it's being used) to run in the renderer process rather than in a separate plugin process. Use the PPAPI (Pepper) Flash found at the given path. 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". Runs PPAPI (Pepper) plugins out-of-process. Like kPluginLauncher for PPAPI plugins. Causes the PPAPI sub process to display a dialog on launch. prefetch_only: No prerendering, but enable prefetching. Aggressively preload 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). Controls speculative prerendering of pages, and content prefetching. Both are dispatched from <link rel=prefetch href=...> elements. Trigger 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. Prints the pages on the screen. 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). 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). Output the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux. Selects directory of profile to associate with the first browser launched. 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. 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-

--process-per-tab --product-version --profile-directory --profiling-at-start --profiling-file

Condition

Explanation {pid}. 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. Specifies a custom URL for fetching NTP promo data. Force proxy auto-detection. Specify 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. Use the pac script at the given URL Use a specified proxy server, overrides system settings. This switch only affects HTTP and HTTPS requests. 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. 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. Register Pepper plugins (see pepper_plugin_registry.cc for its format). A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h. Reload pages that have been killed when they are next focused by the user. Uses custom front-end URL for the remote debugging. Enable remote debug over HTTP on the specified port. Causes the process to run as renderer instead of as browser. Causes the renderer process to throw an assertion on launch. Causes the renderer process to throw an assertion on launch. 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". Causes the renderer process to crash on launch. Enables print preview in the renderer. This flag is generated internally by Chrome and does nothing when directly passed to the browser. Causes the renderer process to display a dialog on launch. 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.

--profiling-flush --promo-server-url --proxy-auto-detect --proxy-bypass-list --proxy-pac-url --proxy-server --purge-memory-button

--record-mode --register-pepper-plugins --relauncher[5] --reload-killed-tabs --remote-debugging-frontend --remote-debugging-port --renderer --renderer-assert-test --renderer-check-false-test[12] --renderer-cmd-prefix --renderer-crash-test --renderer-print-preview --renderer-startup-dialog --restore-last-session

Condition --safebrowsing-disable-auto-update --safebrowsing-disable-downloadprotection --safebrowsing-info-url-prefix --safebrowsing-mackey-url-prefix --screen-saver-url


[3]

Explanation If present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only. TODO(lzheng): Remove this flag once the feature works fine (http://crbug.com/74848). This flag disables safebrowsing feature that checks download url and download content's hash to make sure the content are not malicious. URL prefix used by safebrowsing to fetch hash, download data and report malware. URL prefix used by safebrowsing to get MAC key. URL of the html page for Screen Saver. Specify the amount the trackpad should scroll by. Enables the showing of an info-bar instructing user they can search directly from the omnibox. Causes the process to run as a service process. The LSID of the account to use for the service process. Sets a token in the token service, for testing. Annotate forms with Autofill field type predictions. Makes component extensions appear in chrome://settings/extensions. Renders a border around composited Render Layers to help debug and study layer compositing. Draws a textual dump of the compositor layer tree to help debug and study layer compositing. Draws a FPS indicator See kHideIcons. Visibly render a border around paint rects in the web page to help debug and study painting behavior. Show volume controls in status bar on ChromeOS. The field trial is forced into the SILENT_EXPERIMENT group. Change the DCHECKS to dump memory and continue instead of displaying error dialog. This is valid only in Release mode when --enable-dcheck is specified. Simulates an update being available. Runs the renderer and plugins in the same process as the browser 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. Skips OAuth part of ChromeOS login process. Choose the socket reuse policy specified. The value should be of type enum ClientSocketReusePolicy. Start the browser maximized, regardless of any previous settings.

--scroll-pixels[1] --search-in-omnibox-hint --service --service-account-lsid --set-token[2] --show-autofill-type-predictions --show-component-extension-options --show-composited-layer-borders --show-composited-layer-tree --show-fps-counter --show-icons --show-paint-rects --show-volume-status[3] --silent --silent-dump-on-dcheck --simulate-upgrade --single-process --skip-gpu-data-loading --skip-oauth-login[3] --socket-reuse-policy --start-maximized

Condition --stub-cros[3] --stub-cros-settings[3] --suggest --swiftshader --swiftshader-path --sync-allow-insecure-xmppconnection --sync-invalidate-xmpp-login --sync-notification-host --sync-notification-method --sync-promo-version --sync-throw-unrecoverable-error --sync-try-ssltcp-first-for-xmpp --sync-url --syncer-thread-timed-stop --test-child-process --test-gl-lib --test-load-libcros[3] --test-nacl-sandbox --test-name --test-sandbox --test-type --testing-channel --testing-fixed-http-port --testing-fixed-https-port

Explanation 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. 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. The field trial is forced into the SUGGEST_EXPERIMENT group. No description No description Allow insecure XMPP connections for sync (for testing). Invalidate any login info passed into sync's XMPP connection. Override the default host used for sync notifications. Can be either "host" or "host:port". Override the default notification method for sync. Specifies the sync promo version to display. Makes the sync code to throw an unrecoverable error after initialization. Useful for testing unrecoverable error scenarios. Try to connect to XMPP using SSLTCP first (for testing). Override the default server used for profile sync. 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. When running certain tests that spawn child processes, this switch indicates to the test framework that the current process is a child process. 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. Attempts to load libcros and validate it, then exits. A nonzero return code means the library could not be loaded correctly. Runs the security test for the NaCl loader sandbox. Pass the name of the current running automated test to Chrome. Runs the security test for the renderer sandbox. Pass the type of the current test harness ("browser" or "ui") The value of this switch tells the app to listen for and broadcast testing-related messages on IPC channel with the given ID. Allows for forcing socket connections to http/https to use fixed ports. No description

Condition --touch-devices[13] --touch-optimized-ui

Explanation 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'. Enables UI changes that make it easier to use with a touchscreen. 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). 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. 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. Experimental. Shows a dialog asking the user to try chrome. This flag is to be used only by the upgrade process. 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. Runs un-installation steps that were done by chrome first-run. Uninstall an extension with the specified extension id. 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 mock keychain for testing purposes, which prevents blocking dialogs from causing timeouts. Use WebUI versions of dialogs when available (rather than platform native implementations). Use PulseAudio instead of ALSA on Linux. Use a pure Views implementation when available (rather rather than platform native implementation such as GTK). Use Spdy for the transport protocol instead of HTTP. This is a temporary testing flag. Use the system SSL library (Secure Transport on Mac, SChannel on Windows) instead of NSS for SSL. A string used to override the default user agent with a custom one. Specifies the user data directory, which is where the browser will look for all of its state. Causes the process to run as a utility subprocess. The utility process is sandboxed, with access to one directory. This flag specifies the directory that can be accessed.

--trace-startup

--trace-startup-duration

--trace-startup-file

--try-chrome-again --type --uninstall --uninstall-extension --use-gl --use-mock-keychain[5] --use-more-webui --use-pulseaudio --use-pure-views --use-spdy --use-system-ssl[14] --user-agent --user-data-dir --utility --utility-allowed-dir

Condition --utility-cmd-prefix --v --version --video-threads

Explanation 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". Gives the default maximal active V-logging level; 0 is the default. Normally positive values are used for V-logging levels. Print version information and quit. Set number of threads to use for video decoding. 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. Will wait for 60 seconds for a debugger to come to attach to the process. 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. Causes the worker process allocation to use as many processes as cores. Causes workers to run together in one process, depending on their domains. Note this is duplicated in webworkerclient_impl.cc Choose which logging channels in WebCore to activate. See Logging.cpp in WebKit's WebCore for a list of available channels. 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. Enable WebUI based login screens. Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium's network stack to fetch, and V8 to evaluate. Causes the process to run as a worker subprocess.

--vmodule

--wait-for-debugger --wait-for-debugger-children --web-worker-process-per-core --web-worker-share-processes --webcore-log-channels --websocket-live-experiment-host[2] --webui-login[3] --winhttp-proxy-resolver --worker

--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. 2. 3. 4. 5. 6. 7. The The The The The The The constant constant constant constant constant constant constant OS_LINUX must be defined. NDEBUG must not be defined. OS_CHROMEOS must be defined. TOOLKIT_VIEWS must be defined. OS_MACOSX must be defined. OS_CHROMEOS must not be defined, and the constant GOOGLE_CHROME_BUILD must be defined. OS_POSIX must not be defined, and the constants OS_CHROMEOS and OS_MACOSX must be defined.

8. The constant OS_POSIX must be defined. 9. The constant OS_WIN must be defined. 10. The constant OS_MACOSX must not be defined. 11. The constants OS_CHROMEOS and OS_MACOSX must not be defined. 12. The constant OFFICIAL_BUILD must not be defined. 13. The constant HAVE_XINPUT2 must be defined. 14. The constants OS_MACOSX and OS_WIN must be defined. Sources: chrome_switches.cc, generated JSON data and my generator source-code. The list will automagically be updated around midnight GMT. RSS Feed?

Latest Articles

Mutation Observers, Reversed Anim..Tuesday 14 February 2012 - 2 comments Bringing Google Chrome to AndroidTuesday 7 February 2012 - 17 comments Chromium 19, Scoped Stylesheets a..Monday 6 February 2012 - 3 comments

My Whereabouts
@beverloo LinkedIn Tweakers LVPlayground Facebook Hyves

About this site


The personal weblog and portfolio of Peter Beverloo, with content that mostly focusses on his work, interests and hobbies. Fronteers Zend Certification

About Peter
He's a 21 year old Dutch developer with an interest in (web) development, browsers, standards and photography. More about Peter go to top Copyright 2010 Peter Beverloo weblog powered by WordPress (21 queries | 0.034 seconds)

S-ar putea să vă placă și