chromium-browser command line options [chromium/chrome 命令模式下 參數]

chromium-browser command line options [chromium/chrome 命令模式下 參數]

chromium-browser command line options [chromium/chrome 命令模式下
參數
]


資料來源: https://peter.sh/experiments/chromium-command-line-switches/


–/prefetch:1[1] 

/prefetch:#
arguments to use when launching various process types. It has been observed
that when file reads are consistent for 3 process launches with the same
/prefetch:# argument, the Windows prefetcher starts issuing reads in batch at
process launch. Because re
ads depend on the process type, the prefetcher
wouldn’t be able to observe consistent reads if no /prefetch:# arguments were
used. Note that the browser process has no /prefetch:# argument; as such all
other processes must have one in order to avoid polluting its profile. Note:
# must always be in [1, 8]; otherwise it is ignored by the Windows
prefetcher. 

–/prefetch:2[1] 

No
description
 

–/prefetch:3[1] 

No
description
 

–/prefetch:4[1] 

No
description
 

–/prefetch:5[1] 

/prefetch:#
arguments for the browser process launched in background mode and for the
watcher process. Use profiles 5, 6 and 7 as documented on kPrefetchArgument* in
content_switches.cc. 

–/prefetch:6[1] 

No
description
 

–/prefetch:8[1] 

Prefetch
arguments are used by the Windows prefetcher to disambiguate different
execution modes (i.e. process types) of the same executable image so that
different types of processes don’t trample each others’ prefetch behavior.
Legal values are integers in the range [1, 8]. We reserve 8 to mean
“whatever”, and this will ultimately lead to processes with
/prefetch:8 having inconsistent behavior thus disabling prefetch in practice.
TODO(rockot): Make it possible for embedders to override this argument on a
per-service basis. 

–10000 

No description 

–100000 

No
description
 

–1000000 

No
description
 

–3d-display-mode[1] 

No
description
 

–50000 

No
description
 

–500000 

No
description
 

–5000000 

No
description
 

–? 

No
description
 

–accept-resource-provider 

Flag
indicating that a resource provider must be set up to provide cast receiver
with resources. Apps cannot start until provided resources. This flag implies
–alsa-check-close-timeout=0. 

–adaboost 

No
description
 

–add-gpu-appcontainer-caps[1] 

Add
additional capabilities to the AppContainer sandbox on the GPU process. 

–add-xr-appcontainer-caps[1] 

Add
additional capabilities to the AppContainer sandbox used for XR
compositing. 

–additional-trust-token-key-commitments 

Manually
sets additional Trust Tokens key commitments in the network service to the
given value, which should be a JSON dictionary satisfying the requirements of
TrustTokenKeyCommitmentParser::ParseMultipleIssuers. These keys are available
in addition to keys provided by the most recent call to
TrustTokenKeyCommitments::Set. For issuers with keys provided through both
the command line and TrustTokenKeyCommitments::Set, the keys provided through
the command line take precedence. This is because someone testing manually
might want to pass additional keys via the command line to a real Chrome
release with the component updater enabled, and it would be surprising if the
manually-passed keys were overwritten some time after startup when the
component updater runs. 

–agc-startup-min-volume 

Override the
default minimum starting volume of the Automatic Gain Control algorithm in
WebRTC used with audio tracks from getUserMedia. The valid range is 12-255.
Values outside that range will be clamped to the lowest or highest valid
value inside WebRTC. TODO(tommi): Remove this switch when crbug.com/555577 is
fixed. 

–aggressive 

No
description
 

–aggressive-cache-discard 

No
description
 

–aggressive-tab-discard 

No
description
 

–all 

No
description
 

–all-renderers 

No
description
 

–allarticles 

No
description
 

–allow-cross-origin-auth-prompt 

Allows
third-party content included on a page to prompt for a HTTP basic auth
username/password pair. 

–allow-external-pages 

Allow access
to external pages during web tests. 

–allow-failed-policy-fetch-for-test 

If this flag
is passed, failed policy fetches will not cause profile initialization to
fail. This is useful for tests because it means that tests don’t have to mock
out the policy infrastructure. 

–allow-file-access-from-files 

By default,
file:// URIs cannot read other file:// URIs. This is an override for
developers who need the old behavior for testing. 

–allow-http-background-page 

Allows
non-https URL for background_page for hosted apps. 

–allow-http-screen-capture 

Allow
non-secure origins to use the screen capture API and the desktopCapture
extension API. 

–allow-insecure-localhost 

Enables
TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of
requests). 

–allow-legacy-extension-manifests 

Allows the
browser to load extensions that lack a modern manifest when that would
otherwise be forbidden. 

–allow-loopback-in-peer-connection 

Allows
loopback interface to be added in network list for peer connection. 

–allow-nacl-crxfs-api[2] 

Specifies
comma-separated list of extension ids or hosts to grant access to CRX file
system APIs. 

–allow-nacl-file-handle-api[2] 

Specifies
comma-separated list of extension ids or hosts to grant access to file handle
APIs. 

–allow-nacl-socket-api[2] 

Specifies
comma-separated list of extension ids or hosts to grant access to TCP/UDP
socket APIs. 

–allow-no-sandbox-job 

Enables the
sandboxed processes to run without a job object assigned to them. This flag
is required to allow Chrome to run in RemoteApps or Citrix. This flag can
reduce the security of the sandboxed processes and allow them to do certain
API calls like shut down Windows or access the clipboard. Also we lose the
chance to kill some processes until the outer job that owns them
finishes. 

–allow-outdated-plugins 

Don’t block
outdated plugins. 

–allow-popups-during-page-unload 

Allow a page
to show popups during its unloading. TODO(https://crbug.com/937569): Remove
this in Chrome 88. 

–allow-pre-commit-input 

Allows
processing of input before a frame has been committed. TODO(schenney):
crbug.com/987626. Used by headless. Look for a way not involving a command
line switch. 

–allow-profiles-outside-user-dir 

Allows
profiles to be created outside of the user data dir.
TODO(https://crbug.com/1060366): Various places in Chrome assume that all
profiles are within the user data dir. Some tests need to violate that
assumption. The switch should be removed after this workaround is no longer
needed. 

–allow-ra-in-dev-mode 

Allows
remote attestation (RA) in dev mode for testing purpose. Usually RA is
disabled in dev mode because it will always fail. However, there are cases in
testing where we do want to go through the permission flow even in dev mode.
This can be enabled by this flag. 

–allow-running-insecure-content 

No
description
 

–allow-sandbox-debugging 

Allows
debugging of sandboxed processes (see zygote_main_linux.cc). 

–allow-silent-push 

Allows Web
Push notifications that do not show a notification. 

–allow-sync-xhr-in-page-dimissal 

Allow a page
to send synchronus XHR during its unloading. TODO(https://crbug.com/1003101):
Remove this in Chrome 88. 

–allow-third-party-modules[1] 

Allows third
party modules to inject by disabling the BINARY_SIGNATURE mitigation policy
on Win10+. Also has other effects in ELF. 

–allow-unsecure-dlls[3] 

Don’t allow
EnableSecureDllLoading to run when this is set. This is only to be used in
tests. 

–alsa-amp-device-name 

Name of the
device the amp mixer should be opened on. If this flag is not specified it
will default to the same device as kAlsaVolumeDeviceName. 

–alsa-amp-element-name 

Name of the
simple mixer control element that the ALSA-based media library should use to
toggle powersave mode on the system. 

–alsa-check-close-timeout 

Time in ms
to wait before closing the PCM handle when no more mixer inputs remain.
Assumed to be 0 if –accept-resource-provider is present. 

–alsa-enable-upsampling 

Flag that
enables resampling audio with sample rate below 32kHz up to 48kHz. Should be
set to true for internal audio products. 

–alsa-fixed-output-sample-rate 

Optional
flag to set a fixed sample rate for the alsa device. Deprecated: Use
–audio-output-sample-rate instead. 

–alsa-input-device[4] 

The Alsa
device to use when opening an audio input stream. 

–alsa-mute-device-name 

Name of the
device the mute mixer should be opened on. If this flag is not specified it
will default to the same device as kAlsaVolumeDeviceName. 

–alsa-mute-element-name 

Name of the
simple mixer control element that the ALSA-based media library should use to
mute the system. 

–alsa-output-avail-min 

Minimum
number of available frames for scheduling a transfer. 

–alsa-output-buffer-size 

Size of the
ALSA output buffer in frames. This directly sets the latency of the output
device. Latency can be calculated by multiplying the sample rate by the
output buffer size. 

–alsa-output-device[4] 

The Alsa
device to use when opening an audio stream. 

–alsa-output-period-size 

Size of the
ALSA output period in frames. The period of an ALSA output device determines
how many frames elapse between hardware interrupts. 

–alsa-output-start-threshold 

How many
frames need to be in the output buffer before output starts. 

–alsa-volume-device-name 

Name of the
device the volume control mixer should be opened on. Will use the same device
as kAlsaOutputDevice and fall back to “default” if
kAlsaOutputDevice is not supplied. 

–alsa-volume-element-name 

Name of the
simple mixer control element that the ALSA-based media library should use to
control the volume. 

–also-emit-success-logs 

Also emit
full event trace logs for successful tests. 

–alt1 

The
Chrome-Proxy “exp” directive value used by data reduction proxy to
receive an alternative back end implementation. 

–alt10 

No
description
 

–alt2 

No
description
 

–alt3 

No
description
 

–alt4 

No
description
 

–alt5 

No
description
 

–alt6 

No
description
 

–alt7 

No
description
 

–alt8 

No
description
 

–alt9 

No
description
 

–always-use-complex-text 

Always use
the complex text path for web tests. 

–alwaystrue 

No
description
 

–android-fonts-path 

Uses the
android SkFontManager on linux. The specified directory should include the
configuration xml file with the name “fonts.xml”. This is used in
blimp to emulate android fonts on linux. 

–angle 

No
description
 

–animation-duration-scale 

Scale factor
to apply to every animation duration. Must be >= 0.0. This will only apply
to LinearAnimation and its subclasses. 

–app 

Specifies
that the associated value should be launched in “application”
mode. 

–app-auto-launched 

Specifies
whether an app launched in kiosk mode was auto launched with zero delay. Used
in order to properly restore auto-launched state during session restore
flow. 

–app-cache-force-enabled 

Allows app
cache to be forced on, even when gated by an origin trial. TODO(enne): remove
this once app cache has been removed. 

–app-id 

Specifies
that the extension-app with the specified id should be launched according to
its configuration. 

–app-launch-url-for-shortcuts-menu-item 

Overrides
the launch url of an app with the specified url. This is used along with kAppId
to launch a given app with the url corresponding to an item in the app’s
shortcuts menu. 

–app-mode-auth-code 

Value of
GAIA auth code for –force-app-mode. 

–app-mode-oauth-token 

Value of
OAuth2 refresh token for –force-app-mode. 

–app-mode-oem-manifest 

Path for
app’s OEM manifest file. 

–app-shell-allow-roaming[5] 

Allow
roaming in the cellular network. 

–app-shell-host-window-size[5] 

Size for the
host window to create (i.e. “800×600”). 

–app-shell-preferred-network[5] 

SSID of the
preferred WiFi network. 

–apple 

No
description
 

–apps-gallery-download-url 

The URL that
the webstore APIs download extensions from. Note: the URL must contain one
‘%s’ for the extension ID. 

–apps-gallery-update-url 

The update
url used by gallery/webstore extensions. 

–apps-gallery-url 

The URL to
use for the gallery link in the app launcher. 

–apps-keep-chrome-alive-in-tests[6] 

Prevents
Chrome from quitting when Chrome Apps are open. 

–arc-availability 

Signals ARC
support status on this device. This can take one of the following three
values. – none: ARC is not installed on this device. (default) – installed:
ARC is installed on this device, but not officially supported. Users can
enable ARC only when Finch experiment is turned on. – officially-supported:
ARC is installed and supported on this device. So users can enable ARC via
settings etc. 

–arc-available 

DEPRECATED:
Please use –arc-availability=installed. Signals the availability of the ARC
instance on this device. 

–arc-build-properties 

A JSON
dictionary whose content is the same as cros config’s
/arc/build-properties. 

–arc-data-cleanup-on-start 

Flag that
forces ARC data be cleaned on each start. 

–arc-disable-app-sync 

Flag that
disables ARC app sync flow that installs some apps silently. Used in
autotests to resolve racy conditions. 

–arc-disable-gms-core-cache 

Used in
autotest to disable GMS-core caches which is on by default. 

–arc-disable-locale-sync 

Flag that
disables ARC locale sync with Android container. Used in autotest to prevent
conditions when certain apps, including Play Store may get restarted.
Restarting Play Store may cause random test failures. Enabling this flag
would also forces ARC container to use ‘en-US’ as a locale and ‘en-US,en’ as
preferred languages. 

–arc-disable-play-auto-install 

Flag that
disables ARC Play Auto Install flow that installs set of predefined apps
silently. Used in autotests to resolve racy conditions. 

–arc-disable-system-default-apps 

Used for
development of Android app that are included into ARC++ as system default
apps in order to be able to install them via adb. 

–arc-enable-native-bridge-64bit-support-experiment 

Flag to
enables an experiment to allow users to turn on 64-bit support in native
bridge on systems that have such support available but not yet enabled by
default. 

–arc-force-cache-app-icons 

Flag that
forces ARC to cache icons for apps. 

–arc-force-show-optin-ui 

Flag that
forces the OptIn ui to be shown. Used in tests. 

–arc-packages-cache-mode 

Used in
autotest to specifies how to handle packages cache. Can be copy – copy
resulting packages.xml to the temporary directory. skip-copy – skip initial
packages cache setup and copy resulting packages.xml to the temporary
directory. 

–arc-play-store-auto-update 

Used in
autotest to forces Play Store auto-update state. Can be on – auto-update is
forced on. off – auto-update is forced off. 

–arc-scale 

Set the
scale for ARC apps. This is in DPI. e.g. 280 DPI is ~ 1.75 device scale
factor. See
https://source.android.com/compatibility/android-cdd#3_7_runtime_compatibility
for list of supported DPI values. 

–arc-start-mode 

Defines how
to start ARC. This can take one of the following values: – always-start
automatically start with Play Store UI support. –
always-start-with-no-play-store automatically start without Play Store UI. If
it is not set, then ARC is started in default mode. 

–arc-tos-host-for-tests 

Sets ARC
Terms Of Service hostname url for testing. 

–arc-transition-migration-required 

If this flag
is present then the device had ARC M available and gets ARC N when updating.
TODO(pmarko): Remove this when we assess that it’s not necessary anymore:
crbug.com/761348. 

–as-browser 

Flag to
launch tests in the browser process. 

–ash-color-mode 

Indicates
the current color mode of ash. 

–ash-constrain-pointer-to-root 

Force the
pointer (cursor) position to be kept inside root windows. 

–ash-contextual-nudges-interval 

Overrides
the minimum time that must pass between showing user contextual nudges. Unit
of time is in seconds. 

–ash-contextual-nudges-reset-shown-count 

Reset
contextual nudge shown count on login. 

–ash-debug-shortcuts 

Enable
keyboard shortcuts useful for debugging. 

–ash-dev-shortcuts 

Enable
keyboard shortcuts used by developers only. 

–ash-disable-touch-exploration-mode 

Disable the
Touch Exploration Mode. Touch Exploration Mode will no longer be turned on
automatically when spoken feedback is enabled when this flag is set. 

–ash-enable-cursor-motion-blur 

Enable
cursor motion blur. 

–ash-enable-magnifier-key-scroller 

Enables key
bindings to scroll magnified screen. 

–ash-enable-palette-on-all-displays 

Enables the
palette on every display, instead of only the internal one. 

–ash-enable-software-mirroring 

Enables
software based mirroring. 

–ash-enable-unified-desktop[5] 

Enables
unified desktop mode. 

–ash-enable-v1-app-back-button 

Enables
Backbutton on frame for v1 apps. TODO(oshima): Remove this once the feature
is launched. crbug.com/749713. 

–ash-hide-notifications-for-factory 

Hides notifications
that are irrelevant to Chrome OS device factory testing, such as battery
level updates. 

–ash-host-window-bounds 

Sets a
window size, optional position, and optional scale factor.
“1024×768” creates a window of size 1024×768.
“100+200-1024×768” positions the window at 100,200.
“1024×768*2” sets the scale factor to 2 for a high DPI display.
“800,0+800-800×800” for two displays at 800×800 resolution.
“800,0+800-800×800,0+1600-800×800” for three displays at 800×800
resolution. 

–ash-power-button-position 

Power button
position includes the power button’s physical display side and the percentage
for power button center position to the display’s width/height in
landscape_primary screen orientation. The value is a JSON object containing a
“position” property with the value “left”,
“right”, “top”, or “bottom”. For
“left” and “right”, a “y” property specifies
the button’s center position as a fraction of the display’s height (in [0.0,
1.0]) relative to the top of the display. For “top” and
“bottom”, an “x” property gives the position as a
fraction of the display’s width relative to the left side of the display. 

–ash-side-volume-button-position 

The physical
position info of the side volume button while in landscape primary screen
orientation. The value is a JSON object containing a “region”
property with the value “keyboard”, “screen” and a
“side” property with the value “left”, “right”,
“top”, “bottom”. 

–ash-touch-hud 

Enables the
heads-up display for tracking touch points. 

–attestation-server 

Used in
CryptohomeClient to determine which Google Privacy CA to use for
attestation. 

–audio 

No
description
 

–audio-buffer-size 

Allow users
to specify a custom buffer size for debugging purpose. 

–audio-output-channels 

Number of
audio output channels. This will be used to send audio buffer with specific
number of channels to ALSA and generate loopback audio. Default value is
2. 

–audio-output-sample-rate 

Specify
fixed sample rate for audio output stream. If this flag is not specified the
StreamMixer will choose sample rate based on the sample rate of the media
stream. 

–audio-service-quit-timeout-ms 

Set a
timeout (in milliseconds) for the audio service to quit if there are no
client connections to it. If the value is negative the service never
quits. 

–aue-reached-for-update-required-test 

If this
switch is passed, the device policy DeviceMinimumVersion assumes that the
device has reached Auto Update Expiration. This is useful for testing the
policy behaviour on the DUT. 

–aura-legacy-power-button 

(Most)
Chrome OS hardware reports ACPI power button releases correctly. Standard
hardware reports releases immediately after presses. If set, we lock the
screen or shutdown the system immediately in response to a press instead of
displaying an interactive animation. 

–auth-server-whitelist 

Allowlist
for Negotiate Auth servers. 

–auth-spnego-account-type[7] 

Android
authentication account type for SPNEGO authentication 

–auto 

No
description
 

–auto-open-devtools-for-tabs 

This flag
makes Chrome auto-open DevTools window for each tab. It is intended to be
used by developers and automation to not require user interaction for opening
DevTools. 

–auto-select-desktop-capture-source 

This flag
makes Chrome auto-select the provided choice when an extension asks
permission to start desktop capture. Should only be used for tests. For
instance, –auto-select-desktop-capture-source=”Entire screen” will
automatically select sharing the entire screen in English locales. The switch
value only needs to be substring of the capture source name, i.e. “display”
would match “Built-in display” and “External display”,
whichever comes first. 

–autofill-api-key 

Sets the API
key that will be used when calling Autofill API instead of using Chrome’s
baked key by default. You can use this to test new versions of the API that
are not linked to the Chrome baked key yet. 

–autofill-assistant-auth 

Disables
authentication when set to false. This is only useful during development, as
prod instances require authentication. 

–autofill-assistant-key 

Sets the API
key to be used instead of Chrome’s default key when sending requests to the
backend. 

–autofill-assistant-url 

Overrides
the default backend URL. 

–autofill-ios-delay-between-fields 

The delay
between filling two fields. 

–autofill-metadata-upload-encoding 

The
randomized encoding type to use when sending metadata uploads. The value of
the parameter must be one of the valid integer values of the
AutofillRandomizedValue_EncodingType enum. 

–autofill-server-url 

Override the
default autofill server URL with
“scheme://host[:port]/prefix/”. 

–autofill-upload-throttling-period-in-days 

The number
of days after which to reset the registry of autofill events for which an
upload has been sent. 

–autoplay-policy 

Command line
flag name to set the autoplay policy. 

–autopush 

The command
line alias and URL for the “autopush” environment. 

–back-gesture-horizontal-threshold 

The number
of pixels from the start of a left swipe gesture to consider as a ‘back’
gesture. 

–blink-settings 

Set blink
settings. Format is <name>[=<value],<name>[=<value>],…
The names are declared in Settings.json5. For boolean type, use
“true”, “false”, or omit ‘=<value>’ part to set to
true. For enum type, use the int value of the enum value. Applied after other
command line flags and prefs. 

–block-new-web-contents 

If true,
then all pop-ups and calls to window.open will fail. 

–bootstrap 

Values for
the kExtensionContentVerification flag. See ContentVerifierDelegate::Mode for
more explanation. 

–bottom-gesture-start-height 

The number
of pixels up from the bottom of the screen to consider as a valid origin for
a bottom swipe gesture. If set, overrides the value of both the above
system-gesture-start-height flag and the default value in
cast_system_gesture_handler.cc. 

–browser 

No
description
 

–browser-startup-dialog 

Causes the
browser process to display a dialog on launch. 

–browser-subprocess-path 

Path to the
exe to run for the renderer and plugin subprocesses. 

–browser-test 

Tells
whether the code is running browser tests (this changes the startup URL used
by the content shell and also disables features that can make tests flaky
[like monitoring of memory pressure]). 

–bwsi 

Indicates
that the browser is in “browse without sign-in” (Guest session)
mode. Should completely disable extensions, sync and bookmarks. 

–bypass-app-banner-engagement-checks 

This flag
causes the user engagement checks for showing app banners to be bypassed. It
is intended to be used by developers who wish to test that their sites
otherwise meet the criteria needed to show app banners. 

–cast-app-background-color 

Background
color used when Chromium hasn’t rendered anything yet. 

–cast-initial-screen-height 

No
description
 

–cast-initial-screen-width 

Used to pass
initial screen resolution to GPU process. This allows us to set screen size
correctly (so no need to resize when first window is created). 

–cc-layer-tree-test-long-timeout 

Increases
timeout for memory checkers. 

–cc-layer-tree-test-no-timeout 

Prevents the
layer tree unit tests from timing out. 

–cc-scroll-animation-duration-in-seconds 

Controls the
duration of the scroll animation curve. 

–cdm 

No
description
 

–cellular-first 

If this flag
is set, it indicates that this device is a “Cellular First” device.
Cellular First devices use cellular telephone data networks as their primary
means of connecting to the internet. Setting this flag has two consequences:
1. Cellular data roaming will be enabled by default. 2. UpdateEngine will be
instructed to allow auto-updating over cellular data connections. 

–check-accessibility-permission[8] 

No
description
 

–check-damage-early 

Checks
damage early and aborts the frame if no damage, so that clients like Android
WebView don’t invalidate unnecessarily. 

–check-for-update-interval 

How often
(in seconds) to check for updates. Should only be used for testing
purposes. 

–check-permission[8] 

No
description
 

–check-screen-recording-permission[8] 

No
description
 

–child-wallpaper-large 

Default
large wallpaper to use for kids accounts (as path to trusted,
non-user-writable JPEG file). 

–child-wallpaper-small 

Default
small wallpaper to use for kids accounts (as path to trusted,
non-user-writable JPEG file). 

–chrome-mojo-pipe-token 

The Mojo
pipe token for IPC communication between the Software Reporter and Chrome.
Dropped in M80. 

–ChromeOSMemoryPressureHandling 

The memory
pressure thresholds selection which is used to decide whether and when a
memory pressure event needs to get fired. 

–cipher-suite-blacklist 

Comma-separated
list of SSL cipher suites to disable. 

–clamshell 

Values for
the kAshUiMode flag. 

–class[9] 

The same as
the –class argument in X applications. Overrides the WM_CLASS window
property with the given value. 

–cleaning-timeout 

Set the
timeout for the cleaning phase, in minutes. 0 disables the timeout entirely.
WARNING: this switch is used by internal test systems. Be careful when making
changes. 

–cleanup-id 

Identifier
used to group all reports generated during the same run of the cleaner,
including runs before and after a reboot. The id is generated by the first
cleaner process for a run, and propagated to spawned or scheduled cleaner
processes. A new id will be generated in the first process for a subsequent
cleanup, so cleanups from the same user cannot be tracked over time. 

–clear-key-cdm-path-for-testing 

Specifies
the path to the Clear Key CDM for testing, which is necessary to support
External Clear Key key system when library CDM is enabled. Note that External
Clear Key key system support is also controlled by feature
kExternalClearKeyForTesting. 

–clear-token-service 

Clears the
token service before using it. This allows simulating the expiration of
credentials during testing. 

–cloud-print-file 

Tells chrome
to display the cloud print dialog and upload the specified file for
printing. 

–cloud-print-file-type 

Specifies
the mime type to be used when uploading data from the file referenced by
cloud-print-file. Defaults to “application/pdf” if
unspecified. 

–cloud-print-job-title 

Used with
kCloudPrintFile to specify a title for the resulting print job. 

–cloud-print-print-ticket 

Used with
kCloudPrintFile to specify a JSON print ticket for the resulting print job.
Defaults to null if unspecified. 

–cloud-print-setup-proxy 

Setup cloud
print proxy for provided printers. This does not start service or register
proxy for autostart. 

–cloud-print-url 

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. 

–cloud-print-xmpp-endpoint 

The XMPP
endpoint the cloud print service will use. Only used if the cloud print
service has been enabled. Used for testing. 

–compensate-for-unstable-pinch-zoom 

Enable
compensation for unstable pinch zoom. Some touch screens display significant
amount of wobble when moving a finger in a straight line. This makes two
finger scroll trigger an oscillating pinch zoom. See crbug.com/394380 for
details. 

–compile-shader-always-succeeds 

Always
return success when compiling a shader. Linking will still fail. 

–component-updater 

Comma-separated
options to troubleshoot the component updater. Only valid for the browser
process. 

–connectivity-check-url 

Url for
network connectivity checking. Default is
“https://clients3.google.com/generate_204”. 

–conservative 

No
description
 

–content-directories 

No
description
 

–content-shell-hide-toolbar 

Hides
toolbar from content_shell’s host window. 

–content-shell-host-window-size 

Size for the
content_shell’s host window (i.e. “800×600”). 

–controller 

No
description
 

–conversions-debug-mode 

Causes the
Conversion Measurement API to run without delays or noise. 

–copy-to-download-dir 

Copy user
action data to download directory. 

–cors-exempt-headers 

No
description
 

–crash 

Crash flag
to force a crash right away. Mainly intended for ensuring crashes are
properly recorded by crashpad. 

–crash-dumps-dir 

The
directory breakpad should store minidumps in. 

–crash-handler 

Runs as the
Crashpad handler. 

–crash-loop-before[5] 

A time_t.
Passed by session_manager into the Chrome user session, indicating that if
Chrome crashes before the indicated time, session_manager will consider this
to be a crash-loop situation and log the user out. Chrome mostly just passes
this to crash_reporter if it crashes. 

–crash-on-failure 

When
specified to “enable-leak-detection” command-line option, causes
the leak detector to cause immediate crash when found leak. 

–crash-on-hang-threads 

Comma-separated
list of BrowserThreads that cause browser process to crash if the given
browser thread is not responsive. UI/IO are the BrowserThreads that are
supported. For example: –crash-on-hang-threads=UI:18,IO:18 –> Crash the
browser if UI or IO is not responsive for 18 seconds while the other browser
thread is responsive. 

–crash-server-url 

Server url
to upload crash data to. Default is
“https://clients2.google.com/cr/report” for prod devices. Default
is “https://clients2.google.com/cr/staging_report” for non
prod. 

–crash-test 

Causes the
browser process to crash on startup. 

–crashpad-handler 

A process
type (switches::kProcessType) that indicates chrome.exe or setup.exe is being
launched as crashpad_handler. This is only used on Windows. We bundle the
handler into chrome.exe on Windows because there is high probability of a
“new” .exe being blocked or interfered with by application
firewalls, AV software, etc. On other platforms, crashpad_handler is a
standalone executable. 

–crashpad-handler-pid[10] 

The process
ID of the Crashpad handler. 

–create-browser-on-startup-for-tests 

Some
platforms like ChromeOS default to empty desktop. Browser tests may need to
add this switch so that at least one browser instance is created on startup.
TODO(nkostylev): Investigate if this switch could be removed.
(http://crbug.com/148675) 

–cros-region 

Forces CrOS
region value. 

–cros-regions-mode 

Control
regions data load (“” is default). 

–crosh-command[5] 

Custom crosh
command. 

–cryptauth-http-host 

Overrides
the default URL for Google APIs (https://www.googleapis.com) used by
CryptAuth. 

–cryptauth-v2-devicesync-http-host 

Overrides
the default URL for CryptAuth v2 DeviceSync:
https://cryptauthdevicesync.googleapis.com. 

–cryptauth-v2-enrollment-http-host 

Overrides
the default URL for CryptAuth v2 Enrollment:
https://cryptauthenrollment.googleapis.com. 

–custom-android-messages-domain 

No
description
 

–custom-devtools-frontend 

Specifies
the http:// endpoint which will be used to serve
devtools://devtools/custom/<path> Or a file:// URL to specify a custom
file path to load from for devtools://devtools/bundled/<path> 

–custom-launcher-page 

Specifies
the chrome-extension:// URL for the contents of an additional page added to
the app launcher. 

–custom_summary[7] 

Forces a
custom summary to be displayed below the update menu item. 

–d3d-support[1] 

No
description
 

–d3d11 

No
description
 

–d3d11-null 

Special
switches for “NULL”/stub driver implementations. 

–d3d11on12 

No
description
 

–d3d9 

No
description
 

–daemon 

No
description
 

–dark 

No
description
 

–data-path 

Makes
Content Shell use the given path for its data directory. 

–data-reduction-proxy-client-config 

Uses the
encoded ClientConfig instead of fetching one from the config server. This
value is always used, regardless of error or expiration. The value should be
a base64 encoded binary protobuf. 

–data-reduction-proxy-config-url 

The URL from
which to retrieve the Data Reduction Proxy configuration. 

–data-reduction-proxy-experiment 

The name of
a Data Reduction Proxy experiment to run. These experiments are defined by
the proxy server. Use –force-fieldtrials for Data Reduction Proxy field
trials. 

–data-reduction-proxy-http-proxies 

The
semicolon-separated list of proxy server URIs to override the list of HTTP
proxies returned by the Data Saver API. It is illegal to use
|kDataReductionProxy| or |kDataReductionProxyFallback| switch in conjunction
with |kDataReductionProxyHttpProxies|. If the URI omits a scheme, then the
proxy server scheme defaults to HTTP, and if the port is omitted then the
default port for that scheme is used. E.g. “http://foo.net:80”,
“http://foo.net”, “foo.net:80”, and “foo.net”
are all equivalent. 

–data-reduction-proxy-pingback-url 

No
description
 

–data-reduction-proxy-secure-proxy-check-url 

Sets a
secure proxy check URL to test before committing to using the Data Reduction
Proxy. Note this check does not go through the Data Reduction Proxy. 

–data-reduction-proxy-server-experiments-disabled 

Disables
server experiments that may be enabled through field trial. 

–dbus-stub 

Forces the
stub implementation of D-Bus clients. 

–de-jelly-screen-width 

Screen width
is useful for debugging. Shipping implementations should detect this. 

–deadline-to-synchronize-surfaces 

The default
number of the BeginFrames to wait to activate a surface with
dependencies. 

–debug-devtools 

Run devtools
tests in debug mode (not bundled and minified) 

–debug-enable-frame-toggle 

Enables a
frame context menu item that toggles the frame in and out of glass mode
(Windows Vista and up only). 

–debug-packed-apps 

Adds
debugging entries such as Inspect Element to context menus of packed
apps. 

–debug-print[11] 

Enables
support to debug printing subsystem. 

–default 

No
description
 

–default-background-color 

The
background color to be used if the page doesn’t specify one. Provided as RGBA
integer value in hex, e.g. ‘ff0000ff’ for red or ‘00000000’ for
transparent. 

–default-country-code[7] 

Default
country code to be used for search engine localization. 

–default-tile-height 

No
description
 

–default-tile-width 

Sets the
tile size used by composited layers. 

–default-wallpaper-is-oem 

Indicates
that the wallpaper images specified by kAshDefaultWallpaper{Large,Small} are
OEM-specific (i.e. they are not downloadable from Google). 

–default-wallpaper-large 

Default
large wallpaper to use (as path to trusted, non-user-writable JPEG
file). 

–default-wallpaper-small 

Default
small wallpaper to use (as path to trusted, non-user-writable JPEG
file). 

–deny-permission-prompts 

Prevents
permission prompts from appearing by denying instead of showing
prompts. 

–derelict-detection-timeout 

Time in
seconds before a machine at OOBE is considered derelict. 

–derelict-idle-timeout 

Time in
seconds before a derelict machines starts demo mode. 

–desktop 

No
description
 

–desktop-window-1080p 

When
present, desktop cast_shell will create 1080p window (provided display
resolution is high enough). Otherwise, cast_shell defaults to 720p. 

–deterministic-mode 

A meta flag.
This sets a number of flags which put the browser into deterministic mode
where begin frames should be issued over DevToolsProtocol
(experimental). 

–device-management-url 

Specifies
the URL at which to communicate with the device management backend to fetch
configuration policies and perform other device tasks. 

–device-scale-factor[1] 

Device scale
factor passed to certain processes like renderers, etc. 

–devtools-flags 

Passes
command line parameters to the DevTools front-end. 

–diagnostics 

Triggers a
plethora of diagnostic modes. 

–diagnostics-format 

Sets the
output format for diagnostic modes enabled by diagnostics flag. 

–diagnostics-recovery 

Tells the
diagnostics mode to do the requested recovery step(s). 

–disable-2d-canvas-clip-aa 

Disable
antialiasing on 2d canvas clips 

–disable-2d-canvas-image-chromium 

Disables
Canvas2D rendering into a scanout buffer for overlay support. 

–disable-3d-apis 

Disables
client-visible 3D APIs, in particular WebGL and Pepper 3D. This is controlled
by policy and is kept separate from the other enable/disable switches to
avoid accidentally regressing the policy support for controlling access to
these APIs. 

–disable-accelerated-2d-canvas 

Disable
gpu-accelerated 2d canvas. 

–disable-accelerated-mjpeg-decode 

Disable
hardware acceleration of mjpeg decode for captured frame, where
available. 

–disable-accelerated-video-decode 

Disables
hardware acceleration of video decode, where available. 

–disable-accelerated-video-encode 

Disables
hardware acceleration of video encode, where available. 

–disable-and-delete-previous-log 

Disable cros
action logging. 

–disable-angle-features 

Disables
specified comma separated ANGLE features if found. 

–disable-app-list-dismiss-on-blur 

If set, the
app list will not be dismissed when it loses focus. This is useful when
testing the app list or a custom launcher page. It can still be dismissed via
the other methods (like the Esc key). 

–disable-arc-cpu-restriction 

Prevents any
CPU restrictions being set on the ARC container. Only meant to be used by
tests as some tests may time out if the ARC container is throttled. 

–disable-arc-data-wipe 

Disables
android user data wipe on opt out. 

–disable-arc-opt-in-verification 

Disables ARC
Opt-in verification process and ARC is enabled by default. 

–disable-audio-output 

No
description
 

–disable-audio-support-for-desktop-share 

No
description
 

–disable-auto-reload 

Disable
auto-reload of error pages. 

–disable-auto-wpt-origin-isolation 

Disables the
automatic origin isolation of web platform test domains. We normally
origin-isolate them for better test coverage, but tests of opt-in origin
isolation need to disable this. 

–disable-avfoundation-overlays[6] 

Disable use
of AVFoundation to draw video content. 

–disable-ax-menu-list 

Optionally
disable AXMenuList, which makes the internal pop-up menu UI for a select
element directly accessible. 

–disable-back-forward-cache 

Disables the
BackForwardCache feature. 

–disable-background-media-suspend 

Do not
immediately suspend media in background tabs. 

–disable-background-networking 

Disable
several subsystems which run network requests in the background. This is for
use when doing network performance testing to avoid noise in the
measurements. 

–disable-background-timer-throttling 

Disable task
throttling of timer tasks from background pages. 

–disable-backgrounding-occluded-windows 

Disable
backgrounding renders for occluded windows. Done for tests to avoid
nondeterministic behavior. 

–disable-backing-store-limit 

Disable
limits on the number of backing stores. Can prevent blinking for users with
many windows/tabs and lots of memory. 

–disable-best-effort-tasks 

Delays
execution of TaskPriority::BEST_EFFORT tasks until shutdown. 

–disable-blink-features 

Disable one
or more Blink runtime-enabled features. Use names from
runtime_enabled_features.json5, separated by commas. Applied after
kEnableBlinkFeatures, and after other flags that change these features. 

–disable-breakpad 

Disables the
crash reporting. 

–disable-bundled-ppapi-flash 

Disables the
bundled PPAPI version of Flash. 

–disable-cancel-all-touches[12] 

Disable
CancelAllTouches() function for the implementation on cancel single
touches. 

–disable-canvas-aa 

Disable
antialiasing on 2d canvas. 

–disable-checker-imaging 

Disabled
defering all image decodes to the image decode service, ignoring DecodingMode
preferences specified on PaintImage. 

–disable-checking-optimization-guide-user-permissions 

No
description
 

–disable-client-side-phishing-detection 

Disables the
client-side phishing detection feature. Note that even if client-side
phishing detection is enabled, it will only be active if the user has opted
in to UMA stats and SafeBrowsing is enabled in the preferences. 

–disable-component-cloud-policy 

Disables
fetching and storing cloud policy for components. 

–disable-component-extensions-with-background-pages 

Disable
default component extensions with background pages – useful for performance
tests where these pages may interfere with perf results. 

–disable-component-update 

No
description
 

–disable-composited-antialiasing 

Disables
layer-edge anti-aliasing in the compositor. 

–disable-cookie-encryption 

Whether
cookies stored as part of user profile are encrypted. 

–disable-crash-reporter 

Disable
crash reporter for headless. It is enabled by default in official
builds. 

–disable-d3d11 

Disables use
of D3D11. 

–disable-databases 

Disables
HTML5 DB support. 

–disable-default-apps 

Disables
installation of default apps on first run. This is used during automated
testing. 

–disable-demo-mode 

Disables the
Chrome OS demo. 

–disable-dev-shm-usage[13] 

The /dev/shm
partition is too small in certain VM environments, causing Chrome to fail or
crash (see http://crbug.com/715363). Use this flag to work-around this issue
(a temporary directory will always be used to create anonymous shared memory
files). 

–disable-device-disabling 

If this
switch is set, the device cannot be remotely disabled by its owner. 

–disable-device-discovery-notifications 

Disables
device discovery notifications. 

–disable-dinosaur-easter-egg 

Disables the
dinosaur easter egg on the offline interstitial. 

–disable-direct-composition 

Disables
DirectComposition surface. 

–disable-direct-composition-video-overlays 

Disables
using DirectComposition video overlays, even if hardware overlays are
supported. 

–disable-domain-blocking-for-3d-apis 

Disable the
per-domain blocking for 3D APIs after GPU reset. This switch is intended only
for tests. 

–disable-domain-reliability 

Disables
Domain Reliability Monitoring. 

–disable-dwm-composition 

Disables use
of DWM composition for top level windows. 

–disable-encryption-migration 

Disable
encryption migration for user’s cryptohome to run latest Arc. 

–disable-enterprise-policy 

Disables
enterprise policy support. 

–disable-es3-gl-context 

Disables use
of ES3 backend (use ES2 backend instead). 

–disable-es3-gl-context-for-testing 

Disables use
of ES3 backend at a lower level, for testing purposes. This isn’t guaranteed
to work everywhere, so it’s test-only. 

–disable-experimental-accessibility-chromevox-language-switching 

Disables
ChromeVox language switching feature. 

–disable-experimental-accessibility-chromevox-search-menus 

Disables
ChromeVox search menus feature. 

–disable-explicit-dma-fences 

Disable
explicit DMA-fences 

–disable-extensions 

Disable
extensions. 

–disable-extensions-except 

Disable
extensions except those specified in a comma-separated list. 

–disable-extensions-file-access-check 

Disable
checking for user opt-in for extensions that want to inject script into file
URLs (ie, always allow it). This is used during automated testing. 

–disable-extensions-http-throttling 

Disable the
net::URLRequestThrottlerManager functionality for requests originating from
extensions. 

–disable-features 

Comma-separated
list of feature names to disable. See also kEnableFeatures. 

–disable-fetching-hints-at-navigation-start 

No
description
 

–disable-field-trial-config 

Disable
field trial tests configured in fieldtrial_testing_config.json. 

–disable-file-system 

Disable
FileSystem API. 

–disable-fine-grained-time-zone-detection 

Disables
fine grained time zone detection. 

–disable-flash-3d 

Disable 3D
inside of flapper. 

–disable-flash-stage3d 

Disable
Stage3D inside of flapper. 

–disable-font-subpixel-positioning 

Force
disables font subpixel positioning. This affects the character glyph
sharpness, kerning, hinting and layout. 

–disable-frame-rate-limit 

Disables
begin frame limiting in both cc scheduler and display scheduler. Also implies
–disable-gpu-vsync (see //ui/gl/gl_switches.h). 

–disable-gaia-services 

Disables
GAIA services such as enrollment and OAuth session restore. Used by ‘fake’
telemetry login. 

–disable-gesture-requirement-for-presentation 

Disable user
gesture requirement for presentation. 

–disable-gl-drawing-for-tests 

Disables GL
drawing operations which produce pixel output. With this the GL output will
not be correct but tests will run faster. 

–disable-gl-error-limit 

Disable the
GL error log limit. 

–disable-gl-extensions 

Disables
specified comma separated GL Extensions if found. 

–disable-glsl-translator 

Disable the
GLSL translator. 

–disable-gpu 

Disables GPU
hardware acceleration. If software renderer is not in place, then the GPU
process won’t launch. 

–disable-gpu-compositing 

Prevent the
compositor from using its GPU implementation. 

–disable-gpu-driver-bug-workarounds 

Disable
workarounds for various GPU driver bugs. 

–disable-gpu-early-init 

Disable
proactive early init of GPU process. 

–disable-gpu-memory-buffer-compositor-resources 

Do not force
that all compositor resources be backed by GPU memory buffers. 

–disable-gpu-memory-buffer-video-frames 

Disable
GpuMemoryBuffer backed VideoFrames. 

–disable-gpu-process-crash-limit 

For tests,
to disable the limit on the number of times the GPU process may be
restarted. 

–disable-gpu-process-for-dx12-info-collection 

Disables the
non-sandboxed GPU process for DX12 info collection 

–disable-gpu-program-cache 

Turn off gpu
program caching 

–disable-gpu-rasterization 

Disable GPU
rasterization, i.e. rasterize on the CPU only. Overrides the
kEnableGpuRasterization flag. 

–disable-gpu-sandbox 

Disables the
GPU process sandbox. 

–disable-gpu-shader-disk-cache 

Disables the
GPU shader on disk cache. 

–disable-gpu-vsync 

Stop the GPU
from synchronizing presentation with vblank. 

–disable-gpu-watchdog 

Disable the
thread that crashes the GPU process if it stops responding to messages. 

–disable-hang-monitor 

Suppresses
hang monitor dialogs in renderer processes. This may allow slow unload
handlers on a page to prevent the tab from closing, but the Task Manager can
be used to terminate the offending process in this case. 

–disable-headless-mode 

Disables the
shell from beginning in headless mode. Tests will then attempt to use the
hardware GPU for rendering. This is only followed when kRunWebTests is
set. 

–disable-hid-detection-on-oobe 

Disables
HID-detection OOBE screen. 

–disable-highres-timer[1] 

Disable
high-resolution timer on Windows. 

–disable-histogram-customizer 

Disable the
RenderThread’s HistogramCustomizer. 

–disable-hosted-app-shim-creation[6] 

Disables app
shim creation for hosted apps on Mac. 

–disable-image-animation-resync 

Disallow
image animations to be reset to the beginning to avoid skipping many frames.
Only effective if compositor image animations are enabled. 

–disable-in-process-stack-traces 

Disables the
in-process stack traces. 

–disable-ios-password-suggestions 

Disable
showing available password credentials in the keyboard accessory view when
focused on form fields. 

–disable-ipc-flooding-protection 

Disables the
IPC flooding protection. It is activated by default. Some javascript
functions can be used to flood the browser process with IPC. This protection
limits the rate at which they can be used. 

–disable-javascript-harmony-shipping 

Disable
latest shipping ECMAScript 6 features. 

–disable-kill-after-bad-ipc 

Don’t kill a
child process when it sends a bad IPC message. Apart from testing, it is a
bad idea from a security perspective to enable this switch. 

–disable-layer-tree-host-memory-pressure 

Disables
LayerTreeHost::OnMemoryPressure 

–disable-lcd-text 

Disables LCD
text. 

–disable-legacy-window[1] 

Disable the
Legacy Window which corresponds to the size of the WebContents. 

–disable-local-storage 

Disable
LocalStorage. 

–disable-logging 

Force
logging to be disabled. Logging is enabled by default in debug builds. 

–disable-logging-redirect[5] 

Disables
logging redirect for testing. 

–disable-login-animations 

Avoid doing
expensive animations upon login. 

–disable-login-screen-apps[5] 

Disables
apps on the login screen. By default, they are allowed and can be installed
through policy. 

–disable-low-end-device-mode 

Force
disabling of low-end device mode when set. 

–disable-low-latency-dxva 

Disables
using CODECAPI_AVLowLatencyMode when creating DXVA decoders. 

–disable-low-res-tiling 

When using
CPU rasterizing disable low resolution tiling. This uses less power, particularly
during animations, but more white may be seen during fast scrolling
especially on slower devices. 

–disable-mac-overlays[6] 

Fall back to
using CAOpenGLLayers display content, instead of the IOSurface based overlay
display path. 

–disable-machine-cert-request 

Disables
requests for an enterprise machine certificate during attestation. 

–disable-main-frame-before-activation 

Disables
sending the next BeginMainFrame before the previous commit activates.
Overrides the kEnableMainFrameBeforeActivation flag. 

–disable-media-session-api[7] 

Disable
Media Session API 

–disable-metal-test-shaders 

No
description
 

–disable-modal-animations[6] 

Disable
animations for showing and hiding modal dialogs. 

–disable-mojo-renderer 

Rather than
use the renderer hosted remotely in the media service, fall back to the
default renderer within content_renderer. Does not change the behavior of the
media service. 

–disable-multi-display-layout 

Disables the
multiple display layout UI. 

–disable-namespace-sandbox 

Disables
usage of the namespace sandbox. 

–disable-new-content-rendering-timeout 

Disables
clearing the rendering output of a renderer when it didn’t commit new output
for a while after a top-frame navigation. 

–disable-notifications 

Disables the
Web Notification and the Push APIs. 

–disable-nv12-dxgi-video 

Disables the
video decoder from drawing to an NV12 textures instead of ARGB. 

–disable-offer-store-unmasked-wallet-cards 

Force hiding
the local save checkbox in the autofill dialog box for getting the full
credit card number for a wallet card. The card will never be stored
locally. 

–disable-oop-rasterization 

Disables OOP
rasterization. Takes precedence over the enable flag. 

–disable-oopr-debug-crash-dump[7] 

Disables
debug crash dumps for OOPR. 

–disable-oor-cors 

Disable
OOR-CORS in child processes regardless of the base::Feature flag. 

–disable-origin-trial-controlled-blink-features 

Disables all
RuntimeEnabledFeatures that can be enabled via OriginTrials. 

–disable-overscroll-edge-effect[7] 

Disable
overscroll edge effects like those found in Android views. 

–disable-partial-raster 

Disable
partial raster in the renderer. Disabling this switch also disables the use
of persistent gpu memory buffers. 

–disable-pepper-3d 

Disable
Pepper3D. 

–disable-pepper-3d-image-chromium 

Disable
Image Chromium for Pepper 3d. 

–disable-per-user-timezone 

Disables
per-user timezone. 

–disable-permissions-api 

Disables the
Permissions API. 

–disable-pinch 

Disables
compositor-accelerated touch-screen pinch gestures. 

–disable-pnacl-crash-throttling 

Disables
crash throttling for Portable Native Client. 

–disable-popup-blocking 

Disables
pop-up blocking. 

–disable-prefer-compositing-to-lcd-text 

Disable the
creation of compositing layers when it would prevent LCD text. 

–disable-presentation-api 

Disables the
Presentation API. 

–disable-print-preview 

Disables
print preview (For testing, and for users who don’t like us. :[ ) 

–disable-prompt-on-repost 

Normally
when the user attempts to navigate to a page that was the result of a post we
prompt to make sure they want to. This switch may be used to disable that
check. This switch is used during automated testing. 

–disable-pull-to-refresh-effect[7] 

Disable the
pull-to-refresh effect when vertically overscrolling content. 

–disable-pushstate-throttle 

Disables
throttling of history.pushState/replaceState calls. 

–disable-reading-from-canvas 

Taints all
<canvas> elements, regardless of origin. 

–disable-remote-core-animation[6] 

Disable use
of cross-process CALayers to display content directly from the GPU process on
Mac. 

–disable-remote-fonts 

Disables
remote web font support. SVG font should always work whether this option is
specified or not. 

–disable-remote-playback-api 

Disables the
RemotePlayback API. 

–disable-renderer-accessibility 

Turns off
the accessibility in the renderer. 

–disable-renderer-backgrounding 

Prevent
renderer process backgrounding when set. 

–disable-resource-scheduler 

Whether the
ResourceScheduler is disabled. Note this is only useful for C++ Headless
embedders who need to implement their own resource scheduling. 

–disable-rgba-4444-textures 

Disables
RGBA_4444 textures. 

–disable-rollback-option 

Disables
rollback option on reset screen. 

–disable-rtc-smoothness-algorithm 

Disables the
new rendering algorithm for webrtc, which is designed to improve the
rendering smoothness. 

–disable-running-as-system-compositor 

Disable
running as system compositor. 

–disable-screen-orientation-lock[7] 

Disable the
locking feature of the screen orientation API. 

–disable-scroll-to-text-fragment 

This switch
disables the ScrollToTextFragment feature. 

–disable-search-geolocation-disclosure 

Disables
showing the search geolocation disclosure UI. Used for perf testing. 

–disable-seccomp-filter-sandbox 

Disable the
seccomp filter sandbox (seccomp-bpf) (Linux only). 

–disable-setuid-sandbox 

Disable the
setuid sandbox (Linux only). 

–disable-shader-name-hashing 

Turn off
user-defined name hashing in shaders. 

–disable-shared-workers 

Disable
shared workers. 

–disable-signin-frame-client-certs 

Disables
client certificate authentication on the sign-in frame on the Chrome OS
sign-in profile. TODO(https://crbug.com/844022): Remove this flag when
reaching endpoints that request client certs does not hang anymore when there
is no system token yet. 

–disable-signin-scoped-device-id 

Disables
sending signin scoped device id to LSO with refresh token request. 

–disable-site-isolation-for-policy[7] 

Just like
kDisableSiteIsolation, but doesn’t show the “stability and security will
suffer” butter bar warning. 

–disable-site-isolation-trials 

Disables
site isolation. Note that the opt-in (to site-per-process, isolate-origins,
etc.) via enterprise policy and/or cmdline takes precedence over the
kDisableSiteIsolation switch (i.e. the opt-in takes effect despite potential
presence of kDisableSiteIsolation switch). Note that for historic reasons the
name of the switch misleadingly mentions “trials”, but the switch
also disables the default site isolation that ships on desktop since M67. The
name of the switch is preserved for backcompatibility of
chrome://flags. 

–disable-skia-runtime-opts 

Do not use
runtime-detected high-end CPU optimizations in Skia. This is useful for
forcing a baseline code path for e.g. web tests. 

–disable-smooth-scrolling 

Disable
smooth scrolling for testing. 

–disable-software-compositing-fallback 

For tests,
to disable falling back to software compositing if the GPU Process has
crashed, and reached the GPU Process crash limit. 

–disable-software-rasterizer 

Disables the
use of a 3D software rasterizer. 

–disable-software-video-decoders 

No
description
 

–disable-speech-api 

Disables the
Web Speech API (both speech recognition and synthesis). 

–disable-speech-synthesis-api 

Disables the
speech synthesis part of Web Speech API. 

–disable-sync 

Disables
syncing browser data to a Google Account. 

–disable-sync-types 

Disables
syncing one or more sync data types that are on by default. See
sync/base/model_type.h for possible types. Types should be comma separated,
and follow the naming convention for string representation of model types,
e.g.: –disable-synctypes=’Typed URLs, Bookmarks, Autofill Profiles’ 

–disable-system-font-check 

Disables the
check for the system font when specified. 

–disable-test-root-certs 

Disables
adding the test certs in the network process. 

–disable-third-party-keyboard-workaround 

Disables the
3rd party keyboard omnibox workaround. 

–disable-threaded-animation 

No description 

–disable-threaded-compositing 

Disable
multithreaded GPU compositing of web content. 

–disable-threaded-scrolling 

Disable
multithreaded, compositor scrolling of web content. 

–disable-timeouts-for-profiling[7] 

Disable
timeouts that may cause the browser to die when running slowly. This is
useful if running with profiling (such as debug malloc). 

–disable-touch-adjustment 

Disables
touch adjustment. 

–disable-touch-drag-drop 

Disables
touch event based drag and drop. 

–disable-usb-keyboard-detect[1] 

Disables the
USB keyboard detection for blocking the OSK on Win8+. 

–disable-v8-idle-tasks 

Disable V8
idle tasks. 

–disable-video-capture-use-gpu-memory-buffer 

This is for
the same feature controlled by kVideoCaptureUseGpuMemoryBuffer.
kVideoCaptureUseGpuMemoryBuffer is settled by chromeos overlays. This flag is
necessary to overwrite the settings via chrome:// flag. The behavior of
chrome://flag#zero-copy-video-capture is as follows; Default : Respect
chromeos overlays settings. Enabled : Force to enable
kVideoCaptureUseGpuMemoryBuffer. Disabled : Force to disable
kVideoCaptureUseGpuMemoryBuffer. 

–disable-volume-adjust-sound 

Disables
volume adjust sound. 

–disable-vsync-for-tests 

No
description
 

–disable-vulkan-fallback-to-gl-for-testing 

Disables
falling back to GL based hardware rendering if initializing Vulkan fails.
This is to allow tests to catch regressions in Vulkan. 

–disable-vulkan-surface 

Disables
VK_KHR_surface extension. Instead of using swapchain, bitblt will be used for
present render result on screen. 

–disable-wake-on-wifi 

Disables
wake on wifi features. 

–disable-web-security 

Don’t
enforce the same-origin policy. (Used by people testing their sites.) 

–disable-webgl 

Disable all
versions of WebGL. 

–disable-webgl-image-chromium 

Disables
WebGL rendering into a scanout buffer for overlay support. 

–disable-webgl2 

Disable
WebGL2. 

–disable-webrtc-encryption 

Disables
encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores
this switch on its stable and beta channels. 

–disable-webrtc-hw-decoding 

Disables HW
decode acceleration for WebRTC. 

–disable-webrtc-hw-encoding 

Disables HW
encode acceleration for WebRTC. 

–disable-windows10-custom-titlebar[1] 

Disables
custom-drawing the window titlebar on Windows 10. 

–disable-yuv-image-decoding 

Disable YUV
image decoding for those formats and cases where it’s supported. Has no
effect unless GPU rasterization is enabled. 

–disable-yuv420-biplanar 

Disable a
NV12 format buffer allocation with gfx::BufferUsage::SCANOUT_CPU_READ_WRITE
usage. 

–disable-zero-browsers-open-for-tests 

Some tests
seem to require the application to close when the last browser window is
closed. Thus, we need a switch to force this behavior for ChromeOS Aura,
disable “zero window mode”. TODO(pkotwicz): Investigate if this bug
can be removed. (http://crbug.com/119175) 

–disable-zero-copy 

Disable
rasterizer that writes directly to GPU memory associated with tiles. 

–disable-zero-copy-dxgi-video 

Disable the
video decoder from drawing directly to a texture. 

–disabled 

No
description
 

–disallow-non-exact-resource-reuse 

Disable
re-use of non-exact resources to fulfill ResourcePool requests. Intended only
for use in layout or pixel tests to reduce noise. 

–discoverability 

No
description
 

–disk-cache-dir 

Use a
specific disk cache location, rather than one derived from the UserDatadir. 

–disk-cache-size 

Forces the
maximum disk space to be used by the disk cache, in bytes. 

–display 

Which X11
display to connect to. Emulates the GTK+ “–display=” command line
argument. 

–dmg-device[6] 

When
switches::kProcessType is switches::kRelauncherProcess, if this switch is
also present, the relauncher process will unmount and eject a mounted disk
image and move its disk image file to the trash. The argument’s value must be
a BSD device name of the form “diskN” or “diskNsM”. 

–dns-log-details 

No
description
 

–document-user-activation-required 

Autoplay
policy that requires a document user activation. 

–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. 

–dont-require-litepage-redirect-infobar 

Do not
require the user notification InfoBar to be shown before triggering a Lite
Page Redirect preview. 

–double-buffer-compositing 

Sets the
number of max pending frames in the GL buffer queue to 1. 

–draw-view-bounds-rects 

Draws a
semitransparent rect to indicate the bounds of each view. 

–dump-blink-runtime-call-stats 

Logs Runtime
Call Stats for Blink. –single-process also needs to be used along with this
for the stats to be logged. 

–dump-browser-histograms 

Requests
that a running browser process dump its collected histograms to a given file.
The file is overwritten if it exists. 

–dump-dom 

Instructs
headless_shell to print document.body.innerHTML to stdout. 

–dump-raw-logs 

Dump the raw
logs to a file with the same base name as the executable. The dumped file is
a raw protobuf and has a “pb” extension. WARNING: this switch is
used by internal test systems. Be careful when making changes. 

–easy-unlock-app-path 

Overrides
the path of Easy Unlock component app. 

–edge-touch-filtering[12] 

Tells Chrome
to do edge touch filtering. Useful for convertible tablet. 

–egl 

No
description
 

–elevate 

No
description
 

–elevated 

Identify
that the process is already supposed to be elevated, so that we don’t try
again. 

–embedded-extension-options 

Enables
extension options to be embedded in chrome://extensions rather than a new
tab. 

–emulate-shader-precision 

Emulate ESSL
lowp and mediump float precisions by mutating the shaders to round
intermediate values in ANGLE. 

–enable-accelerated-2d-canvas 

Enable
accelerated 2D canvas. 

–enable-accessibility-object-model 

Enable the
experimental Accessibility Object Model APIs in development. 

–enable-accessibility-tab-switcher[7] 

Enable the
accessibility tab switcher. 

–enable-adaptive-selection-handle-orientation[7] 

Enable
inverting of selection handles so that they are not clipped by the viewport
boundaries. 

–enable-aggressive-domstorage-flushing 

Enable the
aggressive flushing of DOM Storage to minimize data loss. 

–enable-angle-features 

ANGLE
features are defined per-backend in third_party/angle/include/platform
Enables specified comma separated ANGLE features if found. 

–enable-app-list 

If set, the
app list will be enabled as if enabled from CWS. 

–enable-arc 

DEPRECATED.
Please use –arc-availability=officially-supported. Enables starting the ARC
instance upon session start. 

–enable-arcvm 

Enables ARC
VM. 

–enable-audio-debug-recordings-from-extension 

If the
WebRTC logging private API is active, enables audio debug recordings. 

–enable-auto-reload 

Enable
auto-reload of error pages. 

–enable-automation 

Enable
indication that browser is controlled by automation. 

–enable-background-tracing 

Enables
background and upload trace to trace-upload-url. Trigger rules are pass as an
argument. 

–enable-begin-frame-control 

Whether or
not begin frames should be issued over DevToolsProtocol (experimental). 

–enable-benchmarking 

TODO(asvitkine):
Consider removing or renaming this functionality. Enables the benchmarking
extensions. 

–enable-ble-advertising-in-apps 

Enable BLE
Advertisiing in apps. 

–enable-blink-features 

Enable one
or more Blink runtime-enabled features. Use names from
runtime_enabled_features.json5, separated by commas. Applied before
kDisableBlinkFeatures, and after other flags that change these
features. 

–enable-blink-test-features 

Enables
blink runtime enabled features with status:”test” or
status:”experimental”, which are enabled when running web
tests. 

–enable-bluetooth-spp-in-serial-api 

Enable
serial communication for SPP devices. 

–enable-bookmark-undo 

Enables the
multi-level undo system for bookmarks. 

–enable-caret-browsing 

Enable
native caret browsing, in which a moveable cursor is placed on a web page,
allowing a user to select and navigate through non-editable text using just a
keyboard. See https://crbug.com/977390 for links to i2i. 

–enable-cast-receiver 

Enables the
Cast Receiver. 

–enable-cast-streaming-receiver 

No
description
 

–enable-chrome-browser-cloud-management 

Enables
Chrome Browser Cloud Management flow. 

–enable-chrome-tracing-computation 

Enable the
tracing service. 

–enable-cloud-print-proxy 

This applies
only when the process type is “service”. Enables the Cloud Print
Proxy component within the service process. 

–enable-consumer-kiosk 

Enables
consumer kiosk mode for Chrome OS. 

–enable-crash-reporter 

Enable crash
reporter for headless. 

–enable-crash-reporter-for-testing[14] 

Used for
turning on Breakpad crash reporting in a debug environment where crash reporting
is typically compiled but disabled. 

–enable-cros-action-recorder 

If set, the
CrOSActionRecorder will be enabled which will record some user actions on
device. 

–enable-crx-hash-check 

Enable
package hash check: the .crx file sha256 hash sum should be equal to the one
received from update manifest. 

–enable-data-reduction-proxy-bypass-warning 

Enable the
data reduction proxy bypass warning. 

–enable-data-reduction-proxy-force-pingback 

Enables
sending a pageload metrics pingback after every page load. 

–enable-data-reduction-proxy-savings-promo 

Enables a 1
MB savings promo for the data reduction proxy. 

–enable-dawn-backend-validation 

Enable
validation layers in Dawn backends. 

–enable-de-jelly 

Experimental
de-jelly support. 

–enable-defer-all-script-without-optimization-hints 

Allows defer
script preview on all https pages even if optimization hints are missing for
that webpage. 

–enable-device-discovery-notifications 

Enable
device discovery notifications. 

–enable-dim-shelf 

Enables
Shelf Dimming for ChromeOS. 

–enable-direct-composition-video-overlays 

Enables
using DirectComposition video overlays, even if hardware overlays aren’t
supported. 

–enable-distillability-service 

No
description
 

–enable-dom-distiller 

No
description
 

–enable-domain-reliability 

Enables
Domain Reliability Monitoring. 

–enable-encryption-migration 

Enables
encryption migration for user’s cryptohome to run latest Arc. 

–enable-encryption-selection[9] 

Enables the
feature of allowing the user to disable the backend via a setting. 

–enable-enterprise-policy 

Enables
enterprise policy support. 

–enable-exclusive-audio[1] 

Use
exclusive mode audio streaming for Windows Vista and higher. Leads to lower
latencies for audio streams which uses the
AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. See
http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx for
details. 

–enable-experimental-accessibility-autoclick 

Shows
additional automatic click features that haven’t launched yet. 

–enable-experimental-accessibility-chromevox-annotations 

Enables
annotations feature that hasn’t launched yet. 

–enable-experimental-accessibility-chromevox-tutorial 

Enables
interactive tutorial for ChromeVox. 

–enable-experimental-accessibility-labels-debugging 

Enables
support for visually debugging the accessibility labels feature, which
provides images descriptions for screen reader users. 

–enable-experimental-accessibility-language-detection 

Enables
language detection on in-page text content which is then exposed to assistive
technology such as screen readers. 

–enable-experimental-accessibility-language-detection-dynamic 

Enables
language detection for dynamic content which is then exposed to assistive
technology such as screen readers. 

–enable-experimental-accessibility-switch-access 

Shows
setting to enable Switch Access before it has launched. 

–enable-experimental-accessibility-switch-access-text 

Enables in
progress Switch Access features for text input. 

–enable-experimental-cookie-features 

Flag that
turns on a group of experimental/newly added cookie-related features
together, as a convenience for e.g. testing, to avoid having to set multiple
switches individually which may be error-prone (not to mention tedious).
There is not a corresponding switch to disable all these features, because
that is discouraged, and for testing purposes you’d need to switch them off
individually to identify the problematic feature anyway. At present this
turns on: net::features::kCookiesWithoutSameSiteMustBeSecure
net::features::kSameSiteByDefaultCookies
net::features::kSameSiteDefaultChecksMethodRigorously It will soon also turn
on: content_settings::kImprovedCookieControls
content_settings::kImprovedCookieControlsForThirdPartyCookieBlocking
net::features::kSchemefulSameSite 

–enable-experimental-extension-apis 

Enables
extension APIs that are in development. 

–enable-experimental-ui-automation[1] 

Enables UI
Automation platform API in addition to the IAccessible API. 

–enable-experimental-web-platform-features 

Enables Web
Platform features that are in development. 

–enable-experimental-webassembly-features 

Enables
experimental WebAssembly features. 

–enable-extension-activity-log-testing 

No
description
 

–enable-extension-activity-logging 

Enables
logging for extension activity. 

–enable-extension-assets-sharing 

Enables
sharing assets for installed default apps. 

–enable-features 

Comma-separated
list of feature names to enable. See also kDisableFeatures. 

–enable-font-antialiasing 

Enable font
antialiasing for pixel tests. 

–enable-ftp 

Enables
support for FTP URLs. See https://crbug.com/333943. 

–enable-gamepad-button-axis-events 

Enables
gamepadbuttondown, gamepadbuttonup, gamepadbuttonchange, gamepadaxismove
non-standard gamepad events. 

–enable-gpu-benchmarking 

Enables the
GPU benchmarking extension 

–enable-gpu-blocked-time 

Enables
measures of how long GPU Main Thread was blocked between SwapBuffers 

–enable-gpu-client-logging 

Enable GPU
client logging. 

–enable-gpu-client-tracing 

Enables
TRACE for GL calls in the renderer. 

–enable-gpu-command-logging 

Turn on
Logging GPU commands. 

–enable-gpu-debugging 

Turn on
Calling GL Error after every command. 

–enable-gpu-driver-debug-logging 

Enable
logging of GPU driver debug messages. 

–enable-gpu-memory-buffer-compositor-resources 

Specify that
all compositor resources should be backed by GPU memory buffers. 

–enable-gpu-memory-buffer-video-frames 

Enable
GpuMemoryBuffer backed VideoFrames. 

–enable-gpu-rasterization 

Allow
heuristics to determine when a layer tile should be drawn with the Skia GPU
backend. Only valid with GPU accelerated compositing. 

–enable-gpu-service-logging 

Turns on GPU
logging (debug build only). 

–enable-gpu-service-tracing 

Turns on
calling TRACE for every GL call. 

–enable-hardware-overlays 

Enable
compositing individual elements via hardware overlays when permitted by
device. Setting the flag to “single-fullscreen” will try to promote
a single fullscreen overlay and use it as main framebuffer where possible. 

–enable-hosted-app-quit-notification[6] 

Shows a
notification when quitting Chrome with hosted apps running. Default behavior
is to also quit all hosted apps. 

–enable-houdini 

Enables the
use of 32-bit Houdini library for ARM binary translation. 

–enable-houdini64 

Enables the
use of 64-bit Houdini library for ARM binary translation. 

–enable-hung-renderer-infobar[7] 

Enables a
hung renderer InfoBar allowing the user to close or wait on unresponsive web
content. 

–enable-idle-tracing[7] 

Adds
additional thread idle time information into the trace event output. 

–enable-input 

Enables
input event handling by the window manager. 

–enable-ios-handoff-to-other-devices 

Enables
support for Handoff from Chrome on iOS to the default browser of other Apple
devices. 

–enable-lcd-text 

Enables LCD
text. 

–enable-leak-detection 

Enables the
leak detection of loading webpages. This allows us to check whether or not
reloading a webpage releases web-related objects correctly. 

–enable-local-file-accesses 

Enable file
accesses. It should not be enabled for most Cast devices. 

–enable-local-sync-backend 

Enabled the
local sync backend implemented by the LoopbackServer. 

–enable-logging 

Controls
whether console logging is enabled and optionally configures where it’s
routed. 

–enable-longpress-drag-selection[7] 

Enable drag
manipulation of longpress-triggered text selections. 

–enable-low-end-device-mode 

Force
low-end device mode when set. 

–enable-low-res-tiling 

When using
CPU rasterizing generate low resolution tiling. Low res tiles may be
displayed during fast scrolls especially on slower devices. 

–enable-main-frame-before-activation 

Enables
sending the next BeginMainFrame before the previous commit activates. 

–enable-nacl 

Runs the
Native Client inside the renderer process and enables GPU plugin (internally
adds lEnableGpuPlugin to the command line). 

–enable-nacl-debug 

Enables
debugging via RSP over a socket. 

–enable-nacl-nonsfi-mode 

Enables
Non-SFI mode, in which programs can be run without NaCl’s SFI sandbox. 

–enable-native-gpu-memory-buffers 

Enable
native CPU-mappable GPU memory buffer support on Linux. 

–enable-natural-scroll-default 

Enables
natural scroll by default. 

–enable-ndk-translation 

Enables the
use of 32-bit NDK translation library for ARM binary translation. 

–enable-ndk-translation64 

Enables the
use of 64-bit NDK translation library for ARM binary translation. 

–enable-net-benchmarking 

Enables the
network-related benchmarking extensions. 

–enable-network-information-downlink-max 

Enables the
type, downlinkMax attributes of the NetInfo API. Also, enables triggering of
change attribute of the NetInfo API when there is a change in the connection
type. 

–enable-new-app-menu-icon[15] 

No
description
 

–enable-ntp-search-engine-country-detection 

Enables
using the default search engine country to show country specific popular
sites on the NTP. 

–enable-offer-store-unmasked-wallet-cards 

Force
showing the local save checkbox in the autofill dialog box for getting the
full credit card number for a wallet card. 

–enable-oop-rasterization 

Turns on out
of process raster for the renderer whenever gpu raster would have been used.
Enables the chromium_raster_transport extension. 

–enable-pepper-testing 

Enables the
testing interface for PPAPI. 

–enable-pixel-output-in-tests 

Forces tests
to produce pixel output when they normally wouldn’t. 

–enable-plugin-placeholder-testing 

Enables
testing features of the Plugin Placeholder. For internal use only. 

–enable-potentially-annoying-security-features 

Enables a
number of potentially annoying security features (strict mixed content mode,
powerful feature restrictions, etc.) 

–enable-precise-memory-info 

Make the
values returned to window.performance.memory more granular and more up to
date in shared worker. Without this flag, the memory information is still
available, but it is bucketized and updated less frequently. This flag also
applys to workers. 

–enable-prefer-compositing-to-lcd-text 

Enable the
creation of compositing layers when it would prevent LCD text. 

–enable-profile-shortcut-manager[1] 

Force-enables
the profile shortcut manager. This is needed for tests since they use a
custom-user-data-dir which disables this. 

–enable-protected-video-buffers[16] 

Enables
protected buffers for encrypted video streams. 

–enable-reached-code-profiler[7] 

Enables the
reached code profiler that samples all threads in all processes to determine
which functions are almost never executed. 

–enable-reporting[17] 

Enables
metrics and crash reporting. 

–enable-request-tablet-site 

Enables
request of tablet site (via user agent override). 

–enable-rgba-4444-textures 

Enables
RGBA_4444 textures. 

–enable-sandbox-logging[6] 

Cause the OS
X sandbox write to syslog every time an access to a resource is denied by the
sandbox. 

–enable-service-binary-launcher 

If true the
ServiceProcessLauncher is used to launch services. This allows for service
binaries to be loaded rather than using the utility process. This is only
useful for tests. 

–enable-service-manager-tracing 

Enable the
tracing service. 

–enable-sgi-video-sync 

Enable use
of the SGI_video_sync extension, which can have driver/sandbox/window manager
compatibility issues. 

–enable-skia-benchmarking 

Enables the
Skia benchmarking extension. 

–enable-smooth-scrolling 

On platforms
that support it, enables smooth scroll animation. 

–enable-spatial-navigation 

Enable
spatial navigation 

–enable-spdy-proxy-auth 

Enable the
data reduction proxy. 

–enable-speech-dispatcher[17] 

Allows
sending text-to-speech requests to speech-dispatcher, a common Linux speech service.
Because it’s buggy, the user must explicitly enable it so that visiting a
random webpage can’t cause instability. 

–enable-spotlight-actions 

Enables the
Spotlight actions. 

–enable-stats-collection-bindings 

Specifies if
the |StatsCollectionController| 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 running a test that needs to
access the provided statistics. 

–enable-strict-mixed-content-checking 

Blocks all
insecure requests from secure contexts, and prevents the user from overriding
that decision. 

–enable-strict-powerful-feature-restrictions 

Blocks
insecure usage of a number of powerful features (device orientation, for
example) that we haven’t yet deprecated for the web at large. 

–enable-swap-buffers-with-bounds 

Enables
SwapBuffersWithBounds if it is supported. 

–enable-switch-access-point-scanning 

Enables
Switch Access point scanning. This feature hasn’t launched yet. 

–enable-tablet-form-factor 

Enables
tablet form factor. 

–enable-third-party-keyboard-workaround 

Enables the
3rd party keyboard omnibox workaround. 

–enable-thread-instruction-count[10] 

Controls
whether or not retired instruction counts are surfaced for threads in trace
events on Linux. This flag requires the BPF sandbox to be disabled. 

–enable-threaded-compositing 

Enabled
threaded compositing for web tests. 

–enable-threaded-texture-mailboxes 

Simulates
shared textures when share groups are not available. Not available
everywhere. 

–enable-top-drag-gesture 

Whether to
enable detection and dispatch of a ‘drag from the top’ gesture. 

–enable-touch-calibration-setting 

Enables the
touch calibration option in MD settings UI for valid touch displays. 

–enable-touch-drag-drop 

Enables
touch event based drag and drop. 

–enable-touchpad-three-finger-click 

Enables
touchpad three-finger-click as middle button. 

–enable-touchview 

If the flag
is present, it indicates 1) the device has accelerometer and 2) the device is
a convertible device or a tablet device (thus is capable of entering tablet
mode). If this flag is not set, then the device is not capable of entering
tablet mode. For example, Samus has accelerometer, but is not a covertible or
tablet, thus doesn’t have this flag set, thus can’t enter tablet mode. 

–enable-trace-app-source 

Pass launch
source to platform apps. 

–enable-tracing 

Enable tracing
during the execution of browser tests. 

–enable-tracing-output 

The filename
to write the output of the test tracing to. 

–enable-ui-devtools 

Enables
DevTools server for UI (mus, ash, etc). Value should be the port the server
is started on. Default port is 9223. 

–enable-unsafe-webgpu 

No
description
 

–enable-use-zoom-for-dsf 

Enable the
mode that uses zooming to implment device scale factor behavior. 

–enable-user-metrics[6] 

Enable user
metrics from within the installer. 

–enable-usermedia-screen-capturing 

Enable
screen capturing support for MediaStream API. 

–enable-viewport 

Enables the
use of the @viewport CSS rule, which allows pages to control aspects of their
own layout. This also turns on touch-screen pinch gestures. 

–enable-virtual-keyboard 

No
description
 

–enable-viz-devtools 

Enables
inspecting Viz Display Compositor objects. Default port is 9229. For local
inspection use chrome://inspect#other 

–enable-viz-hit-test-debug 

Enables
hit-test debug logging. 

–enable-vtune-support 

Enable the
Vtune profiler support. 

–enable-wayland-ime 

Try to
enable wayland input method editor. 

–enable-wayland-server 

Enable the
wayland server. 

–enable-web-auth-deprecated-mojo-testing-api 

Enable the
WebAuthn Mojo Testing API. This is a way to interact with the virtual
authenticator environment through a mojo interface and is supported only to
run web-platform-tests on content shell. Removal of this deprecated API is
blocked on crbug.com/937369. 

–enable-webgl-draft-extensions 

Enables
WebGL extensions not yet approved by the community. 

–enable-webgl-image-chromium 

Enables
WebGL rendering into a scanout buffer for overlay support. 

–enable-webgl2-compute-context 

Enable
WebGL2 Compute context. 

–enable-webrtc-srtp-aes-gcm 

Enables
negotiation of GCM cipher suites from RFC 7714 for SRTP in WebRTC. See
https://tools.ietf.org/html/rfc7714 for further information. 

–enable-webrtc-srtp-encrypted-headers 

Enables
negotiation of encrypted header extensions from RFC 6904 for SRTP in WebRTC.
See https://tools.ietf.org/html/rfc6904 for further information.
TODO(https://crbug.com/954201): Remove this. 

–enable-webrtc-stun-origin 

Enables
Origin header in Stun messages for WebRTC. 

–enable-widevine 

No
description
 

–enable-win7-webrtc-hw-h264-decoding[1] 

Enables H264
HW decode acceleration for WebRtc on Win 7. 

–enable-zero-copy 

Enable
rasterizer that writes directly to GPU memory associated with tiles. 

–enabled 

No
description
 

–encode-binary 

Encode
binary web test results (images, audio) using base64. 

–enforce 

No
description
 

–enforce-gl-minimums 

Enforce GL
minimums. 

–enforce-vulkan-protected-memory 

Forces to
use protected memory for vulkan compositing. 

–enforce-webrtc-ip-permission-check 

Enforce IP
Permission check. TODO(guoweis): Remove this once the feature is not under
finch and becomes the default. 

–enforce_strict 

No
description
 

–ensure-forced-color-profile 

Crash the
browser at startup if the display’s color profile does not match the forced
color profile. This is necessary on Mac because Chrome’s pixel output is
always subject to the color conversion performed by the operating system. On
all other platforms, this is a no-op. 

–enterprise-disable-arc 

Disables ARC
for managed accounts. 

–enterprise-enable-forced-re-enrollment 

Whether to
enable forced enterprise re-enrollment. 

–enterprise-enable-initial-enrollment 

Whether to
enable initial enterprise enrollment. 

–enterprise-enable-psm 

Whether to
enable private set membership queries. 

–enterprise-enable-zero-touch-enrollment 

Enables the
zero-touch enterprise enrollment flow. 

–enterprise-enrollment-initial-modulus 

Power of the
power-of-2 initial modulus that will be used by the auto-enrollment client.
E.g. “4” means the modulus will be 2^4 = 16. 

–enterprise-enrollment-modulus-limit 

Power of the
power-of-2 maximum modulus that will be used by the auto-enrollment
client. 

–evaluate-type 

No
description
 

–evaluate_capability 

No
description
 

–explicitly-allowed-ports 

Allows
overriding the list of restricted ports by passing a comma-separated list of
port numbers. 

–export-tagged-pdf 

If enabled,
generate a tagged (accessible) file when printing to PDF. The plan is for
this to go away once tagged PDFs become the default. See
https://crbug.com/607777 

–expose-internals-for-testing 

Exposes the
window.internals object to JavaScript for interactive development and
debugging of web tests that rely on it. 

–extension-content-verification 

Name of the
command line flag to force content verification to be on in one of various
modes. 

–extension-process 

Marks a
renderer as extension process. 

–extension-updater-test-request 

No
description
 

–extensions-install-verification 

Turns on
extension install verification if it would not otherwise have been turned
on. 

–extensions-not-webstore 

Specifies a
comma-separated list of extension ids that should be forced to be treated as
not from the webstore when doing install verification. 

–extensions-on-chrome-urls 

Enables
extensions running scripts on chrome:// URLs. Extensions still need to
explicitly request access to chrome:// URLs in the manifest. 

–external-metrics-collection-interval 

Interval in
seconds between Chrome reading external metrics from
/var/lib/metrics/uma-events. 

–extra-search-query-params 

Additional
query params to insert in the search and instant URLs. Useful for
testing. 

–fail-audio-stream-creation 

Causes the
AudioManager to fail creating audio streams. Used when testing various
failure cases. 

–fake-drivefs-launcher-chroot-path 

An absolute
path to the chroot hosting the DriveFS to use. This is only used when running
on Linux, i.e. when IsRunningOnChromeOS() returns false. 

–fake-drivefs-launcher-socket-path 

A relative
path to socket to communicat with the fake DriveFS launcher within the chroot
specified by kFakeDriveFsLauncherChrootPath. This is only used when running
on Linux, i.e. when IsRunningOnChromeOS() returns false. 

–fake-oobe-configuration-file 

Path to a
OOBE configuration JSON file (used by FakeOobeConfigurationClient). 

–fake-variations-channel 

Fakes the
channel of the browser for purposes of Variations filtering. This is to be
used for testing only. Possible values are “stable”,
“beta”, “dev” and “canary”. This works for
official builds as well. 

–false 

Value
indicating whether flag from command line switch is false. 

–feedback-server 

Alternative
feedback server to use when submitting user feedback 

–field-trial-handle 

Handle to
the shared memory segment containing field trial state that is to be shared
between processes. The argument to this switch is the handle id (pointer on
Windows) as a string, followed by a comma, then the size of the shared memory
segment as a string. 

–file-url-path-alias 

Define an
alias root directory which is replaced with the replacement string in file
URLs. The format is “/alias=/replacement”, which would turn
file:///alias/some/path.html into file:///replacement/some/path.html. 

–file_chooser 

No
description
 

–finch-seed-expiration-age 

The length
of time in seconds that an app’s copy of the variations seed should be
considered fresh. If an app’s seed is older than this, a new seed will be
requested from WebView’s IVariationsSeedServer. 

–finch-seed-ignore-pending-download 

Forces
WebView’s service to always schedule a new variations seed download job, even
if one is already pending. 

–finch-seed-min-download-period 

The minimum
amount of time in seconds that WebView’s service will wait between two
variations seed downloads from the variations server. 

–finch-seed-min-update-period 

The minimum
amount of time in seconds that the embedded WebView implementation will wait
between two requests to WebView’s service for a new variations seed. 

–fingerprint-sensor-location 

Fingerprint
sensor location indicates the physical sensor’s location. The value is a
string with possible values: “power-button-top-left”,
“keyboard-bottom-left”, keyboard-bottom-right”, “keyboard-top-right”. 

–first-exec-after-boot 

Passed to
Chrome the first time that it’s run after the system boots. Not passed on
restart after sign out. 

–flag-switches-begin 

These two
flags are added around the switches about:flags adds to the command line.
This is useful to see which switches were added by about:flags on
about:version. They don’t have any effect. 

–flag-switches-end 

No
description
 

–font-cache-shared-handle[1] 

DirectWrite
FontCache is shared by browser to renderers using shared memory. This switch
allows us to pass the shared memory handle to the renderer. 

–font-render-hinting 

Sets font
render hinting when running headless, affects Skia rendering and whether
glyph subpixel positioning is enabled. Possible values:
none|slight|medium|full|max. Default: full. 

–force-app-mode 

Forces
application mode. This hides certain system UI elements and forces the app to
be installed if it hasn’t been already. 

–force-caption-style 

Forces the
caption style for WebVTT captions. 

–force-cert-verifier-builtin 

Forces
Chrome to use CertVerifyProcBuiltin for verification of server certificates,
ignoring the status of net::features::kCertVerifierBuiltinFeature. 

–force-color-profile 

Force all
monitors to be treated as though they have the specified color profile.
Accepted values are “srgb” and “generic-rgb” (currently
used by Mac layout tests) and “color-spin-gamma24” (used by layout
tests). 

–force-dark-mode 

Forces dark
mode in UI for platforms that support it. 

–force-dev-mode-highlighting 

Whether to
force developer mode extensions highlighting. 

–force-device-scale-factor 

Overrides
the device scale factor for the browser UI and the contents. 

–force-devtools-available 

Forces
developer tools availability, no matter what values the enterprise policies
DeveloperToolsDisabled and DeveloperToolsAvailability are set to. 

–force-disable-variation-ids 

Forces to
remove Chrome Variation Ids from being sent in X-Client-Data header,
specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed
with the character “t” will be treated as Trigger Variation
Ids. 

–force-effective-connection-type 

Forces
Network Quality Estimator (NQE) to return a specific effective connection
type. 

–force-empty-corb-allowlist 

Whether
|extensions_features::kBypassCorbAllowlistParamName| should always be empty
(i.e. ignoring hardcoded allowlist and the field trial param). This switch is
useful for manually verifying if an extension would continue to work fine
after removing it from the allowlist. 

–force-enable-lite-pages 

Force enable
all available previews on every page load. 

–force-enable-metrics-reporting 

Forces
metrics reporting to be enabled. 

–force-enable-night-mode[7] 

Forces the
night mode to be enabled. 

–force-enable-stylus-tools 

Enables the
stylus tools next to the status area. 

–force-fieldtrial-params 

This option
can be used to force parameters of field trials when testing changes locally.
The argument is a param list of (key, value) pairs prefixed by an associated
(trial, group) pair. You specify the param list for multiple (trial, group)
pairs with a comma separator. Example:
“Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4” Trial names,
groups names, parameter names, and value should all be URL escaped for all
non-alphanumeric characters. 

–force-fieldtrials 

This option
can be used to force field trials when testing changes locally. The argument
is a list of name and value pairs, separated by slashes. If a trial name is
prefixed with an asterisk, that trial will start activated. For example, the
following argument defines two trials, with the second one activated:
“GoogleNow/Enable/*MaterialDesignNTP/Default/” This option can also
be used by the browser process to send the list of trials to a non-browser
process, using the same format. See FieldTrialList::CreateTrialsFromString()
in field_trial.h for details. 

–force-first-run 

Displays the
First Run experience when the browser is started, regardless of whether or
not it’s actually the First Run (this overrides kNoFirstRun). 

–force-first-run-ui 

Forces
first-run UI to be shown for every login. 

–force-gpu-mem-available-mb 

Sets the
total amount of memory that may be allocated for GPU resources 

–force-gpu-mem-discardable-limit-mb 

Sets the
maximum GPU memory to use for discardable caches. 

–force-happiness-tracking-system 

Force
enables the Happiness Tracking System for the device. This ignores user
profile check and time limits and shows the notification every time for any
type of user. Should be used only for testing. 

–force-high-contrast 

Forces
high-contrast mode in native UI drawing, regardless of system settings. Note
that this has limited effect on Windows: only Aura colors will be switched to
high contrast, not other system colors. 

–force-hwid-check-failure-for-test 

Forces
Hardware ID check (happens during OOBE) to fail. Should be used only for
testing. 

–force-legacy-default-referrer-policy 

Pins the
default referrer policy to the pre-M80 value of no-referrer-when-downgrade.
TODO(crbug.com/1016541): After M82, remove when the corresponding enterprise
policy has been deleted. 

–force-login-manager-in-tests 

Usually in
browser tests the usual login manager bringup is skipped so that tests can
change how it’s brought up. This flag disables that. 

–force-logs-upload-failure 

Force a logs
upload failure to help test the logs upload retry. 

–force-max-texture-size 

Sets the
maximum texture size in pixels. 

–force-media-resolution-height 

When present
overrides the screen resolution used by CanDisplayType API, instead of using
the values obtained from avsettings. 

–force-media-resolution-width 

No
description
 

–force-overlay-fullscreen-video 

Forces use
of hardware overlay for fullscreen video playback. Useful for testing the
Android overlay fullscreen functionality on other platforms. 

–force-pnacl-subzero 

Force use of
the Subzero as the PNaCl translator instead of LLC. 

–force-prefers-reduced-motion 

Forces
whether the user desires reduced motion, regardless of system settings. 

–force-presentation-receiver-for-testing 

This forces
pages to be loaded as presentation receivers. Useful for testing behavior
specific to presentation receivers. Spec: https://www.w3.org/TR/presentation-api/#interface-presentationreceiver 

–force-protected-video-output-buffers[16] 

Forces
protected memory for all output video buffers generated by
FuchsiaVideoDecoder, including unencrypted streams. Ignored unless –enable-protected-video-buffers
is also specified. 

–force-raster-color-profile 

Force
rastering to take place in the specified color profile. Accepted values are
the same as for the kForceDisplayColorProfile case above. 

–force-recovery-component 

Force the
recovery component, when running an unofficial build. This only applies to
the cleaner, not the reporter. 

–force-renderer-accessibility 

Force
renderer accessibility to be on instead of enabling it on demand when a
screen reader is detected. The disable-renderer-accessibility switch
overrides this if present. 

–force-self-delete 

Force
self-deletion even on non-official builds. 

–force-show-update-menu-badge[7] 

Forces the
update menu badge to show. 

–force-stacked-tab-strip-layout 

Forces
Chrome to use a stacked tab strip layout. 

–force-status-area-collapsible 

Forces the
status area to allow collapse/expand regardless of the current state. 

–force-system-compositor-mode 

Force system
compositor mode when set. 

–force-tablet-mode 

Enables
required things for the selected UI mode, regardless of whether the
Chromebook is currently in the selected UI mode. 

–force-tablet-power-button 

If set,
tablet-like power button behavior (i.e. tapping the button turns the screen
off) is used even if the device is in laptop mode. 

–force-text-direction 

Force the
text rendering to a specific direction. Valid values are “ltr”
(left-to-right) and “rtl” (right-to-left). Only tested meaningfully
with RTL. 

–force-ui-direction 

Force the UI
to a specific direction. Valid values are “ltr” (left-to-right) and
“rtl” (right-to-left). 

–force-update-menu-type[7] 

Forces the
update menu type to a specific type. 

–force-update-remote-url 

Per-product
customization of force update UI remote url, also used in testing. 

–force-variation-ids 

Forces
additional Chrome Variation Ids that will be sent in X-Client-Data header, specified
as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the
character “t” will be treated as Trigger Variation Ids. 

–force-video-overlays 

Force media
player using SurfaceView instead of SurfaceTexture on Android. 

–force-wave-audio[1] 

Use Windows
WaveOut/In audio API even if Core Audio is supported. 

–force-webrtc-ip-handling-policy 

Override
WebRTC IP handling policy to mimic the behavior when WebRTC IP handling
policy is specified in Preferences. 

–force-webxr-runtime 

Forcibly
enable and select the specified runtime for webxr. Note that this provides an
alternative means of enabling a runtime, and will also functionally disable
all other runtimes. 

–frame-throttle-fps 

Sets the
throttle fps for compositor frame submission. 

–full-memory-crash-report 

Generates
full memory crash dump. 

–gaia-config 

No
description
 

–gaia-url 

No
description
 

–gamepad-polling-interval 

Overrides
the gamepad polling interval. Decreasing the interval improves input latency
of buttons and axes but may negatively affect performance due to more CPU
time spent in the input polling thread. 

–gcm-checkin-url 

Sets the
checkin service endpoint that will be used for performing Google Cloud
Messaging checkins. 

–gcm-mcs-endpoint 

Sets the Mobile
Connection Server endpoint that will be used for Google Cloud
Messaging. 

–gcm-registration-url 

Sets the
registration endpoint that will be used for creating new Google Cloud
Messaging registrations. 

–generate-accessibility-test-expectations 

For
development / testing only. When running content_browsertests, saves output
of failing accessibility tests to their expectations files in
content/test/data/accessibility/, overwriting existing file content. 

–gl 

No
description
 

–gl-egl 

No
description
 

–gl-null 

No
description
 

–gl-shader-interm-output 

Include
ANGLE’s intermediate representation (AST) output in shader compilation info
logs. 

–gles 

No
description
 

–gles-egl 

No
description
 

–gles-null 

No
description
 

–google-apis-url 

No
description
 

–google-base-url 

Specifies an
alternate URL to use for speaking to Google. Useful for testing. 

–google-doodle-url 

Overrides
the URL used to fetch the current Google Doodle. Example:
https://www.google.com/async/ddljson Testing? Try:
https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android0.json
https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android1.json
https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android2.json
https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android3.json
https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android4.json 

–google-url 

No
description
 

–gpu 

No
description
 

–gpu-blocklist-test-group 

Select a
different set of GPU blocklist entries with the specified test_group
ID. 

–gpu-device-id 

Passes the
active graphics device id from browser process to info collection GPU
process. 

–gpu-driver-bug-list-test-group 

Enable an
extra set of GPU driver bug list entries with the specified test_group ID.
Note the default test group (group 0) is still active. 

–gpu-driver-version 

Passes the
active graphics driver version from browser process to info collection GPU
process. 

–gpu-launcher 

Extra
command line options for launching the GPU process (normally used for
debugging). Use like renderer-cmd-prefix. 

–gpu-no-context-lost 

Inform
Chrome that a GPU context will not be lost in power saving mode, screen
saving mode, etc. Note that this flag does not ensure that a GPU context will
never be lost in any situations, say, a GPU reset. 

–gpu-preferences 

Passes
encoded GpuPreferences to GPU process. 

–gpu-process 

Flags spied
upon from other layers. 

–gpu-program-cache-size-kb 

Sets the
maximum size of the in-memory gpu program cache, in kb 

–gpu-rasterization-msaa-sample-count 

The number
of multisample antialiasing samples for GPU rasterization. Requires MSAA
support on GPU to have an effect. 0 disables MSAA. 

–gpu-revision 

Passes the
active graphics revision info from browser process to info collection GPU
process. 

–gpu-sandbox-allow-sysv-shm 

Allows
shmat() system call in the GPU sandbox. 

–gpu-sandbox-failures-fatal 

Makes GPU
sandbox failures fatal. 

–gpu-sandbox-start-early 

Starts the
GPU sandbox before creating a GL context. 

–gpu-startup-dialog 

Causes the
GPU process to display a dialog on launch. 

–gpu-sub-system-id 

Passes the
active graphics sub system id from browser process to info collection GPU
process. 

–gpu-vendor-id 

Passes the
active graphics vendor id from browser process to info collection GPU
process. 

–gpu2-startup-dialog[1] 

Causes the
second GPU process used for gpu info collection to display a dialog on launch. 

–graphics-buffer-count 

No
description
 

–guest[15] 

Causes the
browser to launch directly in guest mode. 

–guest-wallpaper-large 

Large
wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG
file). 

–guest-wallpaper-small 

Small
wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG
file). 

–h[9] 

No
description
 

–has-chromeos-keyboard 

If set, the
system is a Chromebook with a “standard Chrome OS keyboard”, which
generally means one with a Search key in the standard Caps Lock location
above the Left Shift key. It should be unset for Chromebooks with both Search
and Caps Lock keys (e.g. stout) and for devices like Chromeboxes that only
use external keyboards. 

–has-internal-stylus 

Whether this
device has an internal stylus. 

–headless 

Run in
headless mode, i.e., without a UI or display server dependencies. 

–help 

No
description
 

–hermes-fake 

Enables
Hermes fake behavior. By default, no carrier profiles are setup. If a value
of “on” is passed for this switch, then hermes fakes are
initialized with a single installed carrier profile. Fake cellular service
corresponding to carrier profiles are also setup in Shill. 

–hide 

“Hide”
value for kCrosRegionsMode (VPD values are hidden). 

–hide-android-files-in-files-app 

If true,
files in Android internal storage will be hidden in Files app. 

–hide-icons[1] 

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. 

–hide-scrollbars 

Hide
scrollbars from screenshots. 

–highlight-all-webviews 

Highlight
the contents (including web contents) of all WebViews with a yellow tint.
This is useful for identifying WebViews in an Android application. 

–highlight-non-lcd-text-layers 

Highlights
layers that can’t use lcd text. Layers containing no text won’t be
highlighted. See DebugColors::NonLCDTextHighlightColor() for the
colors. 

–homedir 

Defines user
homedir. This defaults to primary user homedir. 

–homepage 

Specifies
which page will be displayed in newly-opened tabs. We need this for testing
purposes so that the UI tests don’t depend on what comes up for
http://google.com. 

–host 

No
description
 

–host-resolver-rules 

These
mappings only apply to the host resolver. 

–https://chromemediarecommendations-pa.googleapis.com 

No
description
 

–icon_reader[1] 

No
description
 

–ignore-autocomplete-off-autofill 

Ignores
autocomplete=”off” for Autofill data (profiles + credit
cards). 

–ignore-certificate-errors-spki-list 

A set of
public key hashes for which to ignore certificate-related errors. If the
certificate chain presented by the server does not validate, and one or more
certificates have public key hashes that match a key from this list, the
error is ignored. The switch value must a be a comma-separated list of
Base64-encoded SHA-256 SPKI Fingerprints (RFC 7469, Section 2.4). This switch
has no effect unless –user-data-dir (as defined by the content embedder) is
also present. 

–ignore-google-port-numbers 

When set,
this will ignore the PortPermission passed in the google_util.h methods and
ignore the port numbers. This makes it easier to run tests for features that
use these methods (directly or indirectly) with the EmbeddedTestServer, which
is more representative of production. 

–ignore-gpu-blacklist 

Ignores GPU
blocklist. TODO(crbug.com/1101491): remove in 2020Q4 in favor of
–ignore-gpu-blocklist. 

–ignore-gpu-blocklist 

Ignores GPU
blocklist. 

–ignore-previews-blacklist 

Ignore
decisions made by PreviewsBlockList. TODO(crbug.com/1092105) : Migrate this
to ignore-previews-blacklist. 

–ignore-urlfetcher-cert-requests 

Causes
net::URLFetchers to ignore requests for SSL client certificates, causing them
to attempt an unauthenticated SSL/TLS session. This is intended for use when
testing various service URLs (eg: kPromoServerURL, kSbURLPrefix,
kSyncServiceURL, etc). 

–ignore-user-profile-mapping-for-tests 

If true,
profile selection in UserManager will always return active user’s profile.
TODO(nkostlyev): http://crbug.com/364604 – Get rid of this switch after we
turn on multi-profile feature on ChromeOS. 

–ime[5] 

No
description
 

–in-process-gpu 

Run the GPU
process as a thread in the browser process. 

–incognito 

No
description
 

–init-done-notifier 

The handle
of an event to signal when the initialization of the main process is complete
(including loading all DLL’s). This is used by the integration test to check
that forbidden modules aren’t loaded outside the sandbox. If this is set, the
main process will signal the event and then wait for the integration test to
signal it as well before continuing. Ignored in official builds. 

–initial-virtual-time 

Start the
renderer with an initial virtual time override specified in seconds since the
epoch. 

–input 

No
description
 

–install-autogenerated-theme 

Installs an
autogenerated theme based on the given RGB value. The format is
“r,g,b”, where r, g, b are a numeric values from 0 to 255. 

–install-chrome-app 

Causes
Chrome to initiate an installation flow for the given app. 

–install-managed-bookmarks-handler 

Installs the
managed bookmarks policy handler. 

–install-supervised-user-whitelists 

A list of
whitelists to install for a supervised user, for testing. The list is of the
following form:
<id>[:<name>],[<id>[:<name>],…] 

–install-url-blocklist-handlers 

Installs the
URLBlocklist and URLAllowlist handlers. 

–instant-process 

Marks a
renderer as an Instant process. 

–integration-test-timeout-minutes 

Set the
timeout for integration tests in minutes. 0 disables the timeout
entirely. 

–ipc-connection-timeout 

Overrides
the timeout, in seconds, that a child process waits for a connection from the
browser before killing itself. 

–ipc-dump-directory[18] 

Dumps IPC
messages sent from renderer processes to the browser process to the given
directory. Used primarily to gather samples for IPC fuzzing. 

–ipc-fuzzer-testcase[18] 

Specifies
the testcase used by the IPC fuzzer. 

–isolate-origins 

Require
dedicated processes for a set of origins, specified as a comma-separated
list. For example:
–isolate-origins=https://www.foo.com,https://www.bar.com 

–javascript-harmony 

Enables
experimental Harmony (ECMAScript 6) features. 

–js-flags 

Specifies
the flags passed to JS engine. 

–kaleidoscope-backend-url 

A command
line switch for overriding the base URL of the API. 

–keep-alive-for-test 

Used for
testing – keeps browser alive after last browser window closes. 

–kernelnext-restrict-vms 

If set, the
Chrome settings will not expose the option to enable crostini unless the
enable-experimental-kernel-vm-support flag is set in chrome://flags 

–kiosk 

Enable kiosk
mode. Please note this is not Chrome OS kiosk mode. 

–kiosk-printing 

Enable
automatically pressing the print button in print preview. 

–lacros-chrome-additional-args 

If this
switch is set, then ash-chrome will pass additional arguments when launching
lacros-chrome. The string ‘####’ is used as a delimiter. Example:
–lacros-chrome-additional-args=”–foo=5####–bar=/tmp/dir name”.
Will result in two arguments passed to lacros-chrome: –foo=5 –bar=/tmp/dir
name 

–lacros-chrome-path 

If this
switch is set, then ash-chrome will exec the lacros-chrome binary from the
indicated path rather than from component updater. Note that the path should
be to a directory that contains a binary named ‘chrome’. 

–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. 

–last-launched-app 

Pass the app
id information to the renderer process, to be used for logging.
last-launched-app should be the app that just launched and is spawning the
renderer. 

–layer 

No
description
 

–light 

No
description
 

–lite-video-default-downlink-bandwidth-kbps 

The default
downlink bandwidth estimate used for throttling media requests. Only used
when forcing LiteVideos to be allowed. 

–lite-video-force-coinflip-holdback 

Forces the
coinflip used for a counterfactual experiment to be true. 

–lite-video-force-override-decision 

Overrides
all the LiteVideo decision logic to allow it on every navigation. This causes
LiteVideos to ignore the hints, user blocklist, and network condition. 

–lite-video-ignore-network-conditions 

Overrides
the network conditions checks for LiteVideos. 

–load-and-launch-app 

Loads an app
from the specified directory and launches it. 

–load-apps 

Comma-separated
list of paths to apps to load at startup. The first app in the list will be
launched. 

–load-empty-dll 

Attempt to
load empty-dll.dll whenever this flag is set. For testing DLL loading. 

–load-extension 

Comma-separated
list of paths to extensions to load at startup. 

–load-media-router-component-extension 

Loads the
Media Router component extension on startup. 

–load-signin-profile-test-extension[5] 

Path to the
unpacked test extension to load into the signin profile. The ID extension
loaded must match kTestSigninProfileExtensionId. 

–local-sync-backend-dir 

Specifies
the local sync backend directory. The name is chosen to mimic user-data-dir
etc. This flag only matters if the enable-local-sync-backend flag is
present. 

–log-best-effort-tasks 

Logs
information about all tasks posted with TaskPriority::BEST_EFFORT. Use this
to diagnose issues that are thought to be caused by TaskPriority::BEST_EFFORT
execution fences. Note: Tasks posted to a non-BEST_EFFORT
UpdateableSequencedTaskRunner whose priority is later lowered to BEST_EFFORT
are not logged. 

–log-file 

Overrides
the default file name to use for general-purpose logging (does not affect
which events are logged). 

–log-gpu-control-list-decisions 

Logs GPU
control list decisions when enforcing blacklist rules. 

–log-interface-calls-to 

Specifies a
file to log all the interface calls of EngineRequestsImpl and
CleanerEngineRequestsImpl. 

–log-level 

Sets the
minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1,
LOG_ERROR = 2, LOG_FATAL = 3. 

–log-net-log 

Enables
saving net log events to a file. If a value is given, it used as the path the
the file, otherwise the file is named netlog.json and placed in the user data
directory. 

–log-on-ui-double-background-blur[19] 

Checks and
logs double background blur as an error if any. 

–log-with-hash 

Log user
actions with action name hashed. 

–log-without-hash 

Log user
actions with action name unhashed. 

–login-manager 

Enables
Chrome-as-a-login-manager behavior. 

–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. 

–login-user 

Specifies
the user which is already logged in. 

–logs-upload-retry-interval 

Specify the
time to wait between logs upload retries, in minutes. 

–lso-url 

No
description
 

–ltr 

No
description
 

–main-frame-resizes-are-orientation-changes 

Resizes of
the main frame are caused by changing between landscape and portrait mode
(i.e. Android) so the page should be rescaled to fit. 

–make-chrome-default[6] 

Indicates
whether Chrome should be set as the default browser during
installation. 

–make-default-browser 

Makes Chrome
default browser 

–managed-user-id 

Sets the
supervised user ID for any loaded or newly created profile to the given
value. Pass an empty string to mark the profile as non-supervised. Used for
testing. 

–mangle-localized-strings 

Transform
localized strings to be longer, with beginning and end markers to make
truncation visually apparent. 

–manual 

No
description
 

–market-url-for-testing[7] 

Sets the
market URL for Chrome for use in testing. 

–marketing-opt-in-url 

Determines
the URL to be used when calling the backend. 

–max-active-webgl-contexts 

Allows user
to override maximum number of active WebGL contexts per renderer
process. 

–max-decoded-image-size-mb 

Sets the
maximium decoded image size limitation. 

–max-file-size 

Limit the
size of files the scanning engine is allowed to open. 

–max-gum-fps 

Override the
maximum framerate as can be specified in calls to getUserMedia. This flag
expects a value. Example: –max-gum-fps=17.5 

–max-output-volume-dba1m 

Calibrated
max output volume dBa for voice content at 1 meter, if known. 

–max-untiled-layer-height 

Sets the
width and height above which a composited layer will get tiled. 

–max-untiled-layer-width 

No
description
 

–mem-pressure-system-reserved-kb 

Some
platforms typically have very little ‘free’ memory, but plenty is available
in buffers+cached. For such platforms, configure this amount as the portion
of buffers+cached memory that should be treated as unavailable. If this
switch is not used, a simple pressure heuristic based purely on free memory
will be used. 

–memlog 

No
description
 

–memlog-sampling-rate 

No
description
 

–memlog-stack-mode 

No
description
 

–memory-pressure-off 

No
description
 

–message-loop-type-ui 

Indicates
the utility process should run with a message loop type of UI. 

–metrics-client-id[6] 

This is how
the metrics client ID is passed from the browser process to its children.
With Crashpad, the metrics client ID is distinct from the crash client
ID. 

–metrics-recording-only 

Enables the
recording of metrics reports but disables reporting. In contrast to
kForceEnableMetricsReporting, 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. 

–metrics-upload-interval 

Override the
standard time interval between each metrics report upload for UMA and UKM. It
is useful to set to a short interval for debugging. Unit in seconds. (The
default is 1800 seconds on desktop). 

–min-height-for-gpu-raster-tile 

Sets the min
tile height for GPU raster. 

–minimal 

No
description
 

–mixed 

No
description
 

–mixer-enable-dynamic-channel-count 

Enable
dynamically changing the channel count in the mixer depending on the input
streams. 

–mixer-service-endpoint 

Endpoint
that the mixer service listens on. This is a path for a UNIX domain socket
(default is /tmp/mixer-service). 

–mixer-service-port 

TCP port
that the mixer service listens on on non-Linux platforms. (default
12854). 

–mixer-source-audio-ready-threshold-ms 

Specify the
start threshold frames for audio output when using our mixer. This is mostly
used to override the default value to a larger value, for platforms that
can’t handle the default start threshold without running into audio
underruns. 

–mixer-source-input-queue-ms 

Specify the
buffer size for audio output when using our mixer. This is mostly used to
override the default value to a larger value, for platforms that can’t handle
an audio buffer so small without running into audio underruns. 

–mock 

No
description
 

–mock-cert-verifier-default-result-for-testing 

Set the
default result for MockCertVerifier. This only works in test code. 

–mojo-core-library-path 

Initializes
Mojo Core from a shared library at the specified path, rather than using the
version of Mojo Core embedded within the Content executable. 

–mojo-local-storage 

Use a
Mojo-based LocalStorage implementation. 

–mojo-pipe-token 

No
description
 

–monitoring-destination-id 

Allows
setting a different destination ID for connection-monitoring GCM messages.
Useful when running against a non-prod management server. 

–mse-audio-buffer-size-limit-mb 

Allows explicitly
specifying MSE audio/video buffer sizes as megabytes. Default values are 150M
for video and 12M for audio. 

–mse-video-buffer-size-limit-mb 

No
description
 

–mute-audio 

Mutes audio
sent to the audio device so it is not audible during automated testing. 

–nacl-broker 

No
description
 

–nacl-dangerous-no-sandbox-nonsfi 

Disable
sandbox even for non SFI mode. This is particularly unsafe as non SFI NaCl
heavily relies on the seccomp sandbox. 

–nacl-debug-mask 

Uses NaCl
manifest URL to choose whether NaCl program will be debugged by debug stub.
Switch value format: [!]pattern1,pattern2,…,patternN. Each pattern uses the
same syntax as patterns in Chrome extension manifest. The only difference is
that * scheme matches all schemes instead of matching only http and https. If
the value doesn’t start with !, a program will be debugged if manifest URL
matches any pattern. If the value starts with !, a program will be debugged
if manifest URL does not match any pattern. 

–nacl-gdb 

Native
Client GDB debugger that will be launched automatically when needed. 

–nacl-gdb-script 

GDB script to
pass to the nacl-gdb debugger at startup. 

–nacl-loader 

No
description
 

–nacl-loader-nonsfi 

Value for
–type that causes the process to run as a NativeClient loader for non SFI
mode. 

–native 

No
description
 

–native-messaging-connect-extension 

Requests a
native messaging connection be established between the extension with ID
specified by this switch and the native messaging host named by the
kNativeMessagingConnectHost switch. 

–native-messaging-connect-host 

Requests a
native messaging connection be established between the native messaging host
named by this switch and the extension with ID specified by
kNativeMessagingConnectExtension. 

–native-messaging-connect-id 

If set when
kNativeMessagingConnectHost and kNativeMessagingConnectExtension are
specified, is reflected to the native messaging host as a command line
parameter. 

–native-with-thread-names 

No
description
 

–nearbysharing-http-host 

Overrides
the default URL for Google APIs (https://www.googleapis.com) used by Nearby
Share 

–need-arc-migration-policy-check 

If present,
the device needs to check the policy to see if the migration to ext4 for ARC
is allowed. It should be present only on devices that have been initially
issued with ecrypfs encryption and have ARC (N+) available. For the devices
in other categories this flag must be missing. 

–net-log-capture-mode 

Sets the
granularity of events to capture in the network log. The mode can be set to
one of the following values: “Default” “IncludeSensitive”
“Everything” See the enums of the corresponding name in
net_log_capture_mode.h for a description of their meanings. 

–netifs-to-ignore 

List of
network interfaces to ignore. Ignored interfaces will not be used for network
connectivity. 

–network 

No
description
 

–network-country-iso[7] 

The
telephony region (ISO country code) to use in phone number detection. 

–network-quiet-timeout 

Sets the
timeout seconds of the network-quiet timers in IdlenessDetector. Used by
embedders who want to change the timeout time in order to run web contents on
various embedded devices and changeable network bandwidths in different
regions. For example, it’s useful when using FirstMeaningfulPaint signal to
dismiss a splash screen. 

–new-canvas-2d-api 

Enable
in-progress canvas 2d API features. 

–new-window 

Launches URL
in new browser window. 

–no-crash-upload 

Prevent the
crash client from uploading crash reports. 

–no-default-browser-check 

Disables the
default browser check. Useful for UI/browser tests where we want to avoid
having the default browser info-bar displayed. 

–no-delay-for-dx12-vulkan-info-collection 

Start the
non-sandboxed GPU process for DX12 and Vulkan info collection immediately
after the browser starts. The default is to delay for 120 seconds. 

–no-experiments 

Disables all
experiments set on about:flags. Does not disable about:flags itself. Useful
if an experiment makes chrome crash at startup: One can start chrome with
–no-experiments, disable the problematic lab at about:flags and then restart
chrome without this switch again. 

–no-first-run 

Skip First
Run tasks, whether or not it’s actually the First Run. Overridden by
kForceFirstRun. 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. 

–no-initial-navigation 

Stops new
Shell objects from navigating to a default url. 

–no-managed-user-acknowledgment-check 

Disables
checking whether we received an acknowledgment when registering a supervised
user. Also disables the timeout during registration that waits for the ack.
Useful when debugging against a server that does not support
notifications. 

–no-network-profile-warning[1] 

Whether or
not the browser should warn if the profile is on a network share. This flag
is only relevant for Windows currently. 

–no-pings 

Don’t send
hyperlink auditing pings 

–no-proxy-server 

Don’t use a
proxy server, always make direct connections. Overrides any other proxy
server flags that are passed. 

–no-recovery-component 

Prevent
downloading and running the recovery component. 

–no-report-upload 

Prevent the
logging service from uploading logs and reports. WARNING: this switch is used
by internal test systems. Be careful when making changes. 

–no-sandbox 

Disables the
sandbox for all process types that are normally sandboxed. Meant to be used
as a browser-level switch for testing purposes only. 

–no-sandbox-and-elevated[1] 

Disables the
sandbox and gives the process elevated privileges. 

–no-self-delete 

Prevent the
executable from deleting itself after running. 

–no-service-autorun 

Disables the
service process from adding itself as an autorun process. This does not
delete existing autorun registrations, it just prevents the service from
registering a new one. 

–no-startup-window 

Does not
automatically open a browser window on startup (used when launching Chrome
for the purpose of hosting background apps). 

–no-user-gesture-required 

Autoplay
policy that does not require any user gesture. 

–no-v8-untrusted-code-mitigations 

Disables V8
mitigations for executing untrusted code. 

–no-vr-runtime 

Tell WebXr
to assume that it does not support any runtimes. 

–no-wifi 

Disable
features that require WiFi management. 

–no-xshm 

Disables
MIT-SHM extension. 

–no-zygote 

Disables the
use of a zygote process for forking child processes. Instead, child processes
will be forked and exec’d directly. Note that –no-sandbox should also be
used together with this flag because the sandbox needs the zygote to
work. 

–no-zygote-sandbox[10] 

Instructs
the zygote to launch without a sandbox. Processes forked from this type of
zygote will apply their own custom sandboxes later. 

–noerrdialogs 

Suppresses
all error dialogs when present. 

–none 

Must be in
sync with “sandbox_type” values as used in service manager’s
manifest.json catalog files. 

–none_and_elevated 

No
description
 

–note-taking-app-ids 

An optional
comma-separated list of IDs of apps that can be used to take notes. If unset,
a hardcoded list is used instead. 

–notification-inline-reply[1] 

Used in
combination with kNotificationLaunchId to specify the inline reply entered in
the toast in the Windows Action Center. 

–notification-launch-id[1] 

Used for
launching Chrome when a toast displayed in the Windows Action Center has been
activated. Should contain the launch ID encoded by Chrome. 

–ntp-snippets-add-incomplete 

If this flag
is set, we will add downloaded snippets that are missing some critical data
to the list. 

–null 

No
description
 

–num-raster-threads 

Number of
worker threads used to rasterize content. 

–oauth-account-manager-url 

No
description