[{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--\\x78\\xb6\\xa7\\x59\\x06\\x11\\xc7\\xea\\x09\\x7e\\x92\\xe3\\xe9\\xff\\xa6\\x01\\x4c","variable":"kCampbellHashKey","line":29,"comment":"The hash value for the secret key of the campbell feature."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--accept-empty-variations-seed-signature","variable":"kAcceptEmptySeedSignatureForTesting","line":109,"comment":"Accept an empty signature when loading a variations seed. This is for testing purposes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--accept-lang","variable":"kAcceptLang","line":28,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--accept-resource-provider","variable":"kAcceptResourceProvider","line":61,"comment":"Cast Receiver switches"},{"type":"switch","file":"components/subresource_filter/core/browser/subresource_filter_features.cc","name":"--activation_state","variable":"kActivationLevelParameterName","line":258,"comment":"Name/values of the variation parameter controlling maximum activation level."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--additional-private-state-token-key-commitments","variable":"kAdditionalTrustTokenKeyCommitments","line":94,"comment":"Manually sets additional Private State 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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-appshim-signature-mismatch-for-tests","variable":"kAllowAppShimSignatureMismatchForTests","line":35,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Only if we're running in an unsigned build, passing this flag will allow app shims whose code signature does not match what chrome is expecting to still connect to chrome. This is used by some tests to allow the test to pretend to be a valid app shim."},{"type":"switch","file":"chrome/browser/headless/headless_mode_switches.h","name":"--allow-chrome-scheme-url","variable":"kAllowChromeSchemeUrl","line":11,"comment":"Allows headless mode to access any URL whose scheme is chrome://."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--allow-command-line-plugins","variable":"kAllowCommandLinePlugins","line":26,"comment":"Allows plugins to be loaded in the command line for testing."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-cross-origin-auth-prompt","variable":"kAllowCrossOriginAuthPrompt","line":41,"comment":"Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--allow-empty-passwords-in-tests","variable":"kTemporaryAllowEmptyPasswordsInTests","line":996,"todos":["TODO(b/299642185): Remove this flag by the end of 2023. ChromeOS does not support empty passwords for users, but some legacy test setups might use empty password for users."]},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--allow-external-pages","variable":"kAllowExternalPages","line":11,"comment":"Allow access to external pages during web tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--allow-failed-policy-fetch-for-test","variable":"kAllowFailedPolicyFetchForTest","line":43,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--allow-file-access-from-files","variable":"kAllowFileAccessFromFiles","line":15,"comment":"By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-http-screen-capture","variable":"kAllowHttpScreenCapture","line":45,"comment":"Allow non-secure origins to use the screen capture API and the desktopCapture extension API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--allow-insecure-localhost","variable":"kAllowInsecureLocalhost","line":19,"comment":"Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--allow-loopback-in-peer-connection","variable":"kAllowLoopbackInPeerConnection","line":22,"comment":"Allows loopback interface to be added in network list for peer connection."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--allow-os-install","variable":"kAllowOsInstall","line":48,"comment":"When this flag is set, the OS installation UI can be accessed. This allows the user to install from USB to disk."},{"type":"switch","file":"media/base/media_switches.cc","name":"--allow-ra-in-dev-mode","variable":"kAllowRAInDevMode","line":270,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-running-insecure-content","variable":"kAllowRunningInsecureContent","line":49,"comment":"By default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-silent-push","variable":"kAllowSilentPush","line":52,"comment":"Allows Web Push notifications that do not show a notification."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-unpacked-perfetto-extension","variable":"kAllowUnpackedPerfettoExtension","line":55,"comment":"Allows an unpacked Perfetto UI extension to be trusted."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--allow-unsafe-devtools-remote-file-loading","variable":"kAllowUnsafeDevToolsRemoteFileLoading","line":60,"comment":"Allows DevTools frontend from remote origins to load local file:// resources. This should only be enabled when explicitly needed for remote debugging with local source maps."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--almanac-api-url","variable":"kAlmanacApiUrl","line":53,"comment":"Override for the URL used for the ChromeOS Almanac API. Used for local testing with a non-production server (e.g. \"--almanac-api-url=http://localhost:8000\")."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-amp-device-name","variable":"kAlsaAmpDeviceName","line":65,"comment":"ALSA-based CMA switches. (Only valid for audio products.)","todos":["TODO(sergeyu): kAlsaEnableUpsampling and kAlsaCheckCloseTimeout are implemented in StreamMixer, which is not ALSA-specific - it's also used on Fuchsia. Rename these flags."]},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-amp-element-name","variable":"kAlsaAmpElementName","line":69,"comment":"Name of the simple mixer control element that the ALSA-based media library should use to toggle powersave mode on the system."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-check-close-timeout","variable":"kAlsaCheckCloseTimeout","line":73,"comment":"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."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-enable-upsampling","variable":"kAlsaEnableUpsampling","line":77,"comment":"Flag that enables resampling audio with sample rate below 32kHz up to 48kHz. Should be set to true for internal audio products."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-fixed-output-sample-rate","variable":"kAlsaFixedOutputSampleRate","line":81,"comment":"Optional flag to set a fixed sample rate for the alsa device. Deprecated: Use --audio-output-sample-rate instead."},{"type":"switch","file":"media/base/media_switches.cc","name":"--alsa-input-device","variable":"kAlsaInputDevice","line":300,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \\"],"comment":"The Alsa device to use when opening an audio input stream."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-mute-device-name","variable":"kAlsaMuteDeviceName","line":85,"comment":"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."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-mute-element-name","variable":"kAlsaMuteElementName","line":89,"comment":"Name of the simple mixer control element that the ALSA-based media library should use to mute the system."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-output-avail-min","variable":"kAlsaOutputAvailMin","line":92,"comment":"Minimum number of available frames for scheduling a transfer."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-output-buffer-size","variable":"kAlsaOutputBufferSize","line":97,"comment":"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."},{"type":"switch","file":"media/base/media_switches.cc","name":"--alsa-output-device","variable":"kAlsaOutputDevice","line":302,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \\"],"comment":"The Alsa device to use when opening an audio stream."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-output-period-size","variable":"kAlsaOutputPeriodSize","line":101,"comment":"Size of the ALSA output period in frames. The period of an ALSA output device determines how many frames elapse between hardware interrupts."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-output-start-threshold","variable":"kAlsaOutputStartThreshold","line":104,"comment":"How many frames need to be in the output buffer before output starts."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-volume-device-name","variable":"kAlsaVolumeDeviceName","line":109,"comment":"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."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--alsa-volume-element-name","variable":"kAlsaVolumeElementName","line":113,"comment":"Name of the simple mixer control element that the ALSA-based media library should use to control the volume."},{"type":"switch","file":"chrome/test/base/test_switches.cc","name":"--also-emit-success-logs","variable":"kAlsoEmitSuccessLogs","line":10,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--always-enable-hdcp","variable":"kAlwaysEnableHdcp","line":57,"comment":"Causes HDCP of the specified type to always be enabled when an external display is connected. Used for HDCP compliance testing on ChromeOS."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--always-use-complex-text","variable":"kAlwaysUseComplexText","line":28,"comment":"Always use the complex text path for web tests."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--android-entra-sso-allow-debug-brokers","variable":"kAndroidEntraSsoAllowDebugBrokers","line":751,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"If enabled Entra SSO will accept authentication headers from a specific list of non-production Microsoft Authentication broker apps."},{"type":"switch","file":"base/base_switches.h","name":"--android-skip-child-service-init-for-testing","variable":"kAndroidSkipChildServiceInitForTesting","line":169,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"For testing, do not initialize child service process but also do not exit (until requested by browser)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--app","variable":"kApp","line":65,"comment":"Specifies that the associated value should be launched in \"application\" mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--app-auto-launched","variable":"kAppAutoLaunched","line":62,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--app-id","variable":"kAppId","line":69,"comment":"Specifies that the extension-app with the specified id should be launched according to its configuration."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--app-launch-url-for-shortcuts-menu-item","variable":"kAppLaunchUrlForShortcutsMenuItem","line":74,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--app-mode-auth-code","variable":"kAppModeAuthCode","line":1081,"comment":"Value of GAIA auth code for --force-app-mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--app-mode-oauth-token","variable":"kAppModeOAuth2Token","line":1084,"comment":"Value of OAuth2 refresh token for --force-app-mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--app-mode-oem-manifest","variable":"kAppOemManifestFile","line":65,"comment":"Path for app's OEM manifest file."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--app-run-on-os-login-mode","variable":"kAppRunOnOsLoginMode","line":80,"comment":"This is used along with kAppId to indicate an app was launched during OS login, and which mode the app was launched in."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--app-shim","variable":"kAppShim","line":84,"comment":"A process type (switches::kProcessType) that is used by App Shim processes. See chrome/app_shim/app_shim_main_delegate.mm."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--apps-gallery-update-url","variable":"kAppsGalleryUpdateURL","line":87,"comment":"Overrides the update url used by webstore extensions."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--apps-keep-chrome-alive-in-tests","variable":"kAppsKeepChromeAliveInTests","line":822,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Prevents Chrome from quitting when Chrome Apps are open."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-availability","variable":"kArcAvailability","line":74,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-available","variable":"kArcAvailable","line":78,"comment":"DEPRECATED: Please use --arc-availability=installed. Signals the availability of the ARC instance on this device."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-block-keymint","variable":"kArcBlockKeyMint","line":81,"comment":"Switch that blocks KeyMint. When KeyMint is blocked, Keymaster is enabled."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-data-cleanup-on-start","variable":"kArcDataCleanupOnStart","line":84,"comment":"Flag that forces ARC data be cleaned on each start."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-app-sync","variable":"kArcDisableAppSync","line":88,"comment":"Flag that disables ARC app sync flow that installs some apps silently. Used in autotests to resolve racy conditions."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-dexopt-cache","variable":"kArcDisableDexOptCache","line":91,"comment":"Used in tests to disable DexOpt cache which is on by default."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-download-provider","variable":"kArcDisableDownloadProvider","line":95,"comment":"Flag that disables ARC download provider that prevents extra content to be downloaded and installed in context of Play Store and GMS Core."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-gms-core-cache","variable":"kArcDisableGmsCoreCache","line":98,"comment":"Used in autotest to disable GMS-core caches which is on by default."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-locale-sync","variable":"kArcDisableLocaleSync","line":105,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-media-store-maintenance","variable":"kArcDisableMediaStoreMaintenance","line":110,"comment":"Used to disable GMS scheduling of media store periodic indexing and corpora maintenance tasks. Used in performance tests to prevent running during testing which can cause unstable results or CPU not idle pre-test failures."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-play-auto-install","variable":"kArcDisablePlayAutoInstall","line":115,"comment":"Flag that disables ARC Play Auto Install flow that installs set of predefined apps silently. Used in autotests to resolve racy conditions."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-disable-tts-cache","variable":"kArcDisableTtsCache","line":118,"comment":"Used in autotest to disable TTS cache which is on by default."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-enable-attestation","variable":"kArcEnableAttestation","line":125,"comment":"Flag that enables key and ID attestation for KeyMint."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-erofs","variable":"kArcErofs","line":128,"comment":"Flag that indicates ARC images are formatted with EROFS (go/arcvm-erofs)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-force-mount-android-volumes-in-files","variable":"kArcForceMountAndroidVolumesInFiles","line":132,"comment":"Flag that forces Android volumes (DocumentsProviders and Play files) to be mounted in the Files app. Used for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-force-show-optin-ui","variable":"kArcForceShowOptInUi","line":136,"comment":"Flag that forces the OptIn ui to be shown. Used in tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-generate-play-auto-install","variable":"kArcGeneratePlayAutoInstall","line":140,"comment":"Flag that enables developer options needed to generate an ARC Play Auto Install roster. Used manually by developers."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-host-ureadahead-mode","variable":"kArcHostUreadaheadMode","line":149,"comment":"Sets the mode of operation for ureadahead during ARC Container boot. readahead (default) - used during production and is equivalent to no switch being set. generate - used during Android Uprev data collector to pre-generate pack file and upload to Google Cloud as build artifact for CrOS build image. disabled - used for test purpose to disable ureadahead during ARC Container boot."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-install-event-chrome-log-for-tests","variable":"kArcInstallEventChromeLogForTests","line":152,"comment":"Write ARC++ install events to chrome log for integration test."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-packages-cache-mode","variable":"kArcPackagesCacheMode","line":159,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-play-store-auto-update","variable":"kArcPlayStoreAutoUpdate","line":164,"comment":"Used in autotest to forces Play Store auto-update state. Can be on - auto-update is forced on. off - auto-update is forced off."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-scale","variable":"kArcScale","line":171,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-start-mode","variable":"kArcStartMode","line":177,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-tos-host-for-tests","variable":"kArcTosHostForTests","line":180,"comment":"Sets ARC Terms Of Service hostname url for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arc-use-dev-caches","variable":"kArcUseDevCaches","line":122,"comment":"Flag that indicates ARC is using dev caches generated by data collector in Uprev rather than caches from CrOS build stage for arccachesetup service."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--arcore","variable":"kWebXrRuntimeArCore","line":879,"comment":"The following are the runtimes that WebXr supports."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arcvm-dlc-hardware-satisfied","variable":"kArcVmDlcHardwareRequirementSatisfied","line":490,"comment":"This flag is set when the device's hardware meets the hardware requirements for the ARCVM DLC."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arcvm-ureadahead-mode","variable":"kArcVmUreadaheadMode","line":193,"comment":"Sets the mode of operation for ureadahead during ARCVM boot. If this switch is not set, ARCVM ureadahead will check for the presence and age of pack file and reads ahead files to page cache for improved boot performance. readahead (default) - used during production and is equivalent to no switch being set. This is used in tast test to explicitly turn on guest ureadahead (see |kArcDisableUreadahead|). generate - used during Android Uprev data collector to pre-generate pack file and upload to Google Cloud as build artifact for CrOS build image. disabled - used for test purpose to disable ureadahead during ARCVM boot. note, |kArcDisableUreadahead| also disables both, guest and host parts of ureadahead."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--arcvm-use-hugepages","variable":"kArcVmUseHugePages","line":196,"comment":"Madvises the kernel to use Huge Pages for guest memory."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--as-browser","variable":"kLaunchAsBrowser","line":479,"comment":"Flag to launch tests in the browser process."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-allow-default-shelf-pin-layout-ignoring-sync","variable":"kAllowDefaultShelfPinLayoutIgnoringSync","line":1073,"comment":"Allows the Ash shelf to apply the default pin layout without waiting for Sync to download data from the server (which many tests can't achieve)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-constrain-pointer-to-root","variable":"kAshConstrainPointerToRoot","line":199,"comment":"Force the pointer (cursor) position to be kept inside root windows."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-contextual-nudges-interval","variable":"kAshContextualNudgesInterval","line":203,"comment":"Overrides the minimum time that must pass between showing user contextual nudges. Unit of time is in seconds."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-contextual-nudges-reset-shown-count","variable":"kAshContextualNudgesResetShownCount","line":206,"comment":"Reset contextual nudge shown count on login."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-debug-shortcuts","variable":"kAshDebugShortcuts","line":210,"comment":"Enable keyboard shortcuts useful for debugging."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-dev-shortcuts","variable":"kAshDeveloperShortcuts","line":213,"comment":"Enable keyboard shortcuts used by developers only."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-disable-touch-exploration-mode","variable":"kAshDisableTouchExplorationMode","line":218,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-enable-magnifier-key-scroller","variable":"kAshEnableMagnifierKeyScroller","line":222,"comment":"Enables key bindings to scroll magnified screen."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-enable-palette-on-all-displays","variable":"kAshEnablePaletteOnAllDisplays","line":226,"comment":"Enables the palette on every display, instead of only the internal one."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--ash-enable-software-mirroring","variable":"kEnableSoftwareMirroring","line":15,"comment":"Enables software based mirroring."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--ash-enable-unified-desktop","variable":"kEnableUnifiedDesktop","line":69,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Enables unified desktop mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-hide-notifications-for-factory","variable":"kAshHideNotificationsForFactory","line":249,"comment":"Hides notifications that are irrelevant to Chrome OS device factory testing, such as battery level updates."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--ash-host-window-bounds","variable":"kHostWindowBounds","line":44,"comment":"Sets a window size, optional position, optional scale factor and optional panel radii. \"1024x768\" creates a window of size 1024x768. \"100+200-1024x768\" positions the window at 100,200. \"1024x768*2\" sets the scale factor to 2 for a high DPI display. \"1024x768~15|15|12|12\" sets the radii of the panel corners as (upper_left=15px,upper_right=15px, lower_right=12px, upper_left=12px) \"800,0+800-800x800\" for two displays at 800x800 resolution. \"800,0+800-800x800,0+1600-800x800\" for three displays at 800x800 resolution."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-no-nudges","variable":"kAshNoNudges","line":255,"comment":"Hides educational nudges that can interfere with tast integration tests. Somewhat similar to --no-first-run but affects system UI behavior, not browser behavior."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-power-button-position","variable":"kAshPowerButtonPosition","line":266,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-side-volume-button-position","variable":"kAshSideVolumeButtonPosition","line":272,"comment":"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\"."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ash-touch-hud","variable":"kAshTouchHud","line":275,"comment":"Enables the heads-up display for tracking touch points."},{"type":"switch","file":"components/actor/core/actor_switches.cc","name":"--attempt-form-filling-tool-skips-ui","variable":"kAttemptFormFillingToolSkipsUI","line":17,"comment":"Bypasses the selection of the data to be filled by the `AttemptFormFillingTool` and just picks the first suggestion for each form section. This is only intended for testing."},{"type":"switch","file":"components/actor/core/actor_switches.cc","name":"--attempt-otp-filling-bypass-login-check","variable":"kAttemptOtpFillingBypassLoginCheck","line":22,"comment":"Bypasses the requirement that OTP filling must be part of an actor login flow. This is only intended for testing/automation."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--attestation-server","variable":"kAttestationServer","line":12,"comment":"Used in AttestationClient to determine which Google Privacy CA to use for attestation."},{"type":"switch","file":"media/base/media_switches.cc","name":"--audio-buffer-size","variable":"kAudioBufferSize","line":53,"comment":"Allow users to specify a custom buffer size for debugging purpose."},{"type":"switch","file":"media/base/media_switches.cc","name":"--audio-capturer-with-echo-cancellation","variable":"kAudioCapturerWithEchoCancellation","line":278,"buildflags":["BUILDFLAG(IS_FUCHSIA)"],"comment":"Forces AudioManagerFuchsia to assume that the AudioCapturer implements echo cancellation.","todos":["TODO(crbug.com/42050621): Remove this once AudioManagerFuchsia is updated to get this information from AudioCapturerFactory."]},{"type":"switch","file":"media/base/media_switches.cc","name":"--audio-codecs-from-edid","variable":"kAudioCodecsFromEDID","line":262,"buildflags":["BUILDFLAG(ENABLE_PASSTHROUGH_AUDIO_CODECS)"],"comment":"Audio codecs supported by the HDMI sink is retrieved from the audio service process. EDID contains the Short Audio Descriptors, which list the audio decoders supported, and the information is presented as a bitmask of supported audio codecs."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--audio-output-channels","variable":"kAudioOutputChannels","line":118,"comment":"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."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--audio-output-sample-rate","variable":"kAudioOutputSampleRate","line":123,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--audio-process-high-priority","variable":"kAudioProcessHighPriority","line":975,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Use high priority for the audio process."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--aue-reached-for-update-required-test","variable":"kUpdateRequiredAueForTest","line":1041,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--aura-legacy-power-button","variable":"kAuraLegacyPowerButton","line":289,"comment":"(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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auth-server-allowlist","variable":"kAuthServerAllowlist","line":90,"comment":"Allowlist for Negotiate Auth servers"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auth-spnego-account-type","variable":"kAuthAndroidNegotiateAccountType","line":755,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Android authentication account type for SPNEGO authentication"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--auto","variable":"kTouchEventFeatureDetectionAuto","line":735,"comment":"The values the kTouchEventFeatureDetection switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-accept-browser-signin-for-tests","variable":"kBrowserSigninAutoAccept","line":137,"comment":"Automatically signs the user into Chrome when signing in to other Google services on the web. This makes it easier for automated browsers to sign in."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--auto-accept-camera-and-microphone-capture","variable":"kAutoAcceptCameraAndMicrophoneCapture","line":33,"comment":"Bypasses the dialog prompting the user for permission to capture cameras and microphones. Useful in automatic tests of video-conferencing Web applications. This is nearly identical to kUseFakeUIForMediaStream, with the exception being that this flag does NOT affect screen-capture."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-accept-this-tab-capture","variable":"kThisTabCaptureAutoAccept","line":661,"comment":"These flags make Chrome auto-accept/reject requests to capture the current tab. It should only be used for tests."},{"type":"switch","file":"media/base/media_switches.cc","name":"--auto-grant-captured-surface-control-prompt","variable":"kAutoGrantCapturedSurfaceControlPrompt","line":56,"comment":"Skip the permission prompt for Captured Surface Control."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-open-devtools-for-tabs","variable":"kAutoOpenDevToolsForTabs","line":95,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-reject-capture","variable":"kCaptureAutoReject","line":665,"comment":"This flag makes Chrome auto-reject requests capture a tab/window/screen."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-select-desktop-capture-source","variable":"kAutoSelectDesktopCaptureSource","line":103,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-select-screen-capture-source","variable":"kAutoSelectScreenCaptureSource","line":116,"comment":"This flag makes Chrome auto-select any screen when an extension asks permission to start desktop capture. Should only be used for tests. kAutoSelectDesktopCaptureSource (see above) can be also be used to auto-select screens. But it have the problem that you need to know the name of a screen to auto-select it. The name of screens can't be set, are different for different platforms, and are different if you have one or several screens. So it's hard to use for auto-selecting screens. This flag does not care what the screen name is, but it also gives no control. Any screen could be chosen. It is useful in tests where we don't care which screen is auto-selected."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-select-tab-capture-source-by-title","variable":"kAutoSelectTabCaptureSourceByTitle","line":125,"comment":"This flag makes Chrome auto-select a tab with the provided title when the media-picker should otherwise be displayed to the user. This switch is very similar to kAutoSelectDesktopCaptureSource, but limits selection to tabs. This solves the issue of kAutoSelectDesktopCaptureSource being liable to accidentally capturing the Chromium window instead of the tab, as both have the same title if the tab is focused."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--auto-select-window-capture-source-by-title","variable":"kAutoSelectWindowCaptureSourceByTitle","line":132,"comment":"This flag makes Chrome auto-select a window with the provided title when the media-picker should otherwise be displayed to the user. This switch is very similar to kAutoSelectDesktopCaptureSource, but limits selection to the window."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--autofill-api-key","variable":"kAutofillAPIKey","line":15,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--autofill-server-url","variable":"kAutofillServerURL","line":18,"comment":"Override the default autofill server URL with \"scheme://host[:port]/prefix/\"."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--autofill-upload-throttling-period-in-days","variable":"kAutofillUploadThrottlingPeriodInDays","line":22,"comment":"The number of days after which to reset the registry of autofill events for which an upload has been sent."},{"type":"switch","file":"media/base/media_switches.cc","name":"--autoplay-policy","variable":"kAutoplayPolicy","line":60,"comment":"Command line flag name to set the autoplay policy."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--back-gesture-horizontal-threshold","variable":"kBackGestureHorizontalThreshold","line":194,"comment":"The number of pixels from the start of a left swipe gesture to consider as a 'back' gesture."},{"type":"switch","file":"base/base_switches.h","name":"--background-thread-pool-field-trial","variable":"kBackgroundThreadPoolFieldTrial","line":39,"comment":"Configure the background threadpool field trial."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--background-tracing-output-path","variable":"kBackgroundTracingOutputPath","line":125,"comment":"Sets a local folder destination for tracing data. This is only used if kEnableBackgroundTracing is also specified."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--biod-fake","variable":"kBiodFake","line":16,"comment":"Enables BIOD fake behavior. If the switch is set, fake biod D-Bus client is initialized and BIOD events do not reach chrome."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--birch-is-evening","variable":"kBirchIsEvening","line":293,"comment":"Sets the birch ranker to assume it is evening for birch chip ranking purposes."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--birch-is-morning","variable":"kBirchIsMorning","line":297,"comment":"Sets the birch ranker to assume it is morning for birch chip ranking purposes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--bootstrap","variable":"kExtensionContentVerificationBootstrap","line":332,"comment":"Values for the kExtensionContentVerification flag. See ContentVerifierDelegate::Mode for more explanation."},{"type":"switch","file":"chrome/browser/ash/borealis/borealis_switches.cc","name":"--borealis-launch-options","variable":"kLaunchOptions","line":13,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--bottom-gesture-start-height","variable":"kBottomSystemGestureStartHeight","line":190,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--browser-data-backward-migration-for-user","variable":"kBrowserDataBackwardMigrationForUser","line":779,"comment":"Specifies the user that the browser data backward migration should happen for."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--browser-data-backward-migration-mode","variable":"kBrowserDataBackwardMigrationMode","line":791,"comment":"Backward migration mode. Passed with `kBrowserDataBackwardMigrationForUser`."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--browser-data-migration-for-user","variable":"kBrowserDataMigrationForUser","line":775,"comment":"Specifies the user that the browser data migration should happen for."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--browser-data-migration-mode","variable":"kBrowserDataMigrationMode","line":788,"comment":"Run move migration instead of copy. Passed with `kBrowserDataMigrationForUser`."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--browser-startup-dialog","variable":"kBrowserStartupDialog","line":40,"comment":"Causes the browser process to display a dialog on launch."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--browser-subprocess-path","variable":"kBrowserSubprocessPath","line":43,"comment":"Path to the exe to run for the renderer and plugin subprocesses."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--browser-test","variable":"kBrowserTest","line":48,"comment":"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])."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--browser-test","variable":"kStartStackProfilerBrowserTest","line":640,"comment":"Browser test mode for the |kStartStackProfiler| switch. Limits the profile durations to be significantly less than the test timeout. On ChromeOS, forces the stack sampling profiler to run on all processes as well."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--browser-ui-tests-verify-pixels","variable":"kVerifyPixels","line":798,"comment":"Causes tests to attempt to verify pixel output."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--bwsi","variable":"kGuestSession","line":695,"comment":"Indicates that the browser is in \"browse without sign-in\" (Guest session) mode. Should completely disable extensions, sync and bookmarks."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--bypass-account-already-used-by-another-profile-check","variable":"kBypassAccountAlreadyUsedByAnotherProfileCheck","line":141,"comment":"If specified, allows syncing multiple profiles to the same account. Used for multi-client E2E tests."},{"type":"switch","file":"components/component_updater/component_updater_switches.cc","name":"--campaigns-test-tag","variable":"kCampaignsTestTag","line":21,"comment":"Switch to control which serving campaigns file versions to select in test cohort. Example: `--campaigns-test-tag=dev1` will select test cohort which tag matches dev1."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--campbell-key","variable":"kCampbellKey","line":302,"comment":"Switch used to pass in a secret key for Campbell feature. Unless the correct secret key is provided, Campbell feature will remain disabled, regardless of the state of the associated feature flag."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--canvas-2d-layers","variable":"kEnableCanvas2DLayers","line":74,"comment":"Enable in-progress canvas 2d API methods BeginLayer and EndLayer."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--cast-app-background-color","variable":"kCastAppBackgroundColor","line":174,"comment":"Background color used when Chromium hasn't rendered anything yet."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--cast-assets-dir","variable":"kCastAssetsDir","line":258,"comment":"Allows specifying the base::ASSETS dir for Cast via commandline."},{"type":"switch","file":"chromecast/cast_core/cast_core_switches.h","name":"--cast-core-runtime-id","variable":"kCastCoreRuntimeId","line":11,"comment":"Specifies the Cast Core runtime ID, --cast-core-runtime-id=<runtime_id>."},{"type":"switch","file":"chromecast/cast_core/cast_core_switches.h","name":"--cast-core-service-endpoint","variable":"kCastCoreServiceEndpoint","line":18,"comment":"Specifies the Cast Core service gRPC endpoint."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--cast-initial-screen-height","variable":"kCastInitialScreenHeight","line":155},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--cast-initial-screen-width","variable":"kCastInitialScreenWidth","line":154,"comment":"GPU process switches"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--cast-mirroring-target-playout-delay","variable":"kCastMirroringTargetPlayoutDelay","line":784,"buildflags":["!BUILDFLAG(IS_ANDROID) || BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)"],"comment":"If enabled, overrides the target playout delay for a casting mirroring session. The value will be parsed as milliseconds. Lowering this value will result in a lower end to end latency, but could come at the cost of other quality standards such as dropped frames or FPS."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--cast-mojo-broker-path","variable":"kCastMojoBrokerPath","line":255,"comment":"Command-line arg to change the Unix domain socket path to connect to the Cast Mojo broker."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-disable-hardware-av1","variable":"kCastStreamingForceDisableHardwareAv1","line":70,"comment":"If enabled, completely disables use of AV1 hardware encoding for Cast Streaming sessions."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-disable-hardware-h264","variable":"kCastStreamingForceDisableHardwareH264","line":76,"comment":"If enabled, completely disables use of H264 hardware encoding for Cast Streaming sessions. Takes precedence over kCastStreamingForceEnableHardwareH264."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-disable-hardware-hevc","variable":"kCastStreamingForceDisableHardwareHevc","line":82,"comment":"If enabled, completely disables use of HEVC hardware encoding for Cast Streaming sessions. Takes precedence over kCastStreamingForceEnableHardwareHevc."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-disable-hardware-vp8","variable":"kCastStreamingForceDisableHardwareVp8","line":88,"comment":"If enabled, completely disables use of VP8 hardware encoding for Cast Streaming sessions. Takes precedence over kCastStreamingForceEnableHardwareVp8."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-disable-hardware-vp9","variable":"kCastStreamingForceDisableHardwareVp9","line":94,"comment":"If enabled, completely disables use of VP9 hardware encoding for Cast Streaming sessions. Takes precedence over kCastStreamingForceEnableHardwareVp9."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-enable-hardware-av1","variable":"kCastStreamingForceEnableHardwareAv1","line":101,"comment":"If enabled, allows use of AV1 hardware encoding for Cast Streaming sessions, even on platforms where it is disabled due to performance and reliability issues. kCastStreamingForceDisableHardwareAv1 must be disabled for this flag to take effect."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-enable-hardware-h264","variable":"kCastStreamingForceEnableHardwareH264","line":108,"comment":"If enabled, allows use of H264 hardware encoding for Cast Streaming sessions, even on platforms where it is disabled due to performance and reliability issues. kCastStreamingForceDisableHardwareH264 must be disabled for this flag to take effect."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-enable-hardware-hevc","variable":"kCastStreamingForceEnableHardwareHevc","line":115,"comment":"If enabled, allows use of HEVC hardware encoding for Cast Streaming sessions, even on platforms where it is disabled due to performance and reliability issues. kCastStreamingForceDisableHardwareHevc must be disabled for this flag to take effect."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-enable-hardware-vp8","variable":"kCastStreamingForceEnableHardwareVp8","line":122,"comment":"If enabled, allows use of VP8 hardware encoding for Cast Streaming sessions, even on platforms where it is disabled due to performance and reliability issues. kCastStreamingForceDisableHardwareVp8 must be disabled for this flag to take effect."},{"type":"switch","file":"media/base/media_switches.cc","name":"--cast-streaming-force-enable-hardware-vp9","variable":"kCastStreamingForceEnableHardwareVp9","line":129,"comment":"If enabled, allows use of VP9 hardware encoding for Cast Streaming sessions, even on platforms where it is disabled due to performance and reliability issues. kCastStreamingForceDisableHardwareVp9 must be disabled for this flag to take effect."},{"type":"switch","file":"components/cast_streaming/browser/cast_streaming_switches.h","name":"--cast-streaming-receiver-port","variable":"kCastStreamingReceiverPort","line":13,"comment":"If set, allows to use a specific UDP port for Cast Streaming sessions on the receiver side. Otherwise the Cast Streaming receiver is using a random system port."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cellular-first","variable":"kCellularFirst","line":311,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--change-stack-guard-on-fork","variable":"kChangeStackGuardOnFork","line":57,"comment":"After a zygote forks a new process, change the stack canary. This switch is useful so not all forked processes use the same canary (a secret value), which can be vulnerable to information leaks and brute force attacks. See https://crbug.com/1206626. This requires that all functions on the stack at the time content::RunZygote() is called be compiled without stack canaries. Valid values are \"enable\" or \"disable\"."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--check-for-update-interval","variable":"kCheckForUpdateIntervalSec","line":146,"comment":"How often (in seconds) to check for updates. Should only be used for testing purposes."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--child-wallpaper-large","variable":"kChildWallpaperLarge","line":315,"comment":"Default large wallpaper to use for kids accounts (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--child-wallpaper-small","variable":"kChildWallpaperSmall","line":319,"comment":"Default small wallpaper to use for kids accounts (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--cipher-suite-blacklist","variable":"kCipherSuiteBlacklist","line":149,"comment":"Comma-separated list of SSL cipher suites to disable."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--clamshell","variable":"kAshUiModeClamshell","line":282,"comment":"Values for the kAshUiMode flag."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--class","variable":"kWmClass","line":817,"buildflags":["BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_CHROMEOS)"],"comment":"The same as the --class argument in X applications. Overrides the WM_CLASS window property with the given value."},{"type":"switch","file":"media/base/media_switches.cc","name":"--clear-key-cdm-path-for-testing","variable":"kClearKeyCdmPathForTesting","line":136,"comment":"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."},{"type":"switch","file":"components/signin/public/base/signin_switches.cc","name":"--clear-token-service","variable":"kClearTokenService","line":24,"comment":"Clears the token service before using it. This allows simulating the expiration of credentials during testing."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--code-sign-clone-cleanup","variable":"kCodeSignCloneCleanupProcess","line":848,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"A process type (switches::kProcessType) that cleans up the browser's temporary code sign clone."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--collect-dawn-info-eagerly","variable":"kCollectDawnInfoEagerly","line":81,"comment":"Start the GPU process for Dawn info collection immediately after the browser starts. The default is to delay for 120 seconds."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--compensate-for-unstable-pinch-zoom","variable":"kCompensateForUnstablePinchZoom","line":14,"comment":"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."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--compile-shader-always-succeeds","variable":"kCompileShaderAlwaysSucceeds","line":10,"comment":"Always return success when compiling a shader. Linking will still fail."},{"type":"switch","file":"components/component_updater/component_updater_switches.cc","name":"--component-updater","variable":"kComponentUpdater","line":11,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"components/component_updater/component_updater_switches.cc","name":"--component-updater-trust-tokens-component-path","variable":"kComponentUpdaterTrustTokensComponentPath","line":15,"comment":"Optional testing override of the Trust Tokens key commitment component's path."},{"type":"switch","file":"chromecast/net/net_switches.cc","name":"--connectivity-check-url","variable":"kConnectivityCheckUrl","line":11,"comment":"Url for network connectivity checking. Default is \"https://clients3.google.com/generate_204\"."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--content-shell-hide-toolbar","variable":"kContentShellHideToolbar","line":41,"comment":"Hides toolbar from content_shell's host window."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--content-shell-host-window-size","variable":"kContentShellHostWindowSize","line":37,"comment":"Size for the content_shell's host window (i.e. \"800x600\")."},{"type":"switch","file":"components/personal_context/core/personal_context_debug_features.h","name":"--context-memory-service-base-url","variable":"kContextMemoryServiceBaseUrlSwitch","line":17,"comment":"Overrides the base URL of the Context Memory Service returned by `GetContextMemoryServiceBaseUrl`."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--crash-dumps-dir","variable":"kCrashDumpsDir","line":26,"comment":"The directory Crashpad should store minidumps in. iOS and tvOS default to app's cache directory."},{"type":"switch","file":"components/crash/core/app/crash_switches.cc","name":"--crash-loop-before","variable":"kCrashLoopBefore","line":30,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"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."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--crash-on-failure","variable":"kCrashOnFailure","line":15,"comment":"When specified to \"enable-leak-detection\" command-line option, causes the leak detector to cause immediate crash when found leak."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--crash-server-url","variable":"kCrashServerUrl","line":23,"comment":"Switches for crash_uploader"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--crash-test","variable":"kBrowserCrashTest","line":37,"comment":"Causes the browser process to crash on startup."},{"type":"switch","file":"components/crash/core/app/crash_switches.cc","name":"--crashpad-handler","variable":"kCrashpadHandler","line":18,"comment":"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."},{"type":"switch","file":"components/crash/core/app/crash_switches.cc","name":"--crashpad-handler-pid","variable":"kCrashpadHandlerPid","line":22,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)"],"comment":"The process ID of the Crashpad handler."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--create-browser-on-startup-for-tests","variable":"kCreateBrowserOnStartupForTests","line":156,"comment":"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.","todos":["TODO(nkostylev): Investigate if this switch could be removed. (http://crbug.com/40933835)"]},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--create-profile-email-if-not-exists","variable":"kCreateProfileEmailIfNotExists","line":548,"comment":"If provided with kProfileEmail, prompts the user to create a new profile with kProfileEmail as the email address if that email is not found in any existing profile."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--credits","variable":"kCredits","line":161,"comment":"Prints licensing information (same content as found in about:credits) and quits."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--cros-disks-fake","variable":"kCrosDisksFake","line":20,"comment":"Enables cros disks fake behavior. If the switch is set, fake cros disk D-Bus client is initialized and USB events do not reach chrome."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cros-region","variable":"kCrosRegion","line":322,"comment":"Forces CrOS region value."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--crosh-command","variable":"kCroshCommand","line":790,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Custom crosh command."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cryptohome-ignore-cleanup-ownership-for-testing","variable":"kCryptohomeIgnoreCleanupOwnershipForTesting","line":350,"comment":"Normally the cryptohome without any any authentication factors is considered corrupted. Special mechanism would detect such situation during user creation and remove such users. If such user is an owner the power wash should be triggered instead. However, if such event happens in tests, all logs would be lost, and it would be difficult to investigate exact reason behind the Owner user being misconfigured. This flag prevents triggering powerwash in such cases, simple user removal would be triggered instead."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cryptohome-recovery-service-base-url","variable":"kCryptohomeRecoveryServiceBaseUrl","line":325,"comment":"Overrides the base url for the Cryptohome recovery service."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cryptohome-recovery-use-test-env","variable":"kCryptohomeRecoveryUseTestEnvironment","line":330,"comment":"Forces cryptohome recovery process to use test environment (test keys / URLs)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cryptohome-use-authsession","variable":"kCryptohomeUseAuthSession","line":334,"comment":"Controls if AuthSession API should be used when interacting with cryptohomed."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--cryptohome-use-old-encryption-for-testing","variable":"kCryptohomeUseOldEncryptionForTesting","line":339,"comment":"Forces cryptohome to create new users using old (ecryptfs) encryption. This switch can be used to set up configurations that can be used to test encryption migration scenarios."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--csd-debug-feature-directory","variable":"kCsdDebugFeatureDirectoryFlag","line":54,"comment":"Command-line flag that can be used to write extracted CSD features to disk. This is also enables a few other behaviors that are useful for debugging."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--csd-model-override-path","variable":"kOverrideCsdModelFlag","line":61,"comment":"Command-line flag that can be used to override the current CSD model. Must be provided with an absolute path."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--custom_summary","variable":"kForceShowUpdateMenuItemCustomSummary","line":770,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Forces a custom summary to be displayed below the update menu item."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--custom-android-messages-domain","variable":"kCustomAndroidMessagesDomain","line":1097,"comment":"When specified with a url string as parameter, the given url overrides the Android Messages for Web PWA installation and app urls using a base of the given domain with approrpiate suffixes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--custom-devtools-frontend","variable":"kCustomDevtoolsFrontend","line":167,"comment":"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>"},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--daemon","variable":"kCrashUploaderDaemon","line":26,"comment":"Switch to enable daemon-mode in crash_uploader."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--dbus-stub","variable":"kDbusStub","line":25,"comment":"Forces the stub implementation of D-Bus clients. Using stub D-Bus clients is the default for non-Chrome OS environment, to use real D-Bus clients in non-Chrome OS environment, set this flag to \"never\"."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--debug-bsa","variable":"kDebugBsa","line":84,"comment":"Override and enable features useful for BSA library testing/debugging."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--debug-devtools","variable":"kDebugDevTools","line":18,"comment":"Run devtools tests in debug mode (not bundled and minified)"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--debug-packed-apps","variable":"kDebugPackedApps","line":171,"comment":"Adds debugging entries such as Inspect Element to context menus of packed apps."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--debug-print","variable":"kDebugPrint","line":938,"buildflags":["BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)"],"comment":"Enables support to debug printing subsystem."},{"type":"switch","file":"components/regional_capabilities/regional_capabilities_switches.h","name":"--DEFAULT_EEA","variable":"kDefaultListCountryOverride","line":35,"comment":"Special value for the `kSearchEngineChoiceCountry` command-line flag. Enables the Waffle program and overrides the list of search engines to display the default set."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--default-background-color","variable":"kDefaultBackgroundColor","line":12,"comment":"The background color to be used if the page doesn't specify one. Provided as RGB or RGBA integer value in hex, e.g. 'ff0000ff' for red or '00000000' for transparent."},{"type":"switch","file":"base/base_switches.h","name":"--default-country-code","variable":"kDefaultCountryCodeAtInstall","line":173,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Default country code to be used for search engine localization."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--default-trace-buffer-size-limit-in-kb","variable":"kDefaultTraceBufferSizeLimitInKb","line":135,"comment":"This is only used when we did not set buffer size in trace config and will be used for all trace sessions. If not provided, we will use the default value provided in perfetto_config.cc"},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--default-wallpaper-is-oem","variable":"kDefaultWallpaperIsOem","line":356,"comment":"Indicates that the wallpaper images specified by kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not downloadable from Google)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--default-wallpaper-large","variable":"kDefaultWallpaperLarge","line":360,"comment":"Default large wallpaper to use (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--default-wallpaper-small","variable":"kDefaultWallpaperSmall","line":364,"comment":"Default small wallpaper to use (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--defer-external-display-timeout","variable":"kDeferExternalDisplayTimeout","line":368,"comment":"Interval in seconds to wait for a display to reconnect while unlocking or logging in with a closed lid."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--defer-feature-list","variable":"kDeferFeatureList","line":242,"comment":"Switches for Cast browser decoupling."},{"type":"switch","file":"components/component_updater/component_updater_switches.cc","name":"--demo-app-test-tag","variable":"kDemoModeTestTag","line":26,"comment":"Switch to control which serving demo mode app versions to select in test cohort. Example: `--demo-app-test-tag=dev1` will select test cohort which tag matches dev1."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-enrolling-username","variable":"kDemoModeEnrollingUsername","line":372,"comment":"Test Organization Unit (OU) user to use for demo mode. Only pass the part before \"@cros-demo-mode.com\"."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-force-arc-offline-provision","variable":"kDemoModeForceArcOfflineProvision","line":375,"comment":"Force ARC provision to take code path for offline demo mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-highlights-extension","variable":"kDemoModeHighlightsApp","line":379,"comment":"App ID to use for highlights app in demo mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-resource-directory","variable":"kDemoModeResourceDirectory","line":396,"comment":"Directory from which to fetch the demo mode resource content (instead of downloading from Omaha)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-screensaver-extension","variable":"kDemoModeScreensaverApp","line":388,"comment":"App ID to use for screensaver app in demo mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-server-api-key","variable":"kDemoModeServerAPIKey","line":382,"comment":"API key for demo mode server."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-server-url","variable":"kDemoModeServerUrl","line":385,"comment":"Override the prodution demo mode api url fo demo account sign in."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--demo-mode-swa-content-directory","variable":"kDemoModeSwaContentDirectory","line":392,"comment":"Directory from which to fetch the demo mode SWA content (instead of downloading from Omaha)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--derelict-detection-timeout","variable":"kDerelictDetectionTimeout","line":399,"comment":"Time in seconds before a machine at OOBE is considered derelict."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--derelict-idle-timeout","variable":"kDerelictIdleTimeout","line":402,"comment":"Time in seconds before a derelict machines starts demo mode."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--desktop-window-1080p","variable":"kDesktopWindow1080p","line":163,"comment":"Graphics switches"},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--device-management-url","variable":"kDeviceManagementUrl","line":12,"comment":"Specifies the URL at which to communicate with the device management backend to fetch configuration policies and perform other device tasks."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--device-scale-factor","variable":"kDeviceScaleFactor","line":955,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Device scale factor passed to certain processes like renderers, etc."},{"type":"switch","file":"chrome/test/base/test_switches.cc","name":"--devtools-code-coverage","variable":"kDevtoolsCodeCoverage","line":14,"comment":"Directory to output JavaScript code coverage. When supplied enables coverage in selected browser tests."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--devtools-flags","variable":"kDevToolsFlags","line":174,"comment":"Passes command line parameters to the DevTools front-end."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--devtools-navigation-gating-rules","variable":"kDevToolsNavigationGatingRules","line":185,"comment":"Specifies a stringified JSON dictionary defining allowlist and blocklist pattern rules for DevTools-controlled navigations. If an allowlist is provided (even if empty), all top-level navigations to non-matching URLs are blocked. If both allowlist and blocklist match a URL, the more specific pattern determines the outcome. Example: '{ \\ \"allowlist\": [\"[*.]foo.com\"], \\ \"blocklist\": [\"[*.]bar.com\"] \\ }'"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--diagnostics","variable":"kDiagnostics","line":189,"comment":"Triggers a plethora of diagnostic modes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--diagnostics-format","variable":"kDiagnosticsFormat","line":192,"comment":"Sets the output format for diagnostic modes enabled by diagnostics flag."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--diagnostics-recovery","variable":"kDiagnosticsRecovery","line":195,"comment":"Tells the diagnostics mode to do the requested recovery step(s)."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--direct-composition-video-swap-chain-format","variable":"kDirectCompositionVideoSwapChainFormat","line":167,"comment":"Used for overriding the swap chain format for direct composition SDR video overlays."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-2d-canvas-clip-aa","variable":"kDisable2dCanvasClipAntialiasing","line":280,"comment":"Disable antialiasing on 2d canvas clips"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-3d-apis","variable":"kDisable3DAPIs","line":68,"comment":"Disables client-visible 3D APIs, in particular WebGL. 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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-accelerated-2d-canvas","variable":"kDisableAccelerated2dCanvas","line":71,"comment":"Disable gpu-accelerated 2d canvas."},{"type":"switch","file":"media/base/media_switches.cc","name":"--disable-accelerated-mjpeg-decode","variable":"kDisableAcceleratedMjpegDecode","line":140,"comment":"Disable hardware acceleration of mjpeg decode for captured frame, where available."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-accelerated-video-decode","variable":"kDisableAcceleratedVideoDecode","line":79,"comment":"Disables hardware acceleration of video decode, where available. Warning: do not remove or rename this flag, as it is used inside ChromeOS code to implement the DeviceHardwareVideoDecodingEnabled policy."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-accelerated-video-encode","variable":"kDisableAcceleratedVideoEncode","line":83,"comment":"Disables hardware acceleration of video encode, where available."},{"type":"switch","file":"components/actor/core/actor_switches.cc","name":"--disable-actor-safety-checks","variable":"kDisableActorSafetyChecks","line":12,"comment":"Bypasses several of the actor's safety checks, such as requiring SafeBrowsing to be enabled and the blocklist. Note that some checks, like requiring https, are not affected by this."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-android-native-fence-sync-for-testing","variable":"kDisableAndroidNativeFenceSyncForTesting","line":220,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"On some Android emulators with software GL, ANGLE is exposing the native fence sync extension but it doesn't actually work. This switch is used to disable the Android native fence sync during test to avoid crashes.","todos":["TODO(https://crbug.com/337886037): Remove this flag once the upstream ANGLE is fixed."]},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-angle-features","variable":"kDisableANGLEFeatures","line":110,"comment":"Disables specified comma separated ANGLE features if found."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-arc-cpu-restriction","variable":"kDisableArcCpuRestriction","line":406,"comment":"Prevents any CPU restrictions being set on ARC[VM]. Only meant to be used by tests as some tests may time out if the ARC container is throttled."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-arc-opt-in-verification","variable":"kDisableArcOptInVerification","line":409,"comment":"Disables ARC Opt-in verification process and ARC is enabled by default."},{"type":"switch","file":"media/base/media_switches.cc","name":"--disable-audio-input","variable":"kDisableAudioInput","line":144,"comment":"Forces input and output stream creation to use fake audio streams."},{"type":"switch","file":"media/base/media_switches.cc","name":"--disable-audio-output","variable":"kDisableAudioOutput","line":145},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-auto-maximize-for-tests","variable":"kDisableAutoMaximizeForTests","line":201,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Disables the auto maximize feature on ChromeOS so that a browser window always starts in normal state. This is used by tests that do not want this auto maximizing behavior."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-auto-reload","variable":"kDisableAutoReload","line":205,"comment":"Disable auto-reload of pages on top-level error."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--disable-auto-wpt-origin-isolation","variable":"kDisableAutoWPTOriginIsolation","line":47,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-back-forward-cache","variable":"kDisableBackForwardCache","line":100,"comment":"Disables the BackForwardCache feature."},{"type":"switch","file":"media/base/media_switches.cc","name":"--disable-background-media-suspend","variable":"kDisableBackgroundMediaSuspend","line":148,"comment":"Do not immediately suspend media in background tabs."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-background-networking","variable":"kDisableBackgroundNetworking","line":210,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-background-timer-throttling","variable":"kDisableBackgroundTimerThrottling","line":96,"comment":"Disable task throttling of timer tasks from background pages."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-backgrounding-occluded-windows","variable":"kDisableBackgroundingOccludedWindowsForTesting","line":92,"comment":"Disable backgrounding renders for occluded windows. Done for tests to avoid nondeterministic behavior."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-backing-store-limit","variable":"kDisableBackingStoreLimit","line":88,"comment":"Disable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory."},{"type":"switch","file":"base/base_switches.h","name":"--disable-best-effort-tasks","variable":"kDisableBestEffortTasks","line":15,"comment":"Delays execution of TaskPriority::BEST_EFFORT tasks until shutdown."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-birch-weather-api-for-testing","variable":"kDisableBirchWeatherApiForTesting","line":414,"comment":"Disables the Weather API from being called by Birch. Allows fake users in tast tests to avoid making API calls using an invalid GAIA ID, which causes errors on the weather server side."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-blink-features","variable":"kDisableBlinkFeatures","line":106,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--disable-breakpad","variable":"kDisableBreakpad","line":18,"comment":"Disables the crash reporting."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--disable-cancel-all-touches","variable":"kDisableCancelAllTouches","line":42,"buildflags":["BUILDFLAG(IS_OZONE)"],"comment":"Disable CancelAllTouches() function for the implementation on cancel single touches."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-canvas-aa","variable":"kDisable2dCanvasAntialiasing","line":62,"comment":"Disable antialiasing on 2d canvas."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-component-extensions-with-background-pages","variable":"kDisableComponentExtensionsWithBackgroundPages","line":214,"comment":"Disable default component extensions with background pages - useful for performance tests where these pages may interfere with perf results."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-component-update","variable":"kDisableComponentUpdate","line":217},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--disable-crash-reporter","variable":"kDisableCrashReporter","line":33,"comment":"Disable Crash Reporting"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-crashpad-for-testing","variable":"kDisableCrashpadForTesting","line":221,"comment":"Disables crashpad initialization for testing. The crashpad binary will not run, and thus will not detect and symbolize crashes."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--disable-crashpad-forwarding","variable":"kDisableCrashpadForwarding","line":36,"comment":"Disable Crashpad forwarding"},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-d3d11-warp","variable":"kDisableD3D11Warp","line":163,"comment":"Explicitly disable D3D11 WARP fallback. Some test suites prefer falling back to swiftshader."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-dawn-features","variable":"kDisableDawnFeatures","line":77,"comment":"Set the Dawn features(toggles) disabled on the creation of Dawn devices."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-default-apps","variable":"kDisableDefaultApps","line":225,"comment":"Disables installation of default apps on first run. This is used during automated testing."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-default-browser-promo","variable":"kDisableDefaultBrowserPromo","line":758,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable the default browser promo."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-demo-mode","variable":"kDisableDemoMode","line":418,"comment":"Disables the Chrome OS demo."},{"type":"switch","file":"base/base_switches.h","name":"--disable-dev-shm-usage","variable":"kDisableDevShmUsage","line":156,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"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)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-device-disabling","variable":"kDisableDeviceDisabling","line":421,"comment":"If this switch is set, the device cannot be remotely disabled by its owner."},{"type":"switch","file":"components/error_page/common/error_page_switches.cc","name":"--disable-dinosaur-easter-egg","variable":"kDisableDinosaurEasterEgg","line":11,"comment":"Disables the dinosaur easter egg on the offline interstitial."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-direct-composition","variable":"kDisableDirectComposition","line":148,"comment":"Disable DirectComposition."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-domain-blocking-for-3d-apis","variable":"kDisableDomainBlockingFor3DAPIs","line":110,"comment":"Disable the per-domain blocking for 3D APIs after GPU reset. This switch is intended only for tests."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-domain-reliability","variable":"kDisableDomainReliability","line":228,"comment":"Disables Domain Reliability Monitoring."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-drive-fs-for-testing","variable":"kDisableDriveFsForTesting","line":425,"comment":"Disables DriveFS for testing purposes, used in tast testing and only on test images."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--disable-explicit-dma-fences","variable":"kDisableExplicitDmaFences","line":31,"comment":"Disable explicit DMA-fences"},{"type":"switch","file":"base/base_switches.h","name":"--disable-features","variable":"kDisableFeatures","line":21,"comment":"Comma-separated list of feature names to disable. See also kEnableFeatures."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--disable-field-trial-config","variable":"kDisableFieldTrialTestingConfig","line":11,"comment":"Disable field trial tests configured in fieldtrial_testing_config.json."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-file-system","variable":"kDisableFileSystem","line":123,"comment":"Disable FileSystem API."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-fine-grained-time-zone-detection","variable":"kDisableFineGrainedTimeZoneDetection","line":428,"comment":"Disables fine grained time zone detection."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-first-run-ui","variable":"kDisableFirstRunUI","line":432,"comment":"Disables first-run UI from being shown."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-gaia-services","variable":"kDisableGaiaServices","line":436,"comment":"Disables GAIA services such as enrollment and OAuth session restore. Used by 'fake' telemetry login."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gesture-requirement-for-presentation","variable":"kDisableGestureRequirementForPresentation","line":126,"comment":"Disable user gesture requirement for presentation."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-gl-drawing-for-tests","variable":"kDisableGLDrawingForTests","line":138,"comment":"Disables GL drawing operations which produce pixel output. With this the GL output will not be correct but tests will run faster."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--disable-gl-error-limit","variable":"kDisableGLErrorLimit","line":13,"comment":"Disable the GL error log limit."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-gl-extensions","variable":"kDisableGLExtensions","line":145,"comment":"Disables specified comma separated GL Extensions if found."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--disable-glsl-translator","variable":"kDisableGLSLTranslator","line":16,"comment":"Disable the GLSL translator."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu","variable":"kDisableGpu","line":131,"comment":"Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-compositing","variable":"kDisableGpuCompositing","line":134,"comment":"Prevent the compositor from using its GPU implementation."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-gpu-driver-bug-workarounds","variable":"kDisableGpuDriverBugWorkarounds","line":73,"comment":"Disable workarounds for various GPU driver bugs."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-early-init","variable":"kDisableGpuEarlyInit","line":137,"comment":"Disable proactive early init of GPU process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-memory-buffer-compositor-resources","variable":"kDisableGpuMemoryBufferCompositorResources","line":140,"comment":"Do not force that all compositor resources be backed by GPU memory buffers."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-memory-buffer-video-frames","variable":"kDisableGpuMemoryBufferVideoFrames","line":144,"comment":"Disable GpuMemoryBuffer backed VideoFrames."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-process-crash-limit","variable":"kDisableGpuProcessCrashLimit","line":149,"comment":"For tests, to disable the limit on the number of times the GPU process may be restarted."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-gpu-process-for-dx12-info-collection","variable":"kDisableGpuProcessForDX12InfoCollection","line":44,"comment":"Disables the non-sandboxed GPU process for DX12 info collection"},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--disable-gpu-program-cache","variable":"kDisableGpuProgramCache","line":36,"comment":"Turn off gpu program caching"},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-gpu-rasterization","variable":"kDisableGpuRasterization","line":11,"comment":"Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization flag."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-gpu-shader-disk-cache","variable":"kDisableGpuShaderDiskCache","line":36,"comment":"Disables the GPU shader on disk cache."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--disable-gpu-vsync","variable":"kDisableGpuVsync","line":77,"comment":"Stop the GPU from synchronizing presentation with vblank."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-gpu-watchdog","variable":"kDisableGpuWatchdog","line":158,"comment":"Disable the thread that crashes the GPU process if it stops responding to messages."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--disable-gtk-ime","variable":"kDisableGtkIme","line":54,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"Disables GTK IME integration."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--disable-headless-mode","variable":"kDisableHeadlessMode","line":65,"comment":"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."},{"type":"switch","file":"services/device/public/cpp/hid/hid_switches.cc","name":"--disable-hid-blocklist","variable":"kDisableHidBlocklist","line":10,"comment":"Disable the HID blocklist."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-hid-detection-on-oobe","variable":"kDisableHIDDetectionOnOOBEForTesting","line":439,"comment":"Disables HID-detection OOBE screen."},{"type":"switch","file":"base/base_switches.h","name":"--disable-highres-timer","variable":"kDisableHighResTimer","line":140,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Disable high-resolution timer on Windows."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-histogram-customizer","variable":"kDisableHistogramCustomizer","line":172,"comment":"Disable the RenderThread's HistogramCustomizer."},{"type":"switch","file":"components/network_session_configurator/common/network_switches.cc","name":"--disable-http2-grease-settings","variable":"kDisableHttp2GreaseSettings","line":14},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-ignore-duplicate-navs-for-testing","variable":"kDisableIgnoreDuplicateNavsForTesting","line":168,"comment":"Disables the IgnoreDuplicateNavs feature. This prevent navigations from being unintentionally ignored in tests."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-in-process-stack-traces","variable":"kDisableInProcessStackTraces","line":114,"comment":"Disables the in-process stack traces."},{"type":"switch","file":"ui/views/views_switches.h","name":"--disable-input-event-activation-protection","variable":"kDisableInputEventActivationProtectionForTesting","line":15,"comment":"Disables the disregarding of potentially unintended input events such as button clicks that happen instantly after the button is shown. Use this for integration tests that do automated clicks etc."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--disable-ios-password-suggestions","variable":"kDisableIOSPasswordSuggestions","line":8,"comment":"Disable showing available password credentials in the keyboard accessory view when focused on form fields."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-ipc-flooding-protection","variable":"kDisableIpcFloodingProtection","line":164,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-javascript-harmony-shipping","variable":"kDisableJavaScriptHarmonyShipping","line":472,"comment":"Disable latest shipping ECMAScript 6 features."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-kill-after-bad-ipc","variable":"kDisableKillAfterBadIPC","line":177,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-lazy-loading","variable":"kDisableLazyLoading","line":231,"comment":"Disables lazy loading of images and frames."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-lcd-text","variable":"kDisableLCDText","line":180,"comment":"Disables LCD text."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-legacy-window","variable":"kDisableLegacyIntermediateWindow","line":958,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Disable the Legacy Window which corresponds to the size of the WebContents."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-local-storage","variable":"kDisableLocalStorage","line":183,"comment":"Disable LocalStorage."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-logging","variable":"kDisableLogging","line":187,"comment":"Force logging to be disabled. Logging is enabled by default in debug builds."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-logging-redirect","variable":"kDisableLoggingRedirect","line":793,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Disables logging redirect for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-login-animations","variable":"kDisableLoginAnimations","line":443,"comment":"Avoid doing expensive animations upon login."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-login-screen-apps","variable":"kDisableLoginScreenApps","line":797,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Disables apps on the login screen. By default, they are allowed and can be installed through policy."},{"type":"switch","file":"base/base_switches.h","name":"--disable-low-end-device-mode","variable":"kDisableLowEndDeviceMode","line":24,"comment":"Force disabling of low-end device mode when set."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-low-latency-dxva","variable":"kDisableLowLatencyDxva","line":190,"comment":"Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-machine-cert-request","variable":"kDisableMachineCertRequest","line":446,"comment":"Disables requests for an enterprise machine certificate during attestation."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-main-thread-name-override","variable":"kDisableMainThreadNameOverride","line":197,"comment":"Disables renaming the main browser thread to \"CrBrowserMain\" during browser startup. The internally mapped thread name is being emitted to Perfetto traces, which means that the main thread is identified as \"CrBrowserMain\" instead of the process name. Enabling this switch will prevent the thread from being named, which fixes the Perfetto trace issue."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-media-session-api","variable":"kDisableMediaSessionAPI","line":885,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable Media Session API"},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-mipmap-generation","variable":"kDisableMipmapGeneration","line":15,"comment":"Disables mipmap generation in Skia. Used a workaround for select low memory devices, see https://crbug.com/1138979 for details."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--disable-modal-animations","variable":"kDisableModalAnimations","line":34,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Disable animations for showing and hiding modal dialogs."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-mojo-broker","variable":"kDisableMojoBroker","line":201,"comment":"Disables Mojo broker capabilities in the browser during Mojo initialization."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--disable-mojo-renderer","variable":"kDisableMojoRenderer","line":219,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-new-content-rendering-timeout","variable":"kDisableNewContentRenderingTimeout","line":205,"comment":"Disables clearing the rendering output of a renderer when it didn't commit new output for a while after a top-frame navigation."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-notifications","variable":"kDisableNotifications","line":209,"comment":"Disables the Web Notification and the Push APIs."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-nv12-dxgi-video","variable":"kDisableNv12DxgiVideo","line":355,"comment":"Disables the video decoder from drawing to an NV12 textures instead of ARGB."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-oobe-chromevox-hint-timer-for-testing","variable":"kDisableOOBEChromeVoxHintTimerForTesting","line":450,"comment":"Disables the ChromeVox hint idle detection in OOBE, which can lead to unexpected behavior during tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-oobe-network-screen-skipping-for-testing","variable":"kDisableOOBENetworkScreenSkippingForTesting","line":458,"comment":"Disables network screen skip check which is based on ethernet connection."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-oopr-debug-crash-dump","variable":"kDisableOoprDebugCrashDump","line":919,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disables debug crash dumps for OOPR."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-origin-trial-controlled-blink-features","variable":"kDisableOriginTrialControlledBlinkFeatures","line":328,"comment":"Disables all RuntimeEnabledFeatures that can be enabled via OriginTrials."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--disable-overscroll-edge-effect","variable":"kDisableOverscrollEdgeEffect","line":17,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable overscroll edge effects like those found in Android views."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--disable-pdf-tagging","variable":"kDisablePDFTagging","line":25,"comment":"Do not emit tags when printing PDFs."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-per-user-timezone","variable":"kDisablePerUserTimezone","line":462,"comment":"Disables per-user timezone."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-platform-accessibility-integration","variable":"kDisablePlatformAccessibilityIntegration","line":214,"comment":"Disables the activation of browser and web accessibility via interactions with the platform's accessibility integration (i.e., a screenreader will not be able to function with the browser)."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--disable-policy-key-verification","variable":"kDisablePolicyKeyVerification","line":36,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Disables the verification of policy signing keys. It just works on Chrome OS test images and crashes otherwise.","todos":["TODO(crbug.com/1225054): This flag might introduce security risks. Find a better solution to enable policy tast test for Family Link account."]},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-power-button-in-tablet-mode","variable":"kDisablePowerButtonInTabletMode","line":465,"comment":"If set, the power button in tablet mode is disabled."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-presentation-api","variable":"kDisablePresentationAPI","line":218,"comment":"Disables the Presentation API."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-print-preview","variable":"kDisablePrintPreview","line":234,"comment":"Disables print preview (For testing, and for users who don't like us. :[ )"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-prompt-on-repost","variable":"kDisablePromptOnRepost","line":239,"comment":"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."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--disable-pull-to-refresh-effect","variable":"kDisablePullToRefreshEffect","line":21,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable the pull-to-refresh effect when vertically overscrolling content."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-pushstate-throttle","variable":"kDisablePushStateThrottle","line":221,"comment":"Disables throttling of history.pushState/replaceState calls."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-reading-from-canvas","variable":"kDisableReadingFromCanvas","line":224,"comment":"Taints all <canvas> elements, regardless of origin."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-remote-fonts","variable":"kDisableRemoteFonts","line":228,"comment":"Disables remote web font support. SVG font should always work whether this option is specified or not."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-remote-playback-api","variable":"kDisableRemotePlaybackAPI","line":231,"comment":"Disables the RemotePlayback API."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--disable-renderer-accessibility","variable":"kDisableRendererAccessibility","line":64,"comment":"Turns off the accessibility in the renderer."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-renderer-backgrounding","variable":"kDisableRendererBackgrounding","line":234,"comment":"Prevent renderer process backgrounding when set."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-resource-scheduler","variable":"kDisableResourceScheduler","line":238,"comment":"Whether the ResourceScheduler is disabled. Note this is only useful for C++ Headless embedders who need to implement their own resource scheduling."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-rollback-option","variable":"kDisableRollbackOption","line":469,"comment":"Disables rollback option on reset screen."},{"type":"switch","file":"media/base/media_switches.cc","name":"--disable-rtc-smoothness-algorithm","variable":"kDisableRTCSmoothnessAlgorithm","line":153,"comment":"Disables the new rendering algorithm for webrtc, which is designed to improve the rendering smoothness."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-screen-orientation-lock","variable":"kDisableScreenOrientationLock","line":888,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable the locking feature of the screen orientation API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-scroll-to-text-fragment","variable":"kDisableScrollToTextFragment","line":866,"comment":"This switch disables the ScrollToTextFragment feature."},{"type":"switch","file":"components/search_engines/search_engines_switches.cc","name":"--disable-search-engine-choice-screen","variable":"kDisableSearchEngineChoiceScreen","line":21,"comment":"Disable the search engine choice screen for testing / autmation."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--disable-shader-name-hashing","variable":"kDisableShaderNameHashing","line":19,"comment":"Turn off user-defined name hashing in shaders."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--disable-shared-dictionary-storage-cleanup-for-testing","variable":"kDisableSharedDictionaryStorageCleanupForTesting","line":149,"comment":"The switch to disable the shared dictionary storage clean up task. Only for testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-shared-workers","variable":"kDisableSharedWorkers","line":241,"comment":"Disable shared workers."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-site-isolation-for-policy","variable":"kDisableSiteIsolationForPolicy","line":892,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Just like kDisableSiteIsolation, but doesn't show the \"stability and security will suffer\" butter bar warning."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-site-isolation-trials","variable":"kDisableSiteIsolation","line":698,"comment":"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."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-skia-graphite","variable":"kDisableSkiaGraphite","line":155,"comment":"Force disabling/enabling Skia Graphite. Disabling will take precedence over enabling if both are specified."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-skia-graphite-precompilation","variable":"kDisableSkiaGraphitePrecompilation","line":160,"comment":"Force disabling/enabling Skia Graphite's Pipeline Precompilation. Disabling will take precedence over enabling if both are specified."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-skia-runtime-opts","variable":"kDisableSkiaRuntimeOpts","line":245,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-smooth-scrolling","variable":"kDisableSmoothScrolling","line":248,"comment":"Disable smooth scrolling for testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-software-compositing-fallback","variable":"kDisableSoftwareCompositingFallback","line":153,"comment":"For tests, to disable falling back to software compositing if the GPU Process has crashed, and reached the GPU Process crash limit."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-software-rasterizer","variable":"kDisableSoftwareRasterizer","line":251,"comment":"Disables the use of a 3D software rasterizer."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-speech-api","variable":"kDisableSpeechAPI","line":254,"comment":"Disables the Web Speech API (both speech recognition and synthesis)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-speech-synthesis-api","variable":"kDisableSpeechSynthesisAPI","line":257,"comment":"Disables the speech synthesis part of Web Speech API."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-stack-profiler","variable":"kDisableStackProfiler","line":244,"comment":"Disable stack profiling. Stack profiling may change performance. Disabling stack profiling is beneficial when comparing performance metrics with a build that has it disabled by default."},{"type":"switch","file":"base/test/test_switches.cc","name":"--disable-strict-handle-checking-for-testing","variable":"kDisableStrictHandleCheckingForTesting","line":161,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Disable strict handle checking for the test process, for testing. This can be used if it's expected that a test process will use an invalid handle."},{"type":"switch","file":"components/browser_sync/browser_sync_switches.h","name":"--disable-sync-invalidation-optimizations","variable":"kDisableSyncInvalidationOptimizations","line":23,"comment":"Disables the optimizations flags in Commit requests for sync invalidations. This is useful for live tests to avoid flakiness."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--disable-system-font-check","variable":"kDisableSystemFontCheck","line":29,"comment":"Disables the check for the system font when specified."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--disable-third-party-keyboard-workaround","variable":"kDisableThirdPartyKeyboardWorkaround","line":11,"comment":"Disables the 3rd party keyboard omnibox workaround."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-threaded-compositing","variable":"kDisableThreadedCompositing","line":260,"comment":"Disable multithreaded GPU compositing of web content."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-timeouts-for-profiling","variable":"kDisableTimeoutsForProfiling","line":897,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Disable timeouts that may cause the browser to die when running slowly. This is useful if running with profiling (such as debug malloc)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-updater-scheduler","variable":"kDisableUpdaterScheduler","line":247,"comment":"Disable startup of the updater process."},{"type":"switch","file":"base/base_switches.h","name":"--disable-usb-keyboard-detect","variable":"kDisableUsbKeyboardDetect","line":143,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Disables the USB keyboard detection for blocking the OSK on Windows."},{"type":"switch","file":"components/user_education/common/user_education_features.h","name":"--disable-user-education-rate-limiting","variable":"kDisableRateLimitingCommandLine","line":26,"comment":"Command-line switch that disables rate limiting in User Education, like the new profile grace period and the heavyweight IPH cooldown. For testing purposes, strongly prefer to inherit from `InteractiveFeaturePromoTest`, but this is not possible for unit tests, so this is provided as a public constant for convenience."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-v8-idle-tasks","variable":"kDisableV8IdleTasks","line":263,"comment":"Disable V8 idle tasks."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--disable-variations-safe-mode","variable":"kDisableVariationsSafeMode","line":14,"comment":"Disable variations safe mode."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--disable-variations-seed-fetch","variable":"kDisableVariationsSeedFetch","line":121,"comment":"Disable fetching of variations seed from the server for testing."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--disable-variations-seed-fetch-throttling","variable":"kDisableVariationsSeedFetchThrottling","line":20,"comment":"Disables throttling for fetching the variations seed on mobile platforms. The seed will be fetched on startup and every time the app enters the foreground, regardless of the time passed in between the fetches. On Desktop, this switch has no effect (the seed is fetched periodically instead)."},{"type":"switch","file":"media/capture/capture_switches.cc","name":"--disable-video-capture-use-gpu-memory-buffer","variable":"kDisableVideoCaptureUseGpuMemoryBuffer","line":23,"comment":"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."},{"type":"switch","file":"ash/public/cpp/keyboard/keyboard_switches.cc","name":"--disable-virtual-keyboard","variable":"kDisableVirtualKeyboard","line":11},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-volume-adjust-sound","variable":"kDisableVolumeAdjustSound","line":472,"comment":"Disables volume adjust sound."},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--disable-vsync-for-tests","variable":"kDisableVsyncForTests","line":24},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--disable-vulkan-fallback-to-gl-for-testing","variable":"kDisableVulkanFallbackToGLForTesting","line":121,"comment":"Disables falling back to GL based hardware rendering if initializing Vulkan fails. This is to allow tests to catch regressions in Vulkan."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--disable-vulkan-surface","variable":"kDisableVulkanSurface","line":70,"comment":"Disables VK_KHR_surface extension. Instead of using swapchain, bitblt will be used for present render result on screen."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--disable-wayland-ime","variable":"kDisableWaylandIme","line":19,"comment":"Disable wayland input method editor."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-web-security","variable":"kDisableWebSecurity","line":268,"comment":"Don't enforce the same-origin policy; meant for website testing only. This switch has no effect unless --user-data-dir (as defined by the content embedder) is also present."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-webgl","variable":"kDisableWebGL","line":117,"comment":"Disable all versions of WebGL."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-webgl2","variable":"kDisableWebGL2","line":120,"comment":"Disable WebGL2."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-webrtc-encryption","variable":"kDisableWebRtcEncryption","line":849,"comment":"Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores this switch on its stable and beta channels."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disable-welcome-recap-for-factory-testing","variable":"kDisableWelcomeRecapForFactoryTest","line":475,"comment":"Disables the Welcome Recap feature for factory testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-yuv-image-decoding","variable":"kDisableYUVImageDecoding","line":284,"comment":"Disable YUV image decoding for those formats and cases where it's supported. Has no effect unless GPU rasterization is enabled."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disable-zero-browsers-open-for-tests","variable":"kDisableZeroBrowsersOpenForTests","line":254,"comment":"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\".","todos":["TODO(pkotwicz): Investigate if this bug can be removed. (http://crbug.com/40756809)"]},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disable-zero-copy-dxgi-video","variable":"kDisableZeroCopyDxgiVideo","line":271,"comment":"Disable the video decoder from drawing directly to a texture."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disabled","variable":"kTouchEventFeatureDetectionDisabled","line":739,"comment":"disabled: touch events are disabled."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--disallow-non-exact-resource-reuse","variable":"kDisallowNonExactResourceReuse","line":113,"comment":"Test related. Disable re-use of non-exact resources to fulfill ResourcePool requests. Intended only for use in layout or pixel tests to reduce noise."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--disallow-policy-block-dev-mode","variable":"kDisallowPolicyBlockDevMode","line":564,"comment":"Disallow blocking developer mode through enterprise device policy: - Fail enterprise enrollment if enrolling would block dev mode. - Don't apply new device policy if it would block dev mode. This is only usable on test builds."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--disallow-v8-feature-flag-overrides","variable":"kDisallowV8FeatureFlagOverrides","line":375,"comment":"Disallows overriding of v8 feature flags."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disk-cache-dir","variable":"kDiskCacheDir","line":259,"comment":"Use a specific disk cache location, rather than one derived from the UserDatadir."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--disk-cache-size","variable":"kDiskCacheSize","line":262,"comment":"Forces the maximum disk space to be used by the disk cache, in bytes."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--display-properties","variable":"kDisplayProperties","line":66,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Additional display properties are provided through this switch that are beyond what is available via EDID encoded as JSON. Please see `https://chromium.googlesource.com/chromiumos/platform2/+/dd10a5ae3618bb9dc5fb47ac415ebef6e9a3827d/chromeos-config/README.md#displays` for the data format."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--dmg-device","variable":"kRelauncherProcessDMGDevice","line":840,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"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\"."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--do-not-create-nsapp-for-tests","variable":"kDoNotCreateNSAppForTests","line":266,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Skips initializing the shares NSApplication instance in ChromeTestSuite."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--do-not-de-elevate","variable":"kDoNotDeElevateOnLaunch","line":271,"comment":"Do not de-elevate the browser on launch. Used after de-elevating to prevent infinite loops."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--dom-automation","variable":"kDomAutomationController","line":277,"comment":"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."},{"type":"switch","file":"ui/views/views_switches.h","name":"--draw-view-bounds-rects","variable":"kDrawViewBoundsRects","line":21,"comment":"Draws a semitransparent red rect to indicate the bounds of each view. Also, draws a blue semitransparent rect when GetContentBounds() differs from GetLocalBounds()."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--drm-virtual-connector-is-external","variable":"kDRMVirtualConnectorIsExternal","line":58,"comment":"Treats DRM virtual connector as external to enable display mode change in VM."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--dump-browser-histograms","variable":"kDumpBrowserHistograms","line":275,"comment":"Requests that a running browser process dump its collected histograms to a given file. The file is overwritten if it exists."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--dump-dom","variable":"kDumpDom","line":16,"comment":"Print the serialized DOM (doctype + document.documentElement.outerHTML) to stdout."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--dumpstate-path","variable":"kDumpstateBinPath","line":39,"comment":"Path to dumpstate binary to be used for crash reporting. This gives Chromium's crash reporter the flexibility to switch between multiple implementations of dumpstate tool."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--edge-touch-filtering","variable":"kEdgeTouchFiltering","line":38,"buildflags":["BUILDFLAG(IS_OZONE)"],"comment":"Tells Chrome to do edge touch filtering. Useful for convertible tablet."},{"type":"switch","file":"components/regional_capabilities/regional_capabilities_switches.h","name":"--EEA_ALL","variable":"kEeaListCountryOverride","line":40,"comment":"Special value for the `kSearchEngineChoiceCountry` command-line flag. Enables the Waffle program and overrides the list of search engines to display the list of all EEA engines."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--enable-accelerated-2d-canvas","variable":"kEnableAccelerated2DCanvas","line":21,"comment":"Enable accelerated 2D canvas."},{"type":"switch","file":"components/actor/core/actor_switches.cc","name":"--enable-actor-journal-vlog","variable":"kEnableActorJournalVLog","line":27,"comment":"Forces logging of the actor aggregated journal events in VLOG(1). Useful on Android as VLOGs are removed on official builds."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-adaptive-selection-handle-orientation","variable":"kEnableAdaptiveSelectionHandleOrientation","line":901,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Enable inverting of selection handles so that they are not clipped by the viewport boundaries."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-aggressive-domstorage-flushing","variable":"kEnableAggressiveDOMStorageFlushing","line":927,"comment":"Enable the aggressive flushing of DOM Storage to minimize data loss."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-angle-features","variable":"kEnableANGLEFeatures","line":108,"comment":"ANGLE features are defined per-backend in third_party/angle/include/platform Enables specified comma separated ANGLE features if found."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-arc","variable":"kEnableArc","line":480,"comment":"DEPRECATED. Please use --arc-availability=officially-supported. Enables starting the ARC instance upon session start."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-arcvm","variable":"kEnableArcVm","line":483,"comment":"Enables ARCVM."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-arcvm-dlc","variable":"kEnableArcVmDlc","line":486,"comment":"Enables ARCVM DLC."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-audio-debug-recordings-from-extension","variable":"kEnableAudioDebugRecordingsFromExtension","line":278,"comment":"If the WebRTC logging private API is active, enables audio debug recordings."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-auto-reload","variable":"kEnableAutoReload","line":282,"comment":"Enable auto-reload of pages on top-level error."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-automation","variable":"kEnableAutomation","line":931,"comment":"Enable indication that browser is controlled by automation."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--enable-background-tracing","variable":"kEnableBackgroundTracing","line":19,"comment":"Enables background tracing by passing a scenarios config as an argument. The config is a serialized proto `perfetto.protos.ChromeFieldTracingConfig` defined in third_party/perfetto/protos/perfetto/config/chrome/scenario_config.proto. protoc can be used to generate a serialized proto config with protoc --encode=perfetto.protos.ChromeFieldTracingConfig --proto_path=third_party/perfetto/ third_party/perfetto/protos/perfetto/config/chrome/scenario_config.proto < {input txt config}.pbtxt > {output proto config}.pb"},{"type":"switch","file":"base/base_switches.h","name":"--enable-benchmarking","variable":"kEnableBenchmarking","line":136,"comment":"See flag_descriptions.cc for more details."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--enable-benchmarking-api","variable":"kEnableBenchmarkingApi","line":24,"comment":"Enables the benchmarking JavaScript API."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-birch-weather-api-for-testing-override","variable":"kEnableBirchWeatherApiForTestingOverride","line":494,"comment":"Used to override `kDisableBirchWeatherApiForTesting` for specific tast tests."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-blink-features","variable":"kEnableBlinkFeatures","line":293,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-blink-test-features","variable":"kEnableBlinkTestFeatures","line":325,"comment":"Enables blink runtime enabled features with status:\"test\" or status:\"experimental\", which are enabled when running web tests."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-bookmark-undo","variable":"kEnableBookmarkUndo","line":285,"comment":"Enables the multi-level undo system for bookmarks."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-caret-browsing","variable":"kEnableCaretBrowsing","line":298,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-cast-receiver","variable":"kEnableCastReceiver","line":498,"comment":"Enables the Cast Receiver."},{"type":"switch","file":"components/enterprise/browser/enterprise_switches.cc","name":"--enable-chrome-browser-cloud-management","variable":"kEnableChromeBrowserCloudManagement","line":14,"buildflags":["!BUILDFLAG(IS_CHROMEOS)"],"comment":"Enables the Chrome Browser Cloud Management integration on Chromium builds. CBCM is always enabled in branded builds."},{"type":"switch","file":"base/base_switches.h","name":"--enable-crash-reporter","variable":"kEnableCrashReporter","line":30,"comment":"Indicates that crash reporting should be enabled. On platforms where helper processes cannot access to files needed to make this decision, this flag is generated internally."},{"type":"switch","file":"base/base_switches.h","name":"--enable-crash-reporter-for-testing","variable":"kEnableCrashReporterForTesting","line":162,"buildflags":["BUILDFLAG(IS_POSIX)"],"comment":"Used for turning on Breakpad crash reporting in a debug environment where crash reporting is typically compiled but disabled."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-dawn-backend-validation","variable":"kEnableDawnBackendValidation","line":62,"comment":"Enable validation layers in Dawn backends."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-dawn-features","variable":"kEnableDawnFeatures","line":74,"comment":"Set the Dawn features(toggles) enabled on the creation of Dawn devices."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-devtools-pwa-handler","variable":"kEnableDevToolsPwaHandler","line":290,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"If enabled, DevTools will allow creating pwa_handler, to enable executing CDP methods (i.e. PWA.install) on browsers connected remotely"},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-dim-shelf","variable":"kEnableDimShelf","line":501,"comment":"Enables Shelf Dimming for ChromeOS."},{"type":"switch","file":"components/error_page/common/error_page_switches.cc","name":"--enable-dinosaur-easter-egg-alt-images","variable":"kEnableDinosaurEasterEggAltGameImages","line":14,"comment":"Enable the dinosaur easter egg alternative images."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-direct-composition-video-overlays","variable":"kEnableDirectCompositionVideoOverlays","line":151,"comment":"Enable DirectComposition video overlays even if hardware doesn't support it."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--enable-discover-feed","variable":"kEnableDiscoverFeed","line":20,"comment":"Enabled the NTP Discover feed."},{"type":"switch","file":"components/dom_distiller/core/dom_distiller_switches.cc","name":"--enable-distillability-service","variable":"kEnableDistillabilityService","line":9},{"type":"switch","file":"components/dom_distiller/core/dom_distiller_switches.cc","name":"--enable-dom-distiller","variable":"kEnableDomDistiller","line":10},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-domain-reliability","variable":"kEnableDomainReliability","line":294,"comment":"Enables Domain Reliability Monitoring."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--enable-edge-to-edge-debug-layers","variable":"kEnableEdgeToEdgeDebugLayers","line":27,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Enables drawing debug layers for edge-to-edge components to highlight the system insets those components are drawing into. LINT.IfChange(EnableEdgeToEdgeDebugLayers)"},{"type":"switch","file":"media/base/media_switches.cc","name":"--enable-exclusive-audio","variable":"kEnableExclusiveAudio","line":311,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"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."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-experimental-accessibility-autoclick","variable":"kEnableExperimentalAccessibilityAutoclick","line":13,"comment":"Shows additional automatic click features that haven't launched yet."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-experimental-accessibility-labels-debugging","variable":"kEnableExperimentalAccessibilityLabelsDebugging","line":18,"comment":"Enables support for visually debugging the accessibility labels feature, which provides images descriptions for screen reader users."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-experimental-accessibility-language-detection-dynamic","variable":"kEnableExperimentalAccessibilityLanguageDetectionDynamic","line":24,"comment":"Enables language detection for dynamic content which is then exposed to assistive technology such as screen readers."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-experimental-accessibility-manifest-v3","variable":"kEnableExperimentalAccessibilityManifestV3","line":29,"comment":"Switches accessibility extensions to use extensions manifest v3 while the migration is still in progress."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-experimental-accessibility-switch-access-text","variable":"kEnableExperimentalAccessibilitySwitchAccessText","line":33,"comment":"Enables in progress Switch Access features for text input."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-experimental-cookie-features","variable":"kEnableExperimentalCookieFeatures","line":312,"comment":"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::kSameSiteDefaultChecksMethodRigorously net::features::kCookieSameSiteConsidersRedirectChain net::features::kEnablePortBoundCookies net::features::kEnableSchemeBoundCookies"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-experimental-web-platform-features","variable":"kEnableExperimentalWebPlatformFeatures","line":320,"comment":"Enables Web Platform features that are in development."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-experimental-webassembly-features","variable":"kEnableExperimentalWebAssemblyFeatures","line":316,"comment":"Enables experimental WebAssembly features."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-extension-activity-log-testing","variable":"kEnableExtensionActivityLogTesting","line":300},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-extension-activity-logging","variable":"kEnableExtensionActivityLogging","line":297,"comment":"Enables logging for extension activity."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-extension-actor-api","variable":"kExtensionExperimentalActor","line":337,"comment":"Name of the command line flag to allow the experimental actor API."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-extension-ai-data-collection","variable":"kExtensionAiDataCollection","line":324,"comment":"Name of the command line flag to allow the ai data collection extension API."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-extension-assets-sharing","variable":"kEnableExtensionAssetsSharing","line":504,"comment":"Enables sharing assets for installed default apps."},{"type":"switch","file":"base/base_switches.h","name":"--enable-features","variable":"kEnableFeatures","line":33,"comment":"Comma-separated list of feature names to enable. See also kDisableFeatures."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--enable-field-trial-config","variable":"kEnableFieldTrialTestingConfig","line":37,"comment":"Enable field trial tests configured in fieldtrial_testing_config.json. If the \"disable_fieldtrial_testing_config\" GN flag is set to true, then this switch is a no-op. Otherwise, for non-Chrome branded builds, the testing config is already applied by default, unless the \"--disable-field-trial-config\", \"--force-fieldtrials\", and/or \"--variations-server-url\" switches are passed. It is however possible to apply the testing config as well as specify additional field trials (using \"--force-fieldtrials\") by using this switch. For Chrome-branded builds, the testing config is not enabled by default, so this switch is required to enable it. If this switch is set to \"benchmarking\", it enables variations benchmarking mode, which skips experiments that are disabled for benchmarking."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--enable-finch-seed-delta-compression","variable":"kEnableFinchSeedDeltaCompression","line":104,"comment":"Enables delta-compression when fetching a new seed via the \"first run\" code path on Android."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--enable-font-antialiasing","variable":"kEnableFontAntialiasing","line":25,"comment":"Enable font antialiasing for pixel tests."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--enable-fullscreen-signin-promo","variable":"kEnableFullscreenSigninPromo","line":22,"comment":"Enables the fullscreen sign-in promo."},{"type":"switch","file":"chrome/browser/headless/headless_mode_switches.h","name":"--enable-gpu","variable":"kEnableGPU","line":20,"comment":"Enable hardware GPU support. Headless uses swiftshader by default for consistency across headless environments. This flag just turns forcing of swiftshader off and lets us revert to regular driver selection logic. Alternatively, specific drivers may be forced with --use-gl or --use-angle. Nethier approach guarantees that hardware GPU support will be enabled, as this is still conditional on headless having access to X display etc."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-gpu-blocked-time","variable":"kEnableGpuBlockedTime","line":90,"comment":"Enables measures of how long GPU Main Thread was blocked between SwapBuffers"},{"type":"switch","file":"gpu/command_buffer/client/gpu_switches.cc","name":"--enable-gpu-client-logging","variable":"kEnableGPUClientLogging","line":10,"comment":"Enable GPU client logging."},{"type":"switch","file":"gpu/command_buffer/client/gpu_switches.cc","name":"--enable-gpu-client-tracing","variable":"kEnableGpuClientTracing","line":13,"comment":"Enables TRACE for GL calls in the renderer."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enable-gpu-command-logging","variable":"kEnableGPUCommandLogging","line":22,"comment":"Turn on Logging GPU commands."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enable-gpu-debugging","variable":"kEnableGPUDebugging","line":25,"comment":"Turn on Calling GL Error after every command."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enable-gpu-driver-debug-logging","variable":"kEnableGPUDriverDebugLogging","line":33,"comment":"Enable logging of GPU driver debug messages."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-gpu-main-time-keeper-metrics","variable":"kEnableGpuMainTimeKeeperMetrics","line":167,"comment":"Enables ThreadControllerWithMessagePumpImpl's TimeKeeper UMA metrics using CrGpuMain as suffix."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-gpu-memory-buffer-video-frames","variable":"kEnableGpuMemoryBufferVideoFrames","line":332,"comment":"Enable GpuMemoryBuffer backed VideoFrames."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-gpu-rasterization","variable":"kEnableGpuRasterization","line":19,"comment":"Allow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enable-gpu-service-logging","variable":"kEnableGPUServiceLoggingGPU","line":30,"comment":"Enable GPU service logging. Note: This is the same switch as the one in gl_switches.cc. It's defined here again to avoid dependencies between dlls."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-gpu-service-logging","variable":"kEnableGPUServiceLogging","line":80,"comment":"Turns on GPU logging (debug build only)."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-gpu-service-tracing","variable":"kEnableGPUServiceTracing","line":83,"comment":"Turns on calling TRACE for every GL call."},{"type":"switch","file":"chromecast/cast_core/cast_core_switches.h","name":"--enable-grpc-over-tcpip","variable":"kEnableGrpcOverTcpIp","line":22,"comment":"Specifies that TCP/IP should be used as the gRPC transport typeby Cast Core; otherwise UDS is used."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-hangout-services-extension-for-testing","variable":"kEnableHangoutServicesExtensionForTesting","line":304,"comment":"Force enabling HangoutServicesExtension."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-houdini","variable":"kEnableHoudini","line":507,"comment":"Enables the use of 32-bit Houdini library for ARM binary translation."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-houdini64","variable":"kEnableHoudini64","line":510,"comment":"Enables the use of 64-bit Houdini library for ARM binary translation."},{"type":"switch","file":"base/base_switches.h","name":"--enable-idle-tracing","variable":"kEnableIdleTracing","line":176,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Adds additional thread idle time information into the trace event output."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--enable-input","variable":"kEnableInput","line":171,"comment":"UI switches"},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--enable-ios-handoff-to-other-devices","variable":"kEnableIOSHandoffToOtherDevices","line":14,"comment":"Enables support for Handoff from Chrome on iOS to the default browser of other Apple devices."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-isolated-web-apps-in-renderer","variable":"kEnableIsolatedWebAppsInRenderer","line":341,"comment":"Enables Isolated Web Apps (IWAs) in a renderer process. There are two ways to enable the IWAs: by feature flag and by enterprise policy. If IWAs are enabled by any of the mentioned above ways then this flag is passed to the renderer process. This flag should not be used from command line. To enable IWAs from command line one should use kIsolatedWebApps feature flag."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-lcd-text","variable":"kEnableLCDText","line":287,"comment":"Enables LCD text."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--enable-leak-detection","variable":"kEnableLeakDetection","line":32,"comment":"Enables the leak detection of loading webpages. This allows us to check whether or not reloading a webpage releases web-related objects correctly."},{"type":"switch","file":"media/base/media_switches.cc","name":"--enable-live-caption-pref-for-testing","variable":"kEnableLiveCaptionPrefForTesting","line":157,"comment":"Sets the default value for the kLiveCaptionEnabled preference to true."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--enable-local-file-accesses","variable":"kEnableLocalFileAccesses","line":42,"comment":"Content-implementation switches"},{"type":"switch","file":"components/browser_sync/browser_sync_switches.h","name":"--enable-local-sync-backend","variable":"kEnableLocalSyncBackend","line":14,"comment":"Enabled the local sync backend implemented by the LoopbackServer."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-logging","variable":"kEnableLogging","line":346,"comment":"Force logging to be enabled. Logging is disabled by default in release builds."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-longpress-drag-selection","variable":"kEnableLongpressDragSelection","line":905,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Enable drag manipulation of longpress-triggered text selections."},{"type":"switch","file":"base/base_switches.h","name":"--enable-low-end-device-mode","variable":"kEnableLowEndDeviceMode","line":36,"comment":"Force low-end device mode when set."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-mac-accessibility-api-migration","variable":"kEnableMacAccessibilityAPIMigration","line":41,"comment":"Enables the switchover to the newer NSAccessibility property-based API."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--enable-magnifier-debug-draw-rect","variable":"kEnableMagnifierDebugDrawRect","line":38,"comment":"Enables debug feature for drawing rectangle around magnified region, without zooming in."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--enable-microphone-mute-switch-device","variable":"kEnableMicrophoneMuteSwitchDeviceSwitch","line":46,"buildflags":["BUILDFLAG(IS_OZONE)"],"comment":"Enables logic to detect microphone mute switch device state, which disables internal audio input when toggled."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--enable-model-quality-dogfood-logging","variable":"kEnableModelQualityDogfoodLogging","line":129,"comment":"Enables model quality logs regardless of other client-side settings, as long as the client is a dogfood client."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-natural-scroll-default","variable":"kNaturalScrollDefault","line":802,"comment":"Enables natural scroll by default."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-ndk-translation","variable":"kEnableNdkTranslation","line":513,"comment":"Enables the use of 32-bit NDK translation library for ARM binary translation."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-ndk-translation64","variable":"kEnableNdkTranslation64","line":516,"comment":"Enables the use of 64-bit NDK translation library for ARM binary translation."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-net-benchmarking","variable":"kEnableNetBenchmarking","line":308,"comment":"Enables the network-related benchmarking extensions."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-network-information-downlink-max","variable":"kEnableNetworkInformationDownlinkMax","line":351,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-oobe-chromevox-hint-timer-for-dev-mode","variable":"kEnableOOBEChromeVoxHintForDevMode","line":523,"comment":"Enables the ChromeVox hint in OOBE for dev mode. This flag is used to override the default dev mode behavior of disabling the feature. If both kEnableOOBEChromeVoxHintForDevMode and kDisableOOBEChromeVoxHintTimerForTesting are present, the ChromeVox hint will be disabled, since the latter flag takes precedence over the former."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-oobe-test-api","variable":"kEnableOobeTestAPI","line":527,"comment":"Enables OOBE testing API for tast tests."},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--enable-pixel-output-in-tests","variable":"kEnablePixelOutputInTests","line":13,"comment":"Forces tests to produce pixel output when they normally wouldn't."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-plugin-placeholder-testing","variable":"kEnablePluginPlaceholderTesting","line":358,"comment":"Enables testing features of the Plugin Placeholder. For internal use only."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-potentially-annoying-security-features","variable":"kEnablePotentiallyAnnoyingSecurityFeatures","line":312,"comment":"Enables a number of potentially annoying security features (strict mixed content mode, powerful feature restrictions, etc.)"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-precise-memory-info","variable":"kEnablePreciseMemoryInfo","line":365,"comment":"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."},{"type":"switch","file":"media/base/media_switches.cc","name":"--enable-primary-node-access-for-vkms-testing","variable":"kEnablePrimaryNodeAccessForVkmsTesting","line":338,"buildflags":["BUILDFLAG(USE_V4L2_CODEC) || BUILDFLAG(USE_VAAPI)"],"comment":"This is needed for V4L2/VAAPI testing using VISL or libfake (virtual drivers) on cros VMs. Minigbm buffer allocation is done using the dumb driver with vkms."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-privacy-sandbox-ads-apis","variable":"kEnablePrivacySandboxAdsApis","line":369,"comment":"Enables Privacy Sandbox APIs: Attribution Reporting, Fledge, Topics, Fenced Frames, Shared Storage, Private Aggregation, and their associated features."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-profile-shortcut-manager","variable":"kEnableProfileShortcutManager","line":860,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Force-enables the profile shortcut manager. This is needed for tests since they use a custom-user-data-dir which disables this."},{"type":"switch","file":"media/base/media_switches.cc","name":"--enable-protected-video-buffers","variable":"kEnableProtectedVideoBuffers","line":282,"buildflags":["BUILDFLAG(IS_FUCHSIA)"],"comment":"Enables protected buffers for encrypted video streams."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-requisition-edits","variable":"kEnableRequisitionEdits","line":530,"comment":"Enables configuring the OEM Device Requisition in the OOBE."},{"type":"switch","file":"base/test/test_switches.cc","name":"--enable-run-ios-unittests-with-xctest","variable":"kEnableRunIOSUnittestsWithXCTest","line":151,"buildflags":["BUILDFLAG(IS_IOS)"],"comment":"If enabled, runs unittests using the XCTest test runner."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-service-binary-launcher","variable":"kEnableServiceBinaryLauncher","line":381,"comment":"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."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-sgi-video-sync","variable":"kEnableSgiVideoSync","line":134,"comment":"Enable use of the SGI_video_sync extension, which can have driver/sandbox/window manager compatibility issues."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-skia-benchmarking","variable":"kEnableSkiaBenchmarking","line":384,"comment":"Enables the Skia benchmarking extension."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-skia-graphite","variable":"kEnableSkiaGraphite","line":156},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-skia-graphite-precompilation","variable":"kEnableSkiaGraphitePrecompilation","line":162},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-smooth-scrolling","variable":"kEnableSmoothScrolling","line":387,"comment":"On platforms that support it, enables smooth scroll animation."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-spatial-navigation","variable":"kEnableSpatialNavigation","line":390,"comment":"Enable spatial navigation"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-speech-dispatcher","variable":"kEnableSpeechDispatcher","line":950,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-stats-collection-bindings","variable":"kStatsCollectionController","line":708,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-strict-mixed-content-checking","variable":"kEnableStrictMixedContentChecking","line":394,"comment":"Blocks all insecure requests from secure contexts, and prevents the user from overriding that decision."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-tablet-form-factor","variable":"kEnableTabletFormFactor","line":533,"comment":"Enables tablet form factor."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--enable-third-party-keyboard-workaround","variable":"kEnableThirdPartyKeyboardWorkaround","line":17,"comment":"Enables the 3rd party keyboard omnibox workaround."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enable-threaded-texture-mailboxes","variable":"kEnableThreadedTextureMailboxes","line":53,"comment":"Simulates shared textures when share groups are not available. Not available everywhere."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--enable-top-drag-gesture","variable":"kEnableTopDragGesture","line":198,"comment":"Whether to enable detection and dispatch of a 'drag from the top' gesture."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-touch-calibration-setting","variable":"kEnableTouchCalibrationSetting","line":537,"comment":"Enables the touch calibration option in MD settings UI for valid touch displays."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-touchpad-three-finger-click","variable":"kEnableTouchpadThreeFingerClick","line":541,"comment":"Enables touchpad three-finger-click as middle button."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-touchview","variable":"kAshEnableTabletMode","line":235,"comment":"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."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--enable-tracing","variable":"kEnableTracing","line":50},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--enable-tracing-format","variable":"kEnableTracingFormat","line":97},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-tracing-fraction","variable":"kEnableTracingFraction","line":405,"comment":"When specified along with a value in the range (0,1] will --enable-tracing for (roughly) that percentage of tests being run. This is done in a stable manner such that the same tests are chosen each run, and under the assumption that tests hash equally across the range of possible values. The flag will enable all tracing categories for those tests, and none for the rest. This flag could be used with other tracing switches like --enable-tracing-format, but any other switches that will enable tracing will turn tracing on for all tests."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--enable-tracing-output","variable":"kEnableTracingOutput","line":88,"comment":"Similar to the flag above, with the following differences: - A more detailed basename will be generated. - If the value is empty or ends with path separator, the provided directory will be used (with empty standing for current directory) and a detailed basename file will be generated. It is ignored if --trace-startup-file is specified."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--enable-unsafe-swiftshader","variable":"kEnableUnsafeSwiftShader","line":159,"comment":"Allow usage of SwiftShader for WebGL"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enable-user-metrics","variable":"kEnableUserMetrics","line":825,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Enable user metrics from within the installer."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-usermedia-screen-capturing","variable":"kEnableUserMediaScreenCapturing","line":408,"comment":"Enable screen capturing support for MediaStream API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-viewport","variable":"kEnableViewport","line":414,"comment":"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."},{"type":"switch","file":"ash/public/cpp/keyboard/keyboard_switches.cc","name":"--enable-virtual-keyboard","variable":"kEnableVirtualKeyboard","line":10},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-vtune-support","variable":"kEnableVtune","line":417,"comment":"Enable the Vtune profiler support."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-vulkan-protected-memory","variable":"kEnableVulkanProtectedMemory","line":117,"comment":"Enables using protected memory for vulkan resources."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--enable-wayland-ime","variable":"kEnableWaylandIme","line":16,"comment":"Try to enable wayland input method editor."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enable-wayland-server","variable":"kAshEnableWaylandServer","line":238,"comment":"Enable the wayland server."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enable-webgl-developer-extensions","variable":"kEnableWebGLDeveloperExtensions","line":421,"comment":"Enables WebGL developer extensions which are not generally exposed to the web platform."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-webgl-draft-extensions","variable":"kEnableWebGLDraftExtensions","line":50,"comment":"Enables WebGL draft extensions (not yet approved by the community). This has side-effects in the GPU process, so the flag is here so that code in both gpu/ and content/ can access it."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--enable-webgpu-developer-features","variable":"kEnableWebGPUDeveloperFeatures","line":58,"comment":"Enables WebGPU developer features which are not generally exposed to the web platform."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--enabled","variable":"kTouchEventFeatureDetectionEnabled","line":737,"comment":"enabled: touch events always enabled."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--encode-binary","variable":"kEncodeBinary","line":42,"comment":"Encode binary web test results (images, audio) using base64."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--encrypted-reporting-url","variable":"kEncryptedReportingUrl","line":18,"comment":"Specifies the URL at which to upload encrypted reports."},{"type":"switch","file":"base/test/test_switches.cc","name":"--enforce-exact-positive-filter","variable":"kEnforceExactPositiveFilter","line":46,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--enforce-gl-minimums","variable":"kEnforceGLMinimums","line":39,"comment":"Enforce GL minimums."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--ensure-forced-color-profile","variable":"kEnsureForcedColorProfile","line":21,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enterprise-disable-arc","variable":"kEnterpriseDisableArc","line":545,"comment":"Disables ARC for managed accounts."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enterprise-enable-forced-re-enrollment-on-flex","variable":"kEnterpriseEnableForcedReEnrollmentOnFlex","line":557,"comment":"Whether to enable forced enterprise re-enrollment on Flex."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enterprise-enable-state-determination","variable":"kEnterpriseEnableUnifiedStateDetermination","line":553,"comment":"Whether to enable state determination."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--enterprise-force-manual-enrollment-in-test-builds","variable":"kEnterpriseForceManualEnrollmentInTestBuilds","line":549,"comment":"Whether to force manual enrollment instead of trying cert based enrollment. Only works on test builds."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--enterprise-signin-dialog-behavior-for-testing","variable":"kEnterpriseSigninDialogBehaviorForTesting","line":1028,"buildflags":["BUILDFLAG(CHROME_FOR_TESTING)"],"comment":"Overrides the behavior of the sign-in dialog when creating a new profile for an enterprise account. Valid values are \"accept-new-profile\", \"accept-current-profile\", and \"cancel\"."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--eol-ignore-profile-creation-time","variable":"kEolIgnoreProfileCreationTime","line":568,"comment":"Ignore the profile creation time when determining whether to show the end of life notification incentive. This is meant to make manual testing easier."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--eol-reset-dismissed-prefs","variable":"kEolResetDismissedPrefs","line":572,"comment":"Reset the end of life notification prefs to their default value, at the start of the user session. This is meant to make manual testing easier."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--experimental-ai-stable-channel","variable":"kExperimentalAiStableChannel","line":317,"comment":"Allows experimental ai extension APIs to be used in stable channel. This disables chrome sign-in if set, regardless of channel."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--explicitly-allowed-ports","variable":"kExplicitlyAllowedPorts","line":321,"comment":"Allows overriding the list of restricted ports by passing a comma-separated list of port numbers."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--export-ukm-logs-to-file","variable":"kExportUkmLogsToFile","line":31,"comment":"Enables the observing of all UKM logs created during the session and automatically exports them to the passed file path on shutdown (the file is created if it does not already exist). This also enables viewing all UKM logs in the chrome://metrics-internals debug page. The format of the exported file is outlined in MetricsServiceObserver::ExportLogsAsJson(). Example usage: --export-ukm-logs-to-file=/tmp/logs.json"},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--export-uma-logs-to-file","variable":"kExportUmaLogsToFile","line":23,"comment":"Enables the observing of all UMA logs created during the session and automatically exports them to the passed file path on shutdown (the file is created if it does not already exist). This also enables viewing all UMA logs in the chrome://metrics-internals debug page. The format of the exported file is outlined in MetricsServiceObserver::ExportLogsAsJson(). Example usage: --export-uma-logs-to-file=/tmp/logs.json"},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--expose-internals-for-testing","variable":"kExposeInternalsForTesting","line":33,"comment":"Exposes the window.internals object to JavaScript for interactive development and debugging of web tests that rely on it."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--extension-content-verification","variable":"kExtensionContentVerification","line":328,"comment":"Name of the command line flag to force content verification to be on in one of various modes."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--extension-install-event-chrome-log-for-tests","variable":"kExtensionInstallEventChromeLogForTests","line":575,"comment":"Write extension install events to chrome log for integration test."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--external-metrics-collection-interval","variable":"kExternalMetricsCollectionInterval","line":580,"comment":"Interval in seconds between Chrome reading external metrics from /var/lib/metrics/uma-events."},{"type":"switch","file":"components/search_engines/search_engines_switches.cc","name":"--extra-search-query-params","variable":"kExtraSearchQueryParams","line":13,"comment":"Additional query params to insert in the search and instant URLs. Useful for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--extra-web-apps-dir","variable":"kExtraWebAppsDir","line":586,"comment":"Name of a subdirectory of the main external web apps directory which additional web apps configs should be loaded from. Used to load device-specific web apps."},{"type":"switch","file":"media/base/media_switches.cc","name":"--fail-audio-stream-creation","variable":"kFailAudioStreamCreation","line":162,"comment":"Causes the AudioManager to fail creating audio streams. Used when testing various failure cases."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--fake-arc-recommended-apps-for-testing","variable":"kFakeArcRecommendedAppsForTesting","line":591,"comment":"Specifies number of recommended (fake) ARC apps during user onboarding. App descriptions are generated locally instead of being fetched from server. Limited to ChromeOS-on-linux and test images only."},{"type":"switch","file":"media/base/media_switches.cc","name":"--fake-background-blur-toggle-period","variable":"kFakeBackgroundBlurTogglePeriod","line":168,"comment":"Inserts fake background blur state into `VideoFrameMetadata`. The value represents the period in milliseconds. eg. Setting it to 1000ms, will cause the blur state to cycle between reporting ENABLED for 500ms and DISABLED for 500ms."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--fake-drivefs-launcher-chroot-path","variable":"kFakeDriveFsLauncherChrootPath","line":596,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--fake-drivefs-launcher-socket-path","variable":"kFakeDriveFsLauncherSocketPath","line":602,"comment":"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."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--fake-oobe-configuration-file","variable":"kFakeOobeConfiguration","line":28,"comment":"Path to a OOBE configuration JSON file (used by FakeOobeConfigurationClient)."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--fake-variations-channel","variable":"kFakeVariationsChannel","line":42,"comment":"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."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--fake-vsync-rate","variable":"kFakeVsyncRate","line":225,"buildflags":["BUILDFLAG(IS_WIN)"]},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--false","variable":"kSwitchValueFalse","line":18,"comment":"Value indicating whether flag from command line switch is false."},{"type":"switch","file":"components/feedback/feedback_switches.cc","name":"--feedback-server","variable":"kFeedbackServer","line":10,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"base/base_switches.h","name":"--field-trial-handle","variable":"kFieldTrialHandle","line":50,"comment":"Handle to the shared memory segment containing field trial state that is to be shared between processes. The argument to this switch is made of segments separated by commas: - The platform-specific handle id for the shared memory as a string. - (Windows only) i=inherited by duplication or p=child must open parent. - The high 64 bits of the shared memory block GUID. - The low 64 bits of the shared memory block GUID. - The size of the shared memory segment as a string."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--file-storage-server-upload-url","variable":"kFileStorageServerUploadUrl","line":25,"comment":"Specifies the URL at which to communicate with File Storage Server (go/crosman-file-storage-server) to upload log and support packet files."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--file-url-path-alias","variable":"kFileUrlPathAlias","line":427,"comment":"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."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--finch-seed-expiration-age","variable":"kFinchSeedExpirationAge","line":37,"comment":"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."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--finch-seed-ignore-pending-download","variable":"kFinchSeedIgnorePendingDownload","line":41,"comment":"Forces WebView's service to always schedule a new variations seed download job, even if one is already pending."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--finch-seed-min-download-period","variable":"kFinchSeedMinDownloadPeriod","line":53,"comment":"The minimum amount of time in seconds that WebView's service will wait between two variations seed downloads from the variations server."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--finch-seed-min-update-period","variable":"kFinchSeedMinUpdatePeriod","line":58,"comment":"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."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--finch-seed-no-charging-requirement","variable":"kFinchSeedNoChargingRequirement","line":48,"comment":"Forces WebView's service to always schedule a new variations seed download job, even if the device is not charging. Note this switch may be necessary for testing on Android emulators as these are not always considered to be charging."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--fingerprint-sensor-location","variable":"kFingerprintSensorLocation","line":608,"comment":"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\"."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--first-exec-after-boot","variable":"kFirstExecAfterBoot","line":612,"comment":"Passed to Chrome the first time that it's run after the system boots. Not passed on restart after sign out."},{"type":"switch","file":"components/webui/flags/flags_ui_switches.cc","name":"--flag-switches-begin","variable":"kFlagSwitchesBegin","line":12,"comment":"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."},{"type":"switch","file":"components/webui/flags/flags_ui_switches.cc","name":"--flag-switches-end","variable":"kFlagSwitchesEnd","line":13},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--focus","variable":"kFocus","line":499,"comment":"Activates an existing tab or app window by URL or app id before creating anything new. Syntax: comma-ordered selectors. Bare URLs are exact. Add a trailing * for prefix. app:<app-id> targets PWAs. Example: --focus=https://meet.google.com/*,app:abc123"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--focus-result-file","variable":"kFocusResultFile","line":502,"comment":"Specifies a file path to write JSON focus result information."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--font-cache-shared-handle","variable":"kFontCacheSharedHandle","line":962,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"DirectWrite FontCache is shared by browser to renderers using shared memory. This switch allows us to pass the shared memory handle to the renderer."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-app-mode","variable":"kForceAppMode","line":346,"comment":"Specifies the variation of Zero State extensions toolbar recommendation to show. When a user with zero extensions installed clicks on the extensions puzzle piece in the Chrome toolbar, Chrome displays a submenu suggesting the user to explore the Chrome Web Store. Forces application mode. This hides certain system UI elements and forces the app to be installed if it hasn't been already."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-birch-fake-coral-backend","variable":"kForceBirchFakeCoralBackend","line":615,"comment":"Forces a fake backend to generate coral groups."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-birch-fake-coral-group","variable":"kForceBirchFakeCoralGroup","line":618,"comment":"Forces a chip with fake coral group to be shown."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-birch-fetch","variable":"kForceBirchFetch","line":621,"comment":"Forces a fetch of Birch data whenever an informed restore session starts."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-birch-release-notes","variable":"kForceBirchReleaseNotes","line":625,"comment":"If set, skips the logic in birch release notes provider and always sets release notes item."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--force-browser-crash-on-gpu-crash","variable":"kForceBrowserCrashOnGpuCrash","line":134,"comment":"Crash Chrome if GPU process crashes. This is to force a test to fail when GPU process crashes unexpectedly."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-browser-data-migration-for-testing","variable":"kForceBrowserDataMigrationForTesting","line":795,"comment":"Force skip or force migration. Should only be used for testing."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--force-caption-style","variable":"kForceCaptionStyle","line":62,"comment":"Forces the caption style for WebVTT captions."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--force-color-profile","variable":"kForceDisplayColorProfile","line":26,"comment":"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)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-cryptohome-recovery-for-testing","variable":"kForceCryptohomeRecoveryForTesting","line":628,"comment":"Forces fetching tokens for Cryptohome Recovery."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--force-dark-mode","variable":"kForceDarkMode","line":65,"comment":"Forces dark mode in UI for platforms that support it."},{"type":"switch","file":"base/base_switches.h","name":"--force-desktop-android","variable":"kForceDesktopAndroid","line":180,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Forces the DeviceInfo.isDesktop() check to return true. Can be used to enable desktop-only features on other form factors."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--force-device-ownership","variable":"kForceDeviceOwnership","line":43,"buildflags":["BUILDFLAG(IS_ANDROID)"]},{"type":"switch","file":"ui/display/display_switches.cc","name":"--force-device-scale-factor","variable":"kForceDeviceScaleFactor","line":33,"comment":"Overrides the device scale factor for the browser UI and the contents."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-devtools-available","variable":"kForceDevToolsAvailable","line":351,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Forces developer tools availability, no matter what values the enterprise policies DeveloperToolsDisabled and DeveloperToolsAvailability are set to."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--force-disable-variation-ids","variable":"kForceDisableVariationIds","line":67,"comment":"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."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--force-effective-connection-type","variable":"kForceEffectiveConnectionType","line":11,"comment":"Forces Network Quality Estimator (NQE) to return a specific effective connection type."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--force-enable-metrics-reporting","variable":"kForceEnableMetricsReporting","line":35,"comment":"Forces metrics reporting to be enabled. Should not be used for tests as it will send data to servers."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-enable-night-mode","variable":"kForceEnableNightMode","line":761,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Forces the night mode to be enabled."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-enable-stylus-tools","variable":"kAshForceEnableStylusTools","line":241,"comment":"Enables the stylus tools next to the status area."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--force-feed-signin-promo","variable":"kForceFeedSigninPromo","line":31,"comment":"Force the discover feed to show the sign-in promo."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--force-fieldtrial-params","variable":"kForceFieldTrialParams","line":52,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--force-fieldtrials","variable":"kForceFieldTrials","line":60,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-first-run","variable":"kForceFirstRun","line":356,"comment":"Displays the First Run experience when the browser is started, regardless of whether or not it's actually the First Run (this overrides kNoFirstRun)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-first-run-ui","variable":"kForceFirstRunUI","line":632,"comment":"Forces first-run UI to be shown for every login."},{"type":"switch","file":"components/signin/public/base/signin_switches.cc","name":"--force-fre-default-browser-step","variable":"kForceFreDefaultBrowserStep","line":28,"buildflags":["BUILDFLAG(ENABLE_DICE_SUPPORT)"],"comment":"Force enable the default browser step in the first run experience on Desktop."},{"type":"switch","file":"components/signin/public/base/signin_switches.cc","name":"--force-fre-feature-showcase-steps","variable":"kForceFreFeatureShowcaseSteps","line":32,"buildflags":["BUILDFLAG(ENABLE_DICE_SUPPORT)"],"comment":"Overrides the eligible steps in the Feature Showcase step of the first run experience. Step names should be valid values separated by commas."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--force-gpu-mem-discardable-limit-mb","variable":"kForceGpuMemDiscardableLimitMb","line":42,"comment":"Sets the maximum GPU memory to use for discardable caches."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-happiness-tracking-system","variable":"kForceHappinessTrackingSystem","line":641,"comment":"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."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--force-high-contrast","variable":"kForceHighContrast","line":69,"comment":"Forces high-contrast mode for native UI and web content, regardless of system settings."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--force-high-performance-gpu","variable":"kForceHighPerformanceGPU","line":54},{"type":"switch","file":"base/base_switches.h","name":"--force-high-res-timeticks","variable":"kForceHighResTimeTicks","line":148,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Forces the use of QPC for TimeTicks even if cpuid doesn't report the presence of an invariant TSC."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-hwid-check-result-for-test","variable":"kForceHWIDCheckResultForTest","line":636,"comment":"Forces Hardware ID check (happens during OOBE) to fail or succeed. Possible values: \"failure\" or \"success\". Should be used only for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-launch-browser","variable":"kForceLaunchBrowser","line":644,"comment":"Forces FullRestoreService to launch browser for telemetry tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-login-manager-in-tests","variable":"kForceLoginManagerInTests","line":648,"comment":"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."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--force-max-texture-size","variable":"kForceMaxTextureSize","line":46,"comment":"Sets the maximum texture size in pixels."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--force-media-resolution-height","variable":"kForceMediaResolutionHeight","line":167,"comment":"When present overrides the screen resolution used by CanDisplayType API, instead of using the values obtained from avsettings."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--force-media-resolution-width","variable":"kForceMediaResolutionWidth","line":168},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--force-mojo-renderer","variable":"kForceMojoRenderer","line":230,"comment":"Forces the use of the mojo renderer. In other words, the renderer process will run a mojo renderer and CastRenderer will run in the browser process. This is necessary for devices that use CastRenderer. For this flag to have any effect, note that you must build the cast web runtime with the gn arg \"enable_cast_renderer\" set to true, and \"renderer\" must be included in the list \"mojo_media_services\". This flag has lower priority than \"disable-mojo-renderer\"."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--force-msbb-setting-on-for-ukm","variable":"kForceMsbbSettingOnForUkm","line":41,"comment":"Forces MSBB setting to be on for UKM recording. Should only be used in automated testing browser sessions in which it is infeasible or impractical to toggle the setting manually."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--force-navigation-timeline-ukm-recording-for-testing","variable":"kForceNavigationTimelineUkmRecordingForTesting","line":431,"comment":"Forces recording of NavigationTimeline UKM. Useful for testing NavigationTimeline UKM recording in browser tests."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--force-online-connection-state-for-indicator","variable":"kForceOnlineConnectionStateForIndicator","line":908,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Prevent the offline indicator from showing."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--force-permission-policy-unload-default-enabled","variable":"kForcePermissionPolicyUnloadDefaultEnabled","line":14,"comment":"If set, the unload event cannot be disabled by default by Permissions-Policy."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--force-presentation-receiver-for-testing","variable":"kForcePresentationReceiverForTesting","line":437,"comment":"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"},{"type":"switch","file":"media/base/media_switches.cc","name":"--force-protected-video-output-buffers","variable":"kForceProtectedVideoOutputBuffers","line":287,"buildflags":["BUILDFLAG(IS_FUCHSIA)"],"comment":"Forces protected memory for all output video buffers generated by FuchsiaVideoDecoder, including unencrypted streams. Ignored unless --enable-protected-video-buffers is also specified."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--force-raster-color-profile","variable":"kForceRasterColorProfile","line":30,"comment":"Force rastering to take place in the specified color profile. Accepted values are the same as for the kForceDisplayColorProfile case above."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--force-reader-mode-distillation-timeout","variable":"kForceReaderModeDistillationTimeout","line":33,"comment":"Forces any Reading Mode activation on a web page to immediately timeout due to distillation delay."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-refresh-rate-throttle","variable":"kForceRefreshRateThrottle","line":1078,"comment":"On devices that support refresh rate throttling, force the throttling behavior to be active regardless of system state."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--force-renderer-accessibility","variable":"kForceRendererAccessibility","line":74,"comment":"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. This switch has an optional parameter that forces an AXMode bundle. The three available bundle settings are: 'basic', 'form-controls', and 'complete'. If the bundle argument is invalid, then the forced AXMode will default to 'complete'. If the bundle argument is missing, then the initial AXMode will default to complete but allow changes to the AXMode during execution."},{"type":"switch","file":"components/search_engines/search_engines_switches.cc","name":"--force-search-engine-choice-screen","variable":"kForceSearchEngineChoiceScreen","line":26,"comment":"Force-enable showing the search engine choice screen for testing regardless of region or choice already having been made."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--force-separate-egl-display-for-webgl-testing","variable":"kForceSeparateEGLDisplayForWebGLTesting","line":141,"comment":"Force the use of a separate EGL display for WebGL contexts. Used for testing multi-GPU pathways on devices with only one valid GPU."},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--force-shopper-experience","variable":"kForceShopperExperience","line":27,"comment":"Enables shopping feature user experience for the segment specified in the argument, e.g. \"ShoppingUser\" or \"Other\"."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-show-cursor","variable":"kForceShowCursor","line":652,"comment":"Forces the cursor to be shown even if we are mimicking touch events. Note that cursor changes are locked when using this switch."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-show-release-track","variable":"kForceShowReleaseTrack","line":656,"comment":"Force the \"release track\" UI to show in the system tray. Simulates the system being on a non-stable release channel with feedback enabled."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-show-update-menu-badge","variable":"kForceShowUpdateMenuBadge","line":764,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Forces the update menu badge to show."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-status-area-collapsible","variable":"kAshForceStatusAreaCollapsible","line":245,"comment":"Forces the status area to allow collapse/expand regardless of the current state."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-tablet-mode","variable":"kAshUiMode","line":279,"comment":"Enables required things for the selected UI mode, regardless of whether the Chromebook is currently in the selected UI mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--force-tablet-power-button","variable":"kForceTabletPowerButton","line":660,"comment":"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."},{"type":"switch","file":"base/i18n/base_i18n_switches.cc","name":"--force-text-direction","variable":"kForceTextDirection","line":16,"comment":"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."},{"type":"switch","file":"base/i18n/base_i18n_switches.cc","name":"--force-ui-direction","variable":"kForceUIDirection","line":11,"comment":"Force the UI to a specific direction. Valid values are \"ltr\" (left-to-right) and \"rtl\" (right-to-left)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-update-menu-type","variable":"kForceUpdateMenuType","line":767,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Forces the update menu type to a specific type."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--force-update-remote-url","variable":"kForceUpdateRemoteUrl","line":234,"comment":"OTA update related switches."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--force-variation-ids","variable":"kForceVariationIds","line":62,"comment":"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. IMPORTANT: You can use this switch for test purposes (e.g. a manual command line run or from a unit test), but NOT for production code in the browser, as the latter is not allowed for privacy reasons (except for the current use by about:flags code)."},{"type":"switch","file":"media/base/media_switches.cc","name":"--force-video-overlays","variable":"kForceVideoOverlays","line":173,"comment":"Force media player using SurfaceView instead of SurfaceTexture on Android. Note: This is used by the Cast playback pipeline and must be kept."},{"type":"switch","file":"media/base/media_switches.cc","name":"--force-wave-audio","variable":"kForceWaveAudio","line":314,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Use Windows WaveOut/In audio API even if Core Audio is supported."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--force-webgpu-compat","variable":"kForceWebGPUCompat","line":71,"comment":"Force all WebGPU content to run in WebGPU Compatibility mode."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--force-webrtc-ip-handling-policy","variable":"kForceWebRtcIPHandlingPolicy","line":853,"comment":"Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--force-webxr-runtime","variable":"kWebXrForceRuntime","line":871,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--force-whats-new","variable":"kForceWhatsNew","line":361,"comment":"Displays the What's New experience when the browser is started if it has not yet been shown for the current milestone (this overrides kNoFirstRun, without showing the First Run experience)."},{"type":"switch","file":"components/translate/core/common/translate_switches.cc","name":"--forced-translate-language","variable":"kForcedTranslateLanguage","line":21,"comment":"Overrides the target language for translation and forces translation of all pages to the new target language."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--form-factor","variable":"kFormFactor","line":665,"comment":"Specifies the device's form factor. If provided, this flag overrides the value from the LSB release info. Possible values are: \"CHROMEBASE\", \"CHROMEBIT\", \"CHROMEBOOK\", \"REFERENCE\", \"CHROMEBOX\""},{"type":"switch","file":"base/base_switches.h","name":"--full-memory-crash-report","variable":"kFullMemoryCrashReport","line":63,"comment":"Generates full memory crash dump."},{"type":"switch","file":"base/test/test_switches.cc","name":"--fuzz","variable":"kFuzz","line":145,"comment":"The following three switches match those in fuzztest and are defined the same way. We know about them in this test suite so that we can act differently if we're in fuzzing mode. These appear to be very stable fuzztest flags and it's unlikely that we'd ever need to detect others in a similar way, but if this proves to be unstable then we could add an upstream fuzztest API such as fuzztest::AreWeFuzzing, and use that instead of detecting any flags."},{"type":"switch","file":"google_apis/gaia/gaia_switches.cc","name":"--gaia-config-contents","variable":"kGaiaConfigContents","line":10},{"type":"switch","file":"google_apis/gaia/gaia_switches.cc","name":"--gaia-url","variable":"kGaiaUrl","line":12},{"type":"switch","file":"device/gamepad/public/cpp/gamepad_switches.cc","name":"--gamepad-polling-interval","variable":"kGamepadPollingInterval","line":12,"comment":"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."},{"type":"switch","file":"google_apis/gcm/engine/gservices_switches.cc","name":"--gcm-checkin-url","variable":"kGCMCheckinURL","line":11,"comment":"Sets the checkin service endpoint that will be used for performing Google Cloud Messaging checkins."},{"type":"switch","file":"google_apis/gcm/engine/gservices_switches.cc","name":"--gcm-mcs-endpoint","variable":"kGCMMCSEndpoint","line":15,"comment":"Sets the Mobile Connection Server endpoint that will be used for Google Cloud Messaging."},{"type":"switch","file":"google_apis/gcm/engine/gservices_switches.cc","name":"--gcm-registration-url","variable":"kGCMRegistrationURL","line":19,"comment":"Sets the registration endpoint that will be used for creating new Google Cloud Messaging registrations."},{"type":"switch","file":"services/device/public/cpp/hid/hid_switches.cc","name":"--gcpw-signin","variable":"kGcpwSigninSwitch","line":13,"comment":"Enable HID device access for the GCPW sign-in process."},{"type":"switch","file":"chromeos/constants/chromeos_switches.cc","name":"--gemini-app-preinstall-activation-time-threshold","variable":"kGeminiAppPreinstallActivationTimeThreshold","line":14,"comment":"The name for the command-line switch used to provide the activation time threshold for the Gemini app. Note that this switch will only be used for testing purposes."},{"type":"switch","file":"ui/accessibility/accessibility_switches.cc","name":"--generate-accessibility-test-expectations","variable":"kGenerateAccessibilityTestExpectations","line":60},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--generate-pdf-document-outline","variable":"kGeneratePDFDocumentOutline","line":28,"comment":"Embed the document outline into printed PDFs."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--get-access-token-for-test","variable":"kGetAccessTokenForTest","line":1065,"comment":"Enable the getAccessToken autotest API which creates access tokens using the internal OAuth client ID."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--gl-shader-interm-output","variable":"kGLShaderIntermOutput","line":58,"comment":"Include ANGLE's intermediate representation (AST) output in shader compilation info logs."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-admin-redirect-patterns","variable":"kGlicAdminRedirectPatterns","line":978,"comment":"List of URL patterns in the glic webview to redirect to an admin blocked panel, as a space-separated list."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-always-open-fre","variable":"kGlicAlwaysOpenFre","line":954},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-always-show-web-actuation-toggle","variable":"kGlicAlwaysShowWebActuationToggle","line":973,"comment":"Whether to show web actuation toggle in the Chrome AI settings page."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-always-skip-fre","variable":"kGlicAlwaysSkipFre","line":955},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-automation","variable":"kGlicAutomation","line":964,"comment":"Automation is intended to be passed in addition to glic-dev. It further disables functionality to make basic testing easier."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-dev","variable":"kGlicDev","line":966,"comment":"Dev mode for glic only exposed via command line flag."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-experimental-fre-url","variable":"kGlicExperimentalFreURL","line":956},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-gemini-enterprise-settings-override","variable":"kGlicGeminiEnterpriseSettingsOverride","line":952,"comment":"Overrides the Gemini Enterprise settings JSON dictionary for local development."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-guest-url","variable":"kGlicGuestURL","line":950,"comment":"Overrides the glic guest URL."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-guest-url-preset-autopush","variable":"kGlicGuestUrlPresetAutopush","line":984,"comment":"Configure preset guest URLs for manual testing. These are saved to local state prefs and can be selected to override the default glic guest URL through corresponding entries in chrome://flags."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-guest-url-preset-preprod","variable":"kGlicGuestUrlPresetPreprod","line":986},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-guest-url-preset-prod","variable":"kGlicGuestUrlPresetProd","line":987},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-guest-url-preset-staging","variable":"kGlicGuestUrlPresetStaging","line":985},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-host-logging","variable":"kGlicHostLogging","line":971,"comment":"Whether additional logging is enabled in the glic api host."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-open-on-startup","variable":"kGlicOpenOnStartup","line":959,"comment":"Use --glic-open-on-startup=attached or --glic-open-on-startup=detached."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-shortcuts-learn-more-url","variable":"kGlicShortcutsLearnMoreURL","line":957},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-skip-reload-after-navigation","variable":"kGlicSkipReloadAfterNavigation","line":968,"comment":"If this flag is set, then the page navigating will not trigger a reload."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--glic-webui-allowed-origins","variable":"kGlicAllowedOrigins","line":961,"comment":"List of allowed origins in the glic webview, as a space-separated list."},{"type":"switch","file":"google_apis/gaia/gaia_switches.cc","name":"--google-apis-url","variable":"kGoogleApisUrl","line":13},{"type":"switch","file":"components/google/core/common/google_switches.cc","name":"--google-base-url","variable":"kGoogleBaseURL","line":10,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"google_apis/gaia/gaia_switches.cc","name":"--google-url","variable":"kGoogleUrl","line":11},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-blocklist-test-group","variable":"kGpuBlocklistTestGroup","line":23,"comment":"Select a different set of GPU blocklist entries with the specified test_group ID."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-channel-request-start-time-ticks","variable":"kGpuChannelRequestStartTimeTicks","line":627,"comment":"Time the browser process requested the GPU channel for the renderer (in TimeTicks)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-client-id","variable":"kGpuClientId","line":440},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-device-id","variable":"kGpuDeviceId","line":98,"comment":"Passes the active graphics device id from browser process to info collection GPU process."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-disk-cache-size-kb","variable":"kGpuDiskCacheSizeKB","line":41,"comment":"Allows explicitly specifying the shader disk cache size for embedded devices. Default value is 6MB. On Android, 2MB is default and 128KB for low-end devices."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-driver-bug-list-test-group","variable":"kGpuDriverBugListTestGroup","line":27,"comment":"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."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-driver-version","variable":"kGpuDriverVersion","line":110,"comment":"Passes the active graphics driver version from browser process to info collection GPU process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-launcher","variable":"kGpuLauncher","line":444,"comment":"Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--gpu-no-context-lost","variable":"kGpuNoContextLost","line":123,"comment":"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."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-preferences","variable":"kGpuPreferences","line":30,"comment":"Passes encoded GpuPreferences to GPU process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-process","variable":"kGpuProcess","line":447,"comment":"Makes this process a GPU sub-process."},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--gpu-program-cache-size-kb","variable":"kGpuProgramCacheSizeKb","line":49,"comment":"Sets the maximum size of the in-memory gpu program cache, in kb"},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-revision","variable":"kGpuRevision","line":106,"comment":"Passes the active graphics revision info from browser process to info collection GPU process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-sandbox-start-early","variable":"kGpuSandboxStartEarly","line":450,"comment":"Starts the GPU sandbox before creating a GL context."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu-startup-dialog","variable":"kGpuStartupDialog","line":453,"comment":"Causes the GPU process to display a dialog on launch."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-sub-system-id","variable":"kGpuSubSystemId","line":102,"comment":"Passes the active graphics sub system id from browser process to info collection GPU process."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-vendor-id","variable":"kGpuVendorId","line":94,"comment":"Passes the active graphics vendor id from browser process to info collection GPU process."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--gpu-watchdog-timeout-seconds","variable":"kGpuWatchdogTimeoutSeconds","line":137,"comment":"Override value for the GPU watchdog timeout in seconds."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--gpu2-startup-dialog","variable":"kGpu2StartupDialog","line":972,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Causes the second GPU process used for gpu info collection to display a dialog on launch."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--graphics-buffer-count","variable":"kGraphicsBufferCount","line":156},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns","variable":"kGrowthCampaigns","line":668,"comment":"Specifies campaigns to override for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns-clear-events-at-session-start","variable":"kGrowthCampaignsClearEventsAtSessionStart","line":672,"comment":"Clear all growth framework Feature Engagement events at session start for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns-current-time","variable":"kGrowthCampaignsCurrentTimeSecondsSinceUnixEpoch","line":681,"comment":"Specifies the device current time in `SecondsSinceUnixEpoch` format for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns-delayed-trigger-time-in-secs","variable":"kGrowthCampaignsDelayedTriggerTimeInSecs","line":690,"comment":"Specifies the delay time to trigger campaigns for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns-path","variable":"kGrowthCampaignsPath","line":677,"comment":"Path for which to load growth campaigns file for testing (instead of downloading from Omaha)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--growth-campaigns-registered-time","variable":"kGrowthCampaignsRegisteredTimeSecondsSinceUnixEpoch","line":686,"comment":"Specifies the device registered time in `SecondsSinceUnixEpoch` format for testing."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--gtk-version","variable":"kGtkVersionFlag","line":50,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"Specify the GTK version to be loaded."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--guest","variable":"kGuest","line":945,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \\"],"comment":"Causes the browser to launch directly in guest mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--guest-wallpaper-large","variable":"kGuestWallpaperLarge","line":699,"comment":"Large wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--guest-wallpaper-small","variable":"kGuestWallpaperSmall","line":703,"comment":"Small wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG file)."},{"type":"switch","file":"media/base/media_switches.cc","name":"--hardware-video-decode-framerate","variable":"kHardwareVideoDecodeFrameRate","line":347,"buildflags":["BUILDFLAG(USE_V4L2_CODEC)"],"comment":"Some (Qualcomm only at the moment) V4L2 video decoders require setting the framerate so that the hardware decoder can scale the clocks efficiently. This provides a mechanism during testing to lock the decoder framerate to a specific value."},{"type":"switch","file":"media/base/media_switches.cc","name":"--hardware-video-device-path","variable":"kHardwareVideoDevicePath","line":353,"buildflags":["BUILDFLAG(USE_VAAPI)"],"comment":"Allows explicitly picking a device path to find the device for VA-API video decoding and encoding."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--has-chromeos-keyboard","variable":"kHasChromeOSKeyboard","line":710,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--has-hps","variable":"kHasHps","line":713,"comment":"Whether this device that has hps."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--has-internal-stylus","variable":"kHasInternalStylus","line":716,"comment":"Whether this device has an internal stylus."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--has-number-pad","variable":"kHasNumberPad","line":720,"comment":"If set, the system is a Chromebook with a number pad as part of its internal keyboard."},{"type":"switch","file":"base/test/test_switches.cc","name":"--help","variable":"kHelpFlag","line":10,"comment":"Flag to show the help message."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--help","variable":"kHelp","line":812,"buildflags":["BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_CHROMEOS)"],"comment":"These flags show the man page on Linux. They are equivalent to each other."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--hermes-fake","variable":"kHermesFake","line":51,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--hidden-network-migration-age","variable":"kHiddenNetworkMigrationAge","line":878,"comment":"Sets how long a wrongly hidden network must have existed in order to be considered for removal. The interval should be provided in days, should follow the format \"--hidden-network-migration-age=#\", and should be >= 0."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--hidden-network-migration-interval","variable":"kHiddenNetworkMigrationInterval","line":872,"comment":"Controls how often the HiddenNetworkHandler class checks for wrongly hidden networks. The interval should be provided in seconds, should follow the format \"--hidden-network-migration-interval=#\", and should be >= 1."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--hide-crash-restore-bubble","variable":"kHideCrashRestoreBubble","line":367,"comment":"Does not show the crash restore bubble when the browser is started during the system startup phase in ChromeOS, if the ChromeOS full restore feature is enabled, because the ChromeOS full restore notification is shown for the user to select restore or not."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--hide-icons","variable":"kHideIcons","line":876,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--hide-scrollbars","variable":"kHideScrollbars","line":457,"comment":"Prevents creating scrollbars for web content. Useful for taking consistent screenshots."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--highlight-all-webviews","variable":"kHighlightAllWebViews","line":24,"comment":"Highlight the contents (including web contents) of all WebViews with a yellow tint. This is useful for identifying WebViews in an Android application."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--homedir","variable":"kHomedir","line":723,"comment":"Defines user homedir. This defaults to primary user homedir."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--homepage","variable":"kHomePage","line":372,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--host-package-label","variable":"kHostPackageLabel","line":195,"buildflags":["BUILDFLAG(IS_ANDROID)"]},{"type":"switch","file":"base/base_switches.h","name":"--host-package-name","variable":"kHostPackageName","line":194,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"When we retrieve the package name within the SDK Runtime, we need to use a bit of a hack to do this by taking advantage of the fact that the pid is the same pid as the application's pid + 10000. see: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/java/android/os/Process.java;l=292;drc=47fffdd53115a9af1820e3f89d8108745be4b55d When the render process is created however, it is just a regular isolated process with no particular association so we can't perform the same hack. When creating minidumps, the package name is retrieved from the process meaning the render process minidumps would end up reporting a generic process name not associated with the app. We work around this by feeding through the host package information to the render process when launching it."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--host-resolver-rules","variable":"kHostResolverRules","line":18,"comment":"These mappings only apply to the host resolver."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--host-rules","variable":"kHostRules","line":22,"comment":"Deprecated alias for backwards compatibility, now does the same thing as --host-resolver-rules which should be used instead.","todos":["TODO(crbug.com/40070729): consider removing in some future release."]},{"type":"switch","file":"base/base_switches.h","name":"--host-version-code","variable":"kHostVersionCode","line":196,"buildflags":["BUILDFLAG(IS_ANDROID)"]},{"type":"switch","file":"components/network_session_configurator/common/network_switches.cc","name":"--http2-grease-settings","variable":"kEnableHttp2GreaseSettings","line":13,"comment":"`kEnableHttp2GreaseSettings` does not include the word \"enable\" for historical reasons."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ignore-arcvm-dev-conf","variable":"kIgnoreArcVmDevConf","line":728,"comment":"If set, the \"ignore_dev_conf\" field in StartArcVmRequest message will consequently be set such that all development configuration directives in /usr/local/vms/etc/arcvm_dev.conf will be ignored during ARCVM start."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--ignore-autocomplete-off-autofill","variable":"kIgnoreAutocompleteOffForAutofill","line":26,"comment":"Ignores autocomplete=\"off\" for Autofill data (profiles + credit cards)."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--ignore-bad-message-for-testing","variable":"kIgnoreBadMessageForTesting","line":153,"comment":"The switch to ignore bad mojo message reports. Only for testing."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--ignore-certificate-errors-spki-list","variable":"kIgnoreCertificateErrorsSPKIList","line":35,"comment":"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 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."},{"type":"switch","file":"components/google/core/common/google_switches.cc","name":"--ignore-google-port-numbers","variable":"kIgnoreGooglePortNumbers","line":16,"comment":"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."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--ignore-gpu-blocklist","variable":"kIgnoreGpuBlocklist","line":33,"comment":"Ignores GPU blocklist."},{"type":"switch","file":"components/search_engines/search_engines_switches.cc","name":"--ignore-no-first-run-for-search-engine-choice-screen","variable":"kIgnoreNoFirstRunForSearchEngineChoiceScreen","line":17,"comment":"Override the --no-first-run dialog suppression for the search dialog for testing"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--ignore-profile-directory-if-not-exists","variable":"kIgnoreProfileDirectoryIfNotExists","line":536,"comment":"If provided with kProfileDirectory, does not create the profile if the profile directory doesn't exist."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ignore-unknown-auth-factors","variable":"kIgnoreUnknownAuthFactors","line":732,"comment":"If true, chrome would silently ignore unknown auth factor types instead of crashing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--ignore-user-profile-mapping-for-tests","variable":"kIgnoreUserProfileMappingForTests","line":738,"comment":"If true, profile selection in UserManager will always return active user's profile.","todos":["TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we turn on multi-profile feature on ChromeOS."]},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--import-passwords","variable":"kImportPasswords","line":382,"buildflags":["!BUILDFLAG(IS_ANDROID)"],"comment":"Triggers the import of passwords on startup."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--in-process-broker","variable":"kInProcessBroker","line":251,"comment":"Creates the service broker inside of this process. Only one process should host the service broker."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--in-process-gpu","variable":"kInProcessGPU","line":460,"comment":"Run the GPU process as a thread in the browser process."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--incognito","variable":"kIncognito","line":387,"comment":"Causes the initial browser opened to be in incognito mode. Further browsers may or may not be in incognito mode; see `IncognitoModePrefs`."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--init-isolate-as-foreground","variable":"kInitIsolateAsForeground","line":392,"comment":"Specifies that the main-thread Isolate should initialize in foreground mode. If not specified, the the Isolate will start in background mode for extension processes and foreground mode otherwise."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--inspector-protocol-log","variable":"kInspectorProtocolLog","line":39,"comment":"Specifies the path to a file containing a Chrome DevTools protocol log. Each line in the log file is expected to be a protocol message in the JSON format. The test runner will use this log file to script the backend for any inspector-protocol tests that run. Usually you would want to run a single test using the log to reproduce timeouts or crashes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--install-autogenerated-theme","variable":"kInstallAutogeneratedTheme","line":396,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--install-chrome-app","variable":"kInstallChromeApp","line":406,"comment":"Causes Chrome to initiate an installation flow for the given app."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--install-isolated-web-app-from-file","variable":"kInstallIsolatedWebAppFromFile","line":410,"comment":"Causes Chrome to install the unsigned Web Bundle at the given path as a developer mode Isolated Web App."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--install-isolated-web-app-from-url","variable":"kInstallIsolatedWebAppFromUrl","line":415,"comment":"Causes Chrome to install a developer mode Isolated Web App whose contents are hosted at the given HTTP(S) URL."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--install-log-fast-upload-for-tests","variable":"kInstallLogFastUploadForTests","line":747,"comment":"Decreases delay in uploading installation event logs for integration test."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--instant-process","variable":"kInstantProcess","line":419,"comment":"Marks a renderer as an Instant process."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--ip-address-space-overrides","variable":"kIpAddressSpaceOverrides","line":140,"comment":"Specifies manual overrides to the IP endpoint -> IP address space mapping. This allows running local tests against \"public\" and \"local\" IP addresses. This switch is specified as a comma-separated list of overrides. Each override is an equals-separated \"<endpoint|ip-range>=<address space>\" pair. Grammar, in pseudo-BNF format: switch := override-list override-list := override “,” override-list | <nil> override := (ip-endpoint | ip_range) “=” address-space address-space := “public” | “private” | “local” | \"loopback\" ip-endpoint := ip-address \":\" port ip-address := see `net::ParseURLHostnameToAddress()` for details port := integer in the [0-65535] range ip-range := ip-address \"/\" bitmask bitmask := integer in the [0-128] range Any invalid entries in the comma-separated list are ignored. If the port specified is 0, all ports for the given ip-address will be overridden. See also the design doc: https://docs.google.com/document/d/1-umCGylIOuSG02k9KGDwKayt3bzBXtGwVlCQHHkIcnQ/edit# And the Web Platform Test RFC #72 behind it: https://github.com/web-platform-tests/rfcs/blob/master/rfcs/address_space_overrides.md Note that since the doc and the RFC were written, the address space names have changed slightly due to Local Network Access (LNA) replacing Private Network Access (PNA)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--ipc-connection-timeout","variable":"kIPCConnectionTimeout","line":464,"comment":"Overrides the timeout, in seconds, that a child process waits for a connection from the browser before killing itself."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--ipc-dump-directory","variable":"kIpcDumpDirectory","line":986,"buildflags":["defined(ENABLE_IPC_FUZZER)"],"comment":"Dumps IPC messages sent from renderer processes to the browser process to the given directory. Used primarily to gather samples for IPC fuzzing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--ipc-fuzzer-testcase","variable":"kIpcFuzzerTestcase","line":989,"buildflags":["defined(ENABLE_IPC_FUZZER)"],"comment":"Specifies the testcase used by the IPC fuzzer."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--isolate-origins","variable":"kIsolateOrigins","line":469,"comment":"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"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--isolated","variable":"kIsolated","line":921,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Specifies that the browser is running isolated and should not attempt to start a second isolated browser."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--isolated-context-origins","variable":"kIsolatedContextOrigins","line":45,"comment":"Enables APIs guarded with the [IsolatedContext] IDL attribute for the given comma-separated list of origins."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--javaless-renderers","variable":"kJavalessRenderers","line":923,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Enables/disables javaless renderers based on value given. \"enabled\" or \"disabled\" are valid values."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--javascript-harmony","variable":"kJavaScriptHarmony","line":476,"comment":"Enables experimental Harmony (ECMAScript 6) features."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--keep-alive-for-test","variable":"kKeepAliveForTest","line":422,"comment":"Used for testing - keeps browser alive after last browser window closes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--kiosk","variable":"kKioskMode","line":425,"comment":"Enable kiosk mode. Please note this is not Chrome OS kiosk mode."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--kiosk-printing","variable":"kKioskModePrinting","line":428,"comment":"Enable automatically pressing the print button in print preview."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--kiosk-splash-screen-min-time-seconds","variable":"kKioskSplashScreenMinTimeSeconds","line":751,"comment":"Minimum time the kiosk splash screen will be shown in seconds."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--lang","variable":"kLang","line":75,"comment":"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. On Linux, this flag does not work; use the LC_*/LANG environment variables instead."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--last-launched-app","variable":"kLastLaunchedApp","line":53,"comment":"Switches to communicate app state information"},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--launch-rma","variable":"kLaunchRma","line":756,"comment":"Start Chrome in RMA mode. Launches RMA app automatically. kRmaNotAllowed switch takes priority over this one."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--launch-time-ticks","variable":"kRendererProcessLaunchTimeTicks","line":623,"comment":"Time the browser launched the renderer process (in TimeTicks)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--list-apps","variable":"kListApps","line":995,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)"],"comment":"Writes open and installed web apps for each profile to the specified file without launching a new browser window or tab. Pass a absolute file path to specify where to output the information. Can be used together with optional --profile-base-name switch to only write information for a given profile."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--load-webui-from-disk","variable":"kLoadWebUIfromDisk","line":486,"buildflags":["BUILDFLAG(LOAD_WEBUI_FROM_DISK)"],"comment":"Flag used to load WebUI files directly from disk instead of pak files. Meant to be used during local development only (requires a local checkout and build), and only works if used along with the GN load_webui_from_disk=true GN flag."},{"type":"switch","file":"chrome/browser/predictors/predictors_switches.cc","name":"--loading-predictor-allow-local-request-for-testing","variable":"kLoadingPredictorAllowLocalRequestForTesting","line":11,"comment":"Allows the loading predictor to do prefetches to local IP addresses. This is needed for testing as such requests are blocked by default for security."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--lobster-feature-key","variable":"kLobsterFeatureKey","line":759,"comment":"Enables the lobster feature."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--local-network-access-permissions-policy-default-enabled","variable":"kLocalNetworkAccessPermissionsPolicyDefaultEnabled","line":144,"comment":"If set, Local Network Access (LNA) permissions policy features will be default enabled in all frames, rather than requiring explicit delegation."},{"type":"switch","file":"components/browser_sync/browser_sync_switches.h","name":"--local-sync-backend-dir","variable":"kLocalSyncBackendDir","line":19,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--log-best-effort-tasks","variable":"kLogBestEffortTasks","line":70,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--log-file","variable":"kLogFile","line":498,"comment":"Overrides the default file name to use for general-purpose logging (does not affect which events are logged)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--log-gpu-control-list-decisions","variable":"kLogGpuControlListDecisions","line":490,"comment":"Logs GPU control list decisions when enforcing blocklist rules."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--log-level","variable":"kLoggingLevel","line":494,"comment":"Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--log-missing-unload-ack","variable":"kLogMissingUnloadACK","line":501,"comment":"Log an error whenever the unload timeout for a render frame is exceeded."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--login-manager","variable":"kLoginManager","line":762,"comment":"Enables Chrome-as-a-login-manager behavior."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--login-profile","variable":"kLoginProfile","line":769,"comment":"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."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--login-user","variable":"kLoginUser","line":772,"comment":"Specifies the user which is already logged in."},{"type":"switch","file":"google_apis/gaia/gaia_switches.cc","name":"--lso-url","variable":"kLsoUrl","line":14},{"type":"switch","file":"chromeos/constants/chromeos_switches.cc","name":"--mahi-restrictions-override","variable":"kMahiRestrictionsOverride","line":18,"comment":"Use in test to override mahi age and country restriction."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--make-chrome-default","variable":"kMakeChromeDefault","line":844,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Indicates whether Chrome should be set as the default browser during installation."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--make-default-browser","variable":"kMakeDefaultBrowser","line":431,"comment":"Makes Chrome default browser"},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--managed-mode","variable":"kManagedMode","line":201,"comment":"Whether in hospitality mode"},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--mangle-localized-strings","variable":"kMangleLocalizedStrings","line":118,"comment":"Transform localized strings to be longer, with beginning and end markers to make truncation visually apparent."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_allowlisted_for_phish_guard","variable":"kMarkAsPasswordProtectionAllowlisted","line":72,"comment":"List of comma-separated URLs to mark as present on the password protection allowlist. Note this uses the client-side detection allowlist."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_allowlisted_for_real_time","variable":"kMarkAsHighConfidenceAllowlisted","line":22,"comment":"List of comma-separated URLs to mark as present on the high-confidence allowlist."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_enterprise_blocked","variable":"kArtificialCachedEnterpriseBlockedVerdictFlag","line":34,"comment":"Command-line flag for caching an artificial blocked enterprise lookup verdict."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_enterprise_warned","variable":"kArtificialCachedEnterpriseWarnedVerdictFlag","line":38,"comment":"Command-line flag for caching an artificial flagged enterprise lookup verdict."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_malware","variable":"kMarkAsMalware","line":16,"comment":"List of comma-separated URLs to mark as malware for local database checks."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_phish_guard_phishing","variable":"kArtificialCachedPhishGuardVerdictFlag","line":68,"comment":"Command-line flag for caching an artificial PhishGuard unsafe verdict."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_phishing","variable":"kMarkAsPhishing","line":14,"comment":"List of comma-separated URLs to mark as phishing for local database checks."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_real_time_phishing","variable":"kArtificialCachedUrlRealTimeVerdictFlag","line":26,"comment":"Command-line flag for caching an artificial phishing verdict for URL real-time lookups."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_uws","variable":"kMarkAsUws","line":19,"comment":"List of comma-separated URLs to mark as unwanted software for local database checks."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--mark_as_v5_search_hashes_phishing","variable":"kArtificialCachedV5SearchHashesVerdictFlag","line":30,"comment":"Command-line flag for caching an artificial phishing verdict for V5 SearchHashes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--market-url-for-testing","variable":"kMarketUrlForTesting","line":773,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Sets the market URL for Chrome for use in testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--marketing-opt-in-url","variable":"kMarketingOptInUrl","line":799,"comment":"Determines the URL to be used when calling the backend."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--max-active-webgl-contexts","variable":"kMaxActiveWebGLContexts","line":505,"comment":"Allows user to override maximum number of active WebGL contexts per renderer process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--max-decoded-image-size-mb","variable":"kMaxDecodedImageSizeMb","line":508,"comment":"Sets the maximium decoded image size limitation."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--max-gum-fps","variable":"kWebRtcMaxCaptureFramerate","line":857,"comment":"Override the maximum framerate as can be specified in calls to getUserMedia. This flag expects a value. Example: --max-gum-fps=17.5"},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--max-output-volume-dba1m","variable":"kMaxOutputVolumeDba1m","line":126,"comment":"Calibrated max output volume dBa for voice content at 1 meter, if known."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--max-web-media-player-count","variable":"kMaxWebMediaPlayerCount","line":511,"comment":"Sets the maximum number of WebMediaPlayers allowed per frame."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mem-pressure-system-reserved-kb","variable":"kMemPressureSystemReservedKb","line":150,"comment":"Memory pressure switches"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--message-loop-type-ui","variable":"kMessageLoopTypeUi","line":514,"comment":"Indicates the utility process should run with a message loop type of UI."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--metrics-client-id","variable":"kMetricsClientID","line":830,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"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."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--metrics-recording-only","variable":"kMetricsRecordingOnly","line":49,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--metrics-shmem-handle","variable":"kMetricsSharedMemoryHandle","line":74,"comment":"Handle to the shared memory segment a child process should use to transmit histograms back to the browser process."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--metrics-upload-interval","variable":"kMetricsUploadIntervalSec","line":54,"comment":"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)."},{"type":"switch","file":"media/base/media_switches.cc","name":"--min-video-decoder-output-buffer-size","variable":"kMinVideoDecoderOutputBufferSize","line":293,"buildflags":["BUILDFLAG(IS_FUCHSIA)"],"comment":"Minimum size for buffer size used for output video frames in FuchsiaVideoDecoder. May be set to avoid re-allocating video buffers when an application upgrades video resolution mid-stream."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mixer-enable-dynamic-channel-count","variable":"kMixerEnableDynamicChannelCount","line":130,"comment":"Enable dynamically changing the channel count in the mixer depending on the input streams."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mixer-service-endpoint","variable":"kMixerServiceEndpoint","line":205,"comment":"Endpoint that the mixer service listens on. This is a path for a UNIX domain socket (default is /tmp/mixer-service)."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mixer-service-port","variable":"kMixerServicePort","line":209,"comment":"TCP port that the mixer service listens on on non-Linux platforms. (default 12854)."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mixer-source-audio-ready-threshold-ms","variable":"kMixerSourceAudioReadyThresholdMs","line":137,"comment":"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."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--mixer-source-input-queue-ms","variable":"kMixerSourceInputQueueMs","line":143,"comment":"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."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--mock-cert-verifier-default-result-for-testing","variable":"kMockCertVerifierDefaultResultForTesting","line":517,"comment":"Set the default result for MockCertVerifier. This only works in test code."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--model-quality-service-api-key","variable":"kModelQualityServiceAPIKey","line":125,"comment":"Overrides the ModelQuality Service API Key for remote requests to be made."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--model-quality-service-url","variable":"kModelQualityServiceURL","line":122,"comment":"Overrides the model quality service URL."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--mojo-local-storage","variable":"kMojoLocalStorage","line":521,"comment":"Use a Mojo-based LocalStorage implementation."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--monitoring-destination-id","variable":"kMonitoringDestinationID","line":1088,"comment":"Allows setting a different destination ID for connection-monitoring GCM messages. Useful when running against a non-prod management server."},{"type":"switch","file":"media/base/media_switches.cc","name":"--mse-audio-buffer-size-limit-mb","variable":"kMSEAudioBufferSizeLimitMb","line":177,"comment":"Allows explicitly specifying MSE audio/video buffer sizes as megabytes. Default values are 150M for video and 12M for audio."},{"type":"switch","file":"media/base/media_switches.cc","name":"--mse-video-buffer-size-limit-mb","variable":"kMSEVideoBufferSizeLimitMb","line":178},{"type":"switch","file":"media/base/media_switches.cc","name":"--mute-audio","variable":"kMuteAudio","line":182,"comment":"Mutes audio sent to the audio device so it is not audible during automated testing."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--native-messaging-connect-extension","variable":"kNativeMessagingConnectExtension","line":441,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--native-messaging-connect-host","variable":"kNativeMessagingConnectHost","line":436,"comment":"Requests a native messaging connection be established between the native messaging host named by this switch and the extension with ID specified by kNativeMessagingConnectExtension."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--native-messaging-connect-id","variable":"kNativeMessagingConnectId","line":447,"comment":"If set when kNativeMessagingConnectHost and kNativeMessagingConnectExtension are specified, is reflected to the native messaging host as a command line parameter."},{"type":"switch","file":"chrome/browser/nearby_sharing/common/nearby_share_switches.cc","name":"--nearby-share-certificate-validity-period-hours","variable":"kNearbyShareCertificateValidityPeriodHours","line":11,"comment":"All switches in alphabetical order. The switches should be documented alongside the definition of their values in the .cc file."},{"type":"switch","file":"chrome/browser/nearby_sharing/common/nearby_share_switches.cc","name":"--nearby-share-device-id","variable":"kNearbyShareDeviceID","line":16,"comment":"Overrides the default device ID to provide a stable ID in test environments. By default we generate a random 10-character string."},{"type":"switch","file":"chrome/browser/nearby_sharing/common/nearby_share_switches.cc","name":"--nearby-share-num-private-certificates","variable":"kNearbyShareNumPrivateCertificates","line":24,"comment":"Overrides the default number of private certificates generated. Value must be larger than 0."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--nearby-share-verbose-logging","variable":"kNearbyShareVerboseLogging","line":1100,"comment":"Enables verbose logging level for Nearby Share."},{"type":"switch","file":"chrome/browser/nearby_sharing/common/nearby_share_switches.cc","name":"--nearbysharing-http-host","variable":"kNearbyShareHTTPHost","line":20,"comment":"Overrides the default URL for Google APIs (https://www.googleapis.com) used by Nearby Share"},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--net-log","variable":"kNetLog","line":28,"comment":"Enable net logging from WebView. This captures network activity for debugging purposes, and stores the files in DevUi."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--net-log-capture-mode","variable":"kNetLogCaptureMode","line":51,"comment":"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."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--net-log-duration","variable":"kLogNetLogDuration","line":41,"comment":"Specifies the duration (in seconds) for network logging. When this flag is provided with a positive integer value X, Chrome will automatically stop collecting NetLog events after X seconds and flush the log to disk."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--net-log-file-format","variable":"kNetLogFileFormat","line":56,"comment":"Sets the format used for the network log file. Supported values are: \"json\" \"ndjson\""},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--net-log-max-size-mb","variable":"kNetLogMaxSizeMb","line":60,"comment":"Sets the maximum size, in megabytes. The log file can grow to before older data is overwritten. Do not use this flag if you want an unlimited file size."},{"type":"switch","file":"chromecast/net/net_switches.cc","name":"--netifs-to-ignore","variable":"kNetifsToIgnore","line":15,"comment":"List of network interfaces to ignore. Ignored interfaces will not be used for network connectivity."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--new-window","variable":"kOpenInNewWindow","line":493,"comment":"Launches URL in new browser window."},{"type":"switch","file":"components/search_engines/search_engines_switches.h","name":"--NO_REPROMPT","variable":"kSearchEngineChoiceNoRepromptString","line":56,"comment":"The string that's passed to `switches::kSearchEngineChoiceTriggerRepromptParams` so that we don't reprompt users with the choice screen."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-default-browser-check","variable":"kNoDefaultBrowserCheck","line":451,"comment":"Disables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--no-delay-for-dx12-vulkan-info-collection","variable":"kNoDelayForDX12VulkanInfoCollection","line":86,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-experiments","variable":"kNoExperiments","line":457,"comment":"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."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-first-run","variable":"kNoFirstRun","line":472,"comment":"Skip First Run tasks as well as not showing additional dialogs, prompts or bubbles. Suppressing dialogs, prompts, and bubbles is important as this switch is used by automation (including performance benchmarks) where it's important only a browser window is shown. This may not actually be the first run or the What's New page. Its effect can be partially ignored by adding kForceFirstRun (for FRE), kForceWhatsNew (for What's New) and/or kIgnoreNoFirstRunForSearchEngineChoiceScreen (for the DSE choice screen). This does not drop the First Run sentinel and thus doesn't prevent first run from occurring the next time chrome is launched without this flag. It also does not update the last What's New milestone, so does not prevent What's New from occurring the next time chrome is launched without this flag."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-network-profile-warning","variable":"kNoNetworkProfileWarning","line":880,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Whether or not the browser should warn if the profile is on a network share. This flag is only relevant for Windows currently."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--no-pdf-header-footer","variable":"kNoPDFHeaderFooter","line":22,"comment":"Do not display header and footer in the printed PDF file."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-pings","variable":"kNoPings","line":475,"comment":"Don't send hyperlink auditing pings"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-pre-read-main-dll","variable":"kNoPreReadMainDll","line":886,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Whether this process should PrefetchVirtualMemory on the contents of Chrome.dll. This warms up the pages in memory to speed up startup but might not be required in later renderers and/or GPU. For experiment info see crbug.com/40234091."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-proxy-server","variable":"kNoProxyServer","line":479,"comment":"Don't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--no-startup-window","variable":"kNoStartupWindow","line":483,"comment":"Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps)."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--no-unsandboxed-zygote","variable":"kNoUnsandboxedZygote","line":527,"comment":"Disables the unsandboxed zygote. Note: this flag should not be used on most platforms. It is introduced because some platforms (e.g. Cast) have very limited memory and binaries won't be updated when the browser process is running."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--no-xr-runtime","variable":"kWebXrRuntimeNone","line":874,"comment":"Tell WebXr to assume that it does not support any runtimes."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--no-zygote","variable":"kNoZygote","line":533,"comment":"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."},{"type":"switch","file":"base/base_switches.h","name":"--noerrdialogs","variable":"kNoErrorDialogs","line":77,"comment":"Suppresses all error dialogs when present."},{"type":"switch","file":"components/lens/lens_features.h","name":"--None","variable":"kLensAimSuggestionsTypeNone","line":1075,"comment":"String constants for LensAimSuggestionsType. These are used in the Field Trial configuration."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--note-taking-app-ids","variable":"kNoteTakingAppIds","line":806,"comment":"An optional comma-separated list of IDs of apps that can be used to take notes. If unset, a hardcoded list is used instead."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--notification-inline-reply","variable":"kNotificationInlineReply","line":890,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Used in combination with kNotificationLaunchId to specify the inline reply entered in the toast in the Windows Action Center."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--notification-launch-id","variable":"kNotificationLaunchId","line":894,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Used for launching Chrome when a toast displayed in the Windows Action Center has been activated. Should contain the launch ID encoded by Chrome."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--on-the-fly-mhtml-hash-computation","variable":"kOnTheFlyMhtmlHashComputation","line":489,"comment":"Calculate the hash of an MHTML file as it is being saved. The browser process will write the serialized MHTML contents to a file and calculate its hash as it is streamed back from the renderer via a Mojo data pipe."},{"type":"switch","file":"chromeos/services/machine_learning/public/cpp/ml_switches.cc","name":"--ondevice_handwriting","variable":"kOndeviceHandwritingSwitch","line":11,"comment":"Used to determine if and how on-device handwriting recognition is supported (e.g. via rootfs or downloadable content)."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--ondevice-validation-request-override","variable":"kOnDeviceValidationRequestOverride","line":103,"comment":"Enables the on-device model to run validation at startup after a delay. A text file can be provided used as input for the validation job and an output file path can be provided to write the response to."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-disable-pre-consent-metrics-for-testing","variable":"kOobeDisablePreConsentMetricsForTesting","line":842,"comment":"Disable metrics consent for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-eula-url-for-tests","variable":"kOobeEulaUrlForTests","line":809,"comment":"Allows the eula url to be overridden for tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-force-tablet-first-run","variable":"kOobeForceTabletFirstRun","line":814,"comment":"Indicates that the first user run flow (sequence of OOBE screens after the first user login) should show tablet mode centric screens, even if the device is not in tablet mode."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-large-screen-special-scaling","variable":"kOobeLargeScreenSpecialScaling","line":819,"comment":"Indicates that OOBE should be scaled for big displays similar to how Meets app scales UI.","todos":["TODO(crbug.com/1205364): Remove after adding new scheme."]},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-print-frontend-load-timings","variable":"kOobePrintFrontendLoadTimings","line":824,"comment":"When present, prints the time it takes for OOBE's frontend to load. See go/oobe-frontend-trace-timings for details."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-screenshot-dir","variable":"kOobeScreenshotDirectory","line":827,"comment":"Specifies directory for screenshots taken with OOBE UI Debugger."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-show-accessibility-button-on-marketing-opt-in-for-testing","variable":"kOobeShowAccessibilityButtonOnMarketingOptInForTesting","line":831,"comment":"Shows a11y button on the marketing opt in without visiting gesture navigation screen."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-skip-network-setup-for-testing","variable":"kOOBESkipNetworkSetupForTesting","line":454,"comment":"Skips OOBE network setup even if there is no internet connection."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-skip-new-user-check-for-testing","variable":"kOobeSkipNewUserCheckForTesting","line":835,"comment":"Skips new user check in the personalized recommend apps screen for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-skip-postlogin","variable":"kOobeSkipPostLogin","line":839,"comment":"Skips all other OOBE pages after user login."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-skip-split-modifier-check-for-testing","variable":"kOobeSkipSplitModifierCheckForTesting","line":847,"comment":"Returns true if we should skip split modifier check on the split modifier info screen."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-skip-to-login","variable":"kOobeSkipToLogin","line":851,"comment":"Skip to login screen."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-timer-interval","variable":"kOobeTimerInterval","line":854,"comment":"Interval at which we check for total time on OOBE."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-timezone-override-for-tests","variable":"kOobeTimezoneOverrideForTests","line":857,"comment":"Allows the timezone to be overridden on the marketing opt-in screen."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--oobe-trigger-sync-timeout-for-tests","variable":"kOobeTriggerSyncTimeoutForTests","line":860,"comment":"Trigger sync engine initialization timeout in OOBE for testing."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization_guide_hints_override","variable":"kHintsProtoOverride","line":26,"comment":"Overrides the Hints Protobuf that would come from the component updater. If the value of this switch is invalid, regular hint processing is used. The value of this switch should be a base64 encoding of a binary Configuration message, found in optimization_guide's hints.proto. Providing a valid value to this switch causes Chrome startup to block on hints parsing."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-fetch-hints-override","variable":"kFetchHintsOverride","line":31,"comment":"Overrides scheduling and time delays for fetching hints and causes a hints fetch immediately on start up using the provided comma separate lists of hosts."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-fetch-hints-override-timer","variable":"kFetchHintsOverrideTimer","line":35,"comment":"Overrides the hints fetch scheduling and delay, causing a hints fetch immediately on start up using the TopHostProvider. This is meant for testing."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-google-api-key-configuration-check-override","variable":"kGoogleApiKeyConfigurationCheckOverride","line":140,"comment":"Enables overriding Google API key configuration check for permissions."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-language-override","variable":"kOptimizationGuideLanguageOverride","line":136,"comment":"Allows sending an language code to the backend."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-model-execution-enable-remote-debug-logging","variable":"kModelExecutionEnableRemoteDebugLogging","line":118,"comment":"Adds header to indicate to return debug logging data from the model execution service via response header."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-model-execution-validate","variable":"kModelExecutionValidate","line":113,"comment":"Triggers validation of the server-side AI model execution. Used for integration testing."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-model-override","variable":"kModelOverride","line":89,"comment":"Disables the fetching of models and overrides the file path and metadata to be used for the session to use what's passed via command-line instead of what is already stored. We expect that the string be a comma-separated string of model overrides with each model override be: OPTIMIZATION_TARGET_STRING:file_path or OPTIMIZATION_TARGET_STRING:file_path:base64_encoded_any_proto_model_metadata. It is possible this only works on Desktop since file paths are less easily accessible on Android, but may work."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-model-validate","variable":"kModelValidate","line":109,"comment":"Triggers validation of the model. Used for manual testing."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-ondevice-model-adaptations-override","variable":"kOnDeviceModelAdaptationsOverride","line":97,"comment":"Overrides the on-device model adaptation file paths for on-device model execution."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-ondevice-model-execution-override","variable":"kOnDeviceModelExecutionOverride","line":92,"comment":"Overrides the on-device model file paths for on-device model execution."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-service-api-key","variable":"kOptimizationGuideServiceAPIKey","line":57,"comment":"Overrides the Optimization Guide Service API Key for remote requests to be made."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-service-get-hints-url","variable":"kOptimizationGuideServiceGetHintsURL","line":40,"comment":"Overrides the Optimization Guide Service URL that the HintsFetcher will request remote hints from."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-service-get-models-url","variable":"kOptimizationGuideServiceGetModelsURL","line":45,"comment":"Overrides the Optimization Guide Service URL that the PredictionModelFetcher will request remote models and host features from."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--optimization-guide-service-model-execution-url","variable":"kOptimizationGuideServiceModelExecutionURL","line":49,"comment":"Overrides the Optimization Guide model execution URL."},{"type":"switch","file":"media/base/media_switches.cc","name":"--override-enabled-cdm-interface-version","variable":"kOverrideEnabledCdmInterfaceVersion","line":195,"comment":"Overrides the default enabled library CDM interface version(s) with the one specified with this switch, which will be the only version enabled. For example, on a build where CDM 8, CDM 9 and CDM 10 are all supported (implemented), but only CDM 8 and CDM 9 are enabled by default: --override-enabled-cdm-interface-version=8 : Only CDM 8 is enabled --override-enabled-cdm-interface-version=9 : Only CDM 9 is enabled --override-enabled-cdm-interface-version=10 : Only CDM 10 is enabled --override-enabled-cdm-interface-version=11 : No CDM interface is enabled This can be used for local testing and debugging. It can also be used to enable an experimental CDM interface (which is always disabled by default) for testing while it's still in development."},{"type":"switch","file":"media/base/media_switches.cc","name":"--override-hardware-secure-codecs-for-testing","variable":"kOverrideHardwareSecureCodecsForTesting","line":211,"comment":"Overrides hardware secure codecs support for testing. If specified, real platform hardware secure codecs check will be skipped. Valid codecs are: - video: \"vp8\", \"vp9\", \"avc1\", \"hevc\", \"dolbyvision\", \"av01\" - video that does not support clear lead: `<video>-no-clearlead`, where <video> is from the list above. - audio: \"mp4a\", \"vorbis\" Codecs are separated by comma. For example: --override-hardware-secure-codecs-for-testing=vp8,vp9-no-clearlead,vorbis --override-hardware-secure-codecs-for-testing=avc1,mp4a CENC encryption scheme is assumed to be supported for the specified codecs. If no valid codecs specified, no hardware secure codecs are supported. This can be used to disable hardware secure codecs support: --override-hardware-secure-codecs-for-testing"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--override-language-detection","variable":"kOverrideLanguageDetection","line":537,"comment":"Overrides the language detection result determined based on the page contents."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--override-metrics-upload-url","variable":"kOverrideMetricsUploadUrl","line":45,"comment":"Metrics switches"},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--override-use-software-gl-for-tests","variable":"kOverrideUseSoftwareGLForTests","line":141,"comment":"Forces the use of software GL instead of hardware gpu for tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--overscan-insets-override","variable":"kOverscanInsetsOverride","line":867,"comment":"If set, the overrrides the overscan settings on all displays."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--overview-button-for-tests","variable":"kOverviewButtonForTests","line":864,"comment":"If set, the overview button will be visible."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--ozone-dump-file","variable":"kOzoneDumpFile","line":13,"comment":"Specify location for image dumps."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--ozone-override-screen-size","variable":"kOzoneOverrideScreenSize","line":34,"comment":"Specifies ozone screen size."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--ozone-platform","variable":"kOzonePlatform","line":10,"comment":"Specify ozone platform implementation to use."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--pack-extension","variable":"kPackExtension","line":505,"comment":"Packages an extension to a .crx installable file from a given directory."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--pack-extension-key","variable":"kPackExtensionKey","line":508,"comment":"Optional PEM private key to use in signing packaged .crx."},{"type":"switch","file":"base/base_switches.h","name":"--package-name","variable":"kPackageName","line":197,"buildflags":["BUILDFLAG(IS_ANDROID)"]},{"type":"switch","file":"base/base_switches.h","name":"--package-version-name","variable":"kPackageVersionName","line":198,"buildflags":["BUILDFLAG(IS_ANDROID)"]},{"type":"switch","file":"components/page_content_annotations/core/page_content_annotations_switches.cc","name":"--page-content-annotations-skip-fcp-wait-for-testing","variable":"kPageContentAnnotationsSkipFCPWaitForTesting","line":32,"comment":"If enabled, page content annotations requests will not wait for FCP."},{"type":"switch","file":"components/page_content_annotations/core/page_content_annotations_switches.cc","name":"--page-content-annotations-validation-content-visibility","variable":"kPageContentAnnotationsValidationContentVisibility","line":24,"comment":"Enables the specific annotation type to run validation at startup after a delay. A comma separated list of inputs can be given as a value which will be used as input for the validation job."},{"type":"switch","file":"components/page_content_annotations/core/page_content_annotations_switches.cc","name":"--page-content-annotations-validation-write-to-file","variable":"kPageContentAnnotationsValidationWriteToFile","line":28,"comment":"Writes the output of page content annotation validations to the given file."},{"type":"switch","file":"base/base_switches.h","name":"--partition-alloc-scheduler-loop-quarantine","variable":"kPartitionAllocSchedulerLoopQuarantine","line":81,"comment":"Specifies the JSON configuration for PartitionAlloc's scheduler loop quarantine."},{"type":"switch","file":"components/password_manager/core/common/password_manager_features.cc","name":"--PasswordGenerationRequirements","variable":"kGenerationRequirementsFieldTrial","line":57,"comment":"Field trial and corresponding parameters. To manually override this, start Chrome with the following parameters: --enable-features=PasswordGenerationRequirements,\\ PasswordGenerationRequirementsDomainOverrides --force-fieldtrials=PasswordGenerationRequirements/Enabled --force-fieldtrial-params=PasswordGenerationRequirements.Enabled:\\ version/0/prefix_length/0/timeout/5000"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--pdf-renderer","variable":"kPdfRenderer","line":540,"comment":"Renderer process that runs the non-PPAPI PDF plugin."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--pen-devices","variable":"kPenDevices","line":33,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)"],"comment":"Tells chrome to interpret events from these devices as pen events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'."},{"type":"switch","file":"chrome/test/base/test_switches.cc","name":"--perf-test-print-uma-means","variable":"kPerfTestPrintUmaMeans","line":19,"comment":"Show the mean value of histograms that native performance tests are monitoring. Note that this is only applicable for PerformanceTest subclasses."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--perfetto-disable-interning","variable":"kPerfettoDisableInterning","line":121,"comment":"Repeat internable data for each TraceEvent in the perfetto proto format."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--policy","variable":"kChromePolicy","line":21,"comment":"Set policy value by command line."},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--policy-verification-key","variable":"kPolicyVerificationKey","line":29,"comment":"Replace the original verification_key with the one provided by the command line flag. Can be used only for unit tests or browser tests."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--post-chromium-startup-in-webview-constructor","variable":"kPostChromiumStartupInWebViewConstructor","line":91,"comment":"Post Chromium startup in the WebView constructor. Only has any effect when kStartupNonBlockingWebViewConstructor is enabled."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--pre-crashpad-crash-test","variable":"kPreCrashpadCrashTest","line":512,"comment":"Causes the browser process to crash very early in startup, just before crashpad (or breakpad) is initialized."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--prediction-service-mock-likelihood","variable":"kPredictionServiceMockLikelihood","line":516,"comment":"Used to mock the response received from the Web Permission Prediction Service. Used for testing."},{"type":"switch","file":"components/password_manager/core/common/password_manager_features.cc","name":"--prefix_length","variable":"kGenerationRequirementsPrefixLength","line":68,"comment":"Length of a hash prefix of domain names. This is used to shard domains across multiple files. Default to 0 in order to put all domain names into the same shard."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--preinstalled-web-apps-dir","variable":"kPreinstalledWebAppsDir","line":522,"comment":"A directory where Chrome looks for json files describing default/preinstalled web apps. This overrides any default directory to load preinstalled web apps from."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--prevent-kiosk-autolaunch-for-testing","variable":"kPreventKioskAutolaunchForTesting","line":1068,"comment":"Prevent kiosk autolaunch for testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--prevent-resizing-contents-for-testing","variable":"kPreventResizingContentsForTesting","line":942,"buildflags":["BUILDFLAG(IS_IOS)"],"comment":"For mobile devices, tests should include a viewport meta tag to specify page dimension adjustments. Omitting the tag can lead to automatic resizing to the standard mobile fallback size (980), which results in content shrinking as it first expands to 980, then scales down to 800 to fit the screen, as observed in the issue at https://crrev.com/c/4615623. This flag is intended for use in tests that do not include a viewport meta tag. When enabled, it ensures the viewport size matches the standard mobile fallback size, thereby helping to prevent content resizing in such tests."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--previous-app","variable":"kPreviousApp","line":56,"comment":"previous-app should be the app that was running when last-launched-app started."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--print-to-pdf","variable":"kPrintToPDF","line":19,"comment":"Save a PDF file of the loaded page."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--printing-ppd-channel","variable":"kPrintingPpdChannel","line":881,"comment":"Sets the channel from which the PPD files are loaded."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--privacy-policy-host-for-tests","variable":"kPrivacyPolicyHostForTests","line":888,"comment":"Sets Privacy Policy hostname url for testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--private-aggregation-developer-mode","variable":"kPrivateAggregationDeveloperMode","line":543,"comment":"Causes the Private Aggregation API to run without reporting delays."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--privet-ipv6-only","variable":"kPrivetIPv6Only","line":525,"comment":"Use IPv6 only for privet HTTP."},{"type":"switch","file":"components/signin/public/base/signin_switches.cc","name":"--probability","variable":"kHatsSurveyProbabilityName","line":38,"buildflags":["BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \\"],"comment":"Feature param to pass probability for identity surveys."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--process-per-site","variable":"kProcessPerSite","line":555,"comment":"Enable the \"Process Per Site\" process model for all domains. This mode consolidates same-site pages so that they share a single process. More details here: - https://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: This isn't to be confused with --site-per-process (which is about isolation, not consolidation). You probably want the other one."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--process-per-tab","variable":"kProcessPerTab","line":564,"comment":"Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own renderer process. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other).","todos":["TODO(creis): This flag is currently a no-op. We should refactor it to avoid \"unnecessary\" process swaps for cross-site navigations but still swap when needed for security (e.g., isolated origins)."]},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--product-name","variable":"kCrashReportProductName","line":30,"comment":"Switch to specify product name used when crash_uploader uploads crash report. Default to \"Eureka\" if not specified."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--product-version","variable":"kProductVersion","line":529,"comment":"Outputs the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--profile-base-name","variable":"kProfileBaseName","line":999,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)"],"comment":"Pass the basename of the profile directory to specify which profile to get information. Only relevant when used with --list-apps switch."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--profile-directory","variable":"kProfileDirectory","line":532,"comment":"Selects directory of profile to associate with the first browser launched."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--profile-email","variable":"kProfileEmail","line":543,"comment":"Like kProfileDirectory, but selects the profile by email address. If the email is not found in any existing profile, this switch has no effect. If both kProfileDirectory and kProfileEmail are specified, kProfileDirectory takes priority."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--profile-management-attributes","variable":"kProfileManagementAttributes","line":1003,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)"],"comment":"Domains and associated SAML attributes for which third-party profile management should be enabled. Input should be in JSON format."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--profile-requires-policy","variable":"kProfileRequiresPolicy","line":892,"comment":"If set to \"true\", the profile requires policy during restart (policy load must succeed, otherwise session restart should fail)."},{"type":"switch","file":"base/base_switches.h","name":"--profiling-at-start","variable":"kProfilingAtStart","line":87,"comment":"Starts the sampling based profiler for the browser process at startup. This will only work if chrome has been built with the gn arg enable_profiling = true. The output will go to the value of kProfilingFile."},{"type":"switch","file":"base/base_switches.h","name":"--profiling-file","variable":"kProfilingFile","line":97,"comment":"Specifies a location for profiling output. This will only work if chrome has been built with the gyp variable profiling=1 or gn arg enable_profiling=true. {pid} if present will be replaced by the pid of the process. {count} if present will be incremented each time a profile is generated for this process. The default is chrome-profile-{pid} for the browser and test-profile-{pid} for tests."},{"type":"switch","file":"base/base_switches.h","name":"--profiling-flush","variable":"kProfilingFlush","line":103,"comment":"Controls whether profile data is periodically flushed to a file. Normally the data gets written on exit but cases exist where chromium doesn't exit cleanly (especially when using single-process). A time in seconds can be specified."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--protected-audiences-consented-debug-token","variable":"kProtectedAudiencesConsentedDebugToken","line":573,"comment":"Causes Protected Audiences Bidding and Auction API to supply the provided debugging key to the trusted auction server. This tells the server that it okay to log information about this user's auction to help with debugging."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--proxy-auto-detect","variable":"kProxyAutoDetect","line":552,"comment":"Forces proxy auto-detection."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--proxy-bypass-list","variable":"kProxyBypassList","line":559,"comment":"Specifies a list of hosts for whom we bypass proxy settings and use direct connections. Ignored if --proxy-auto-detect or --no-proxy-server are also specified. This is a comma-separated list of bypass rules. See: \"net/proxy_resolution/proxy_host_matching_rules.h\" for the format of these rules."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--proxy-pac-url","variable":"kProxyPacUrl","line":562,"comment":"Uses the pac script at the given URL"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--proxy-server","variable":"kProxyServer","line":565,"comment":"Uses a specified proxy server, overrides system settings."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--pseudonymization-salt-handle","variable":"kPseudonymizationSaltHandle","line":578,"comment":"Handle to shared memory containing the pseudonymization salt, passed to child processes at launch. See https://crbug.com/40850085."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--public-accounts-saml-acl-url","variable":"kPublicAccountsSamlAclUrl","line":897,"comment":"SAML assertion consumer URL, used to detect when Gaia-less SAML flows end (e.g. for SAML managed guest sessions)","todos":["TODO(crbug.com/40636049): Remove when URL is sent by DMServer."]},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--pull-to-refresh","variable":"kPullToRefresh","line":585,"comment":"Enables or disables pull-to-refresh gesture in response to vertical overscroll. Set the value to '0' to disable the feature, set to '1' to enable it for both touchpad and touchscreen, and set to '2' to enable it only for touchscreen. Defaults to disabled."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--purge-model-and-features-store","variable":"kPurgeModelAndFeaturesStore","line":66,"comment":"Purges the store containing prediction medels and host model features on startup, so that it's guaranteed to be using fresh data."},{"type":"switch","file":"components/optimization_guide/core/optimization_guide_switches.cc","name":"--purge-optimization-guide-store","variable":"kPurgeHintsStore","line":62,"comment":"Purges the store containing fetched and component hints on startup, so that it's guaranteed to be using fresh data."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--pwa-launcher-version","variable":"kPwaLauncherVersion","line":928,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Specifies the version of the Progressive-Web-App launcher that launched Chrome, used to determine whether to update all launchers. NOTE: changing this switch requires adding legacy handling for the previous method, as older PWA launchers still using this switch will rely on Chrome to update them to use the new method."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--qs-add-fake-bluetooth-devices","variable":"kQsAddFakeBluetoothDevices","line":900,"comment":"Adds fake Bluetooth devices to the quick settings menu for UI testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--qs-add-fake-cast-devices","variable":"kQsAddFakeCastDevices","line":903,"comment":"Adds fake Cast devices to the quick settings menu for UI testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--qs-show-locale-tile","variable":"kQsShowLocaleTile","line":907,"comment":"Forces the quick settings \"locale\" FeatureTile to show. Normally it only shows in demo mode, which does not work in the emulator."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--qt-version","variable":"kQtVersionFlag","line":52,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"Specify the QT version to be loaded."},{"type":"switch","file":"components/search_engines/search_engines_switches.cc","name":"--quicken-site-search-expiry-for-testing","variable":"kQuickenSiteSearchExpiryForTesting","line":29},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--raise-timer-frequency","variable":"kRaiseTimerFrequency","line":968,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Raise the timer interrupt frequency in all Chrome processes, for experimental purposes. This feature is needed because as of Windows 10 2004 the scheduling effects of changing the timer interrupt frequency are not global, and this lets us prove/disprove whether this matters. See https://crbug.com/1128917"},{"type":"switch","file":"components/dom_distiller/core/dom_distiller_switches.cc","name":"--reader-mode-feedback","variable":"kReaderModeFeedback","line":12},{"type":"switch","file":"components/dom_distiller/core/dom_distiller_switches.cc","name":"--reader-mode-heuristics","variable":"kReaderModeHeuristics","line":11},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--realtime-reporting-url","variable":"kRealtimeReportingUrl","line":15,"comment":"Specifies the URL at which to upload real-time reports."},{"type":"switch","file":"base/test/test_switches.cc","name":"--rebaseline-pixel-tests","variable":"kRebaselinePixelTests","line":17,"comment":"Makes pixel tests overwrite their reference if the output and reference don't match."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--reduce-accept-language","variable":"kReduceAcceptLanguage","line":589,"comment":"Reduce the accept-language for HTTP header and JS navigator.languages, and only most preferred language: https://github.com/Tanych/accept-language."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--reduce-accept-language-http","variable":"kReduceAcceptLanguageHTTP","line":593,"comment":"Reduce the accept-language for HTTP header, and only send most preferred language in the request header: https://github.com/Tanych/accept-language."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--reduce-user-agent-minor-version","variable":"kReduceUserAgentMinorVersion","line":598,"comment":"Reduce the minor version number in the User-Agent string. This flag implements phase 4 of User-Agent reduction: https://blog.chromium.org/2021/09/user-agent-reduction-origin-trial-and-dates.html."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--refresh-platform-policy","variable":"kRefreshPlatformPolicy","line":403,"comment":"Forces immediate platform policy refresh (not cloud policy) when Chrome is already running. The switch prevents a new browser window from opening and only triggers the policy refresh. Useful for testing and automation to avoid waiting for the next scheduled refresh interval. No-op if Chrome is not already running."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--register-max-dark-suspend-delay","variable":"kRegisterMaxDarkSuspendDelay","line":64,"comment":"Makes Chrome register the maximum dark suspend delay possible on Chrome OS i.e. give the device the maximum amount of time to do its work in dark resume as is allowed by the power manager."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--regulatory-label-dir","variable":"kRegulatoryLabelDir","line":913,"comment":"The name of the per-model directory which contains per-region subdirectories with regulatory label files for this model. The per-model directories (if there are any) are located under \"/usr/share/chromeos-assets/regulatory_labels/\"."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--relauncher","variable":"kRelauncherProcess","line":834,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--remote-allow-origins","variable":"kRemoteAllowOrigins","line":611,"comment":"Enables web socket connections from the specified origins only. '*' allows any origin."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--remote-debugging-address","variable":"kRemoteDebuggingAddress","line":51,"comment":"Use the given address instead of the default loopback for accepting remote debugging connections. Note that the remote debugging protocol does not perform any authentication, so exposing it too widely can be a security risk."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--remote-debugging-io-pipes","variable":"kRemoteDebuggingIoPipes","line":980,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Specifies pipe names for the incoming and outbound messages on the Windows platform. This is a comma separated list of two pipe handles serialized as unsigned integers, e.g. \"--remote-debugging-io-pipes=3,4\"."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--remote-debugging-pipe","variable":"kRemoteDebuggingPipe","line":604,"comment":"Enables remote debug over stdio pipes [in=3, out=4] or over the remote pipes specified in the 'remote-debugging-io-pipes' switch. Optionally, specifies the format for the protocol messages, can be either \"JSON\" (the default) or \"CBOR\"."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--remote-debugging-port","variable":"kRemoteDebuggingPort","line":607,"comment":"Enables remote debug over HTTP on the specified port."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--remote-debugging-socket-name","variable":"kRemoteDebuggingSocketName","line":912,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Enables remote debug over HTTP on the specified socket name."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--remote-debugging-targets","variable":"kRemoteDebuggingTargets","line":569,"comment":"Provides a list of addresses to discover DevTools remote debugging targets. The format is <host>:<port>,...,<host>:port."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--remote-reboot-command-timeout-in-seconds-for-testing","variable":"kRemoteRebootCommandDelayInSecondsForTesting","line":916,"comment":"Testing delay for reboot command. Useful for tast tests."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--render-node-override","variable":"kRenderNodeOverride","line":38,"comment":"Allows explicitly picking a DRM render node to create gbm_device for rendering."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer","variable":"kRendererProcess","line":620,"comment":"Causes the process to run as renderer instead of as browser."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer-client-id","variable":"kRendererClientId","line":613},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer-cmd-prefix","variable":"kRendererCmdPrefix","line":617,"comment":"The contents of this flag are prepended to the renderer command line. Useful values might be \"valgrind\" or \"xterm -e gdb --args\"."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer-process-limit","variable":"kRendererProcessLimit","line":633,"comment":"Overrides the default/calculated limit to the number of renderer processes. Very high values for this setting can lead to high memory/resource usage or instability."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer-startup-dialog","variable":"kRendererStartupDialog","line":638,"comment":"Causes the renderer process to display a dialog on launch. Passing this flag also adds sandbox::policy::kNoSandbox on Windows non-official builds, since that's needed to show a dialog."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--renderer-wait-for-java-debugger","variable":"kRendererWaitForJavaDebugger","line":916,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Block ChildProcessMain thread of the renderer's ChildProcessService until a Java debugger is attached."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--repair-all-valid-extensions","variable":"kRepairAllValidExtensions","line":573,"comment":"Indicates that all corrupted extensions should be repaired if they are are enabled by policy. This is mainly used after a user data downgrade."},{"type":"switch","file":"media/base/media_switches.cc","name":"--report-vp9-as-an-unsupported-mime-type","variable":"kReportVp9AsAnUnsupportedMimeType","line":215,"comment":"Force to report VP9 as an unsupported MIME type."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--request-desktop-sites","variable":"kRequestDesktopSites","line":776,"buildflags":["BUILDFLAG(IS_ANDROID)"],"comment":"Force enable user agent overrides to request desktop sites in Clank."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--require-wlan","variable":"kRequireWlan","line":48,"comment":"Network switches"},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--reset-browsing-instance-between-tests","variable":"kResetBrowsingInstanceBetweenTests","line":53,"comment":"Forces each web test to be run in a new BrowsingInstance. Required for origin isolation web tests where the BrowsingInstance retains state from origin isolation requests, but this flag may benefit other web tests."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--reset-variation-state","variable":"kResetVariationState","line":58,"comment":"Forces a reset of the one-time-randomized FieldTrials on this client, also known as the Chrome Variations state."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--restart","variable":"kRestart","line":577,"comment":"Indicates that Chrome was restarted (e.g., after a flag change). This is used to ignore the launch when recording the Launch.Mode2 metric."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--restore-last-session","variable":"kRestoreLastSession","line":584,"comment":"Indicates the last session should be restored on startup. This overrides the preferences value. Note that this does not force automatic session restore following a crash, so as to prevent a crash loop. This switch is used to implement support for OS-specific \"continue where you left off\" functionality on OS X and Windows."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--reven-branding","variable":"kRevenBranding","line":920,"comment":"Indicates that reven UI strings and features should be shown."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--rlz-ping-delay","variable":"kRlzPingDelay","line":923,"comment":"The rlz ping delay (in seconds) that overwrites the default value."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--rma-not-allowed","variable":"kRmaNotAllowed","line":926,"comment":"Start Chrome without opening RMA or checking the current RMA state."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--run-manual","variable":"kRunManualTestsFlag","line":644,"comment":"Manual tests only run when --run-manual is specified. This allows writing tests that don't run automatically but are still in the same test binary. This is useful so that a team that wants to run a few tests doesn't have to add a new binary that must be compiled on all builds."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--run-web-tests","variable":"kRunWebTests","line":55,"comment":"Runs Content Shell in web test mode, injecting test-only behaviour for blink web tests."},{"type":"switch","file":"chromecast/cast_core/cast_core_switches.h","name":"--runtime-auth-token","variable":"kRuntimeAuthToken","line":25,"comment":"Authentication token securely sent to the runtime."},{"type":"switch","file":"chromecast/cast_core/cast_core_switches.h","name":"--runtime-service-path","variable":"kRuntimeServicePath","line":15,"comment":"Specifies the Cast Core runtime gRPC endpoint, --runtime-service-path=<endpoint>."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--safe-browsing-skip-csd-allowlist","variable":"kSkipCSDAllowlistOnPreclassification","line":57,"comment":"If present, indicates that the client-side detection allowlist check should be skipped (it is treated as no match)."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--safe-browsing-skip-high-confidence-allowlist","variable":"kSkipHighConfidenceAllowlist","line":42,"comment":"If the switch is present, any high-confidence allowlist check will return that it does not match the allowlist."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--safe-mode","variable":"kSafeMode","line":931,"comment":"The switch added by session_manager daemon when chrome crashes 3 times or more within the first 60 seconds on start. See BrowserJob::ExportArgv in platform2/login_manager/browser_job.cc."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--safebrowsing-enable-enhanced-protection","variable":"kSbEnableEnhancedProtection","line":95,"comment":"Enable Safe Browsing Enhanced Protection."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--safebrowsing-manual-download-blacklist","variable":"kSbManualDownloadBlocklist","line":92,"comment":"List of comma-separated sha256 hashes of executable files which the download-protection service should treat as \"dangerous.\" For a file to show a warning, it also must be considered a dangerous filetype and not be allowlisted otherwise (by signature or URL) and must be on a supported OS. Hashes are in hex. This is used for manual testing when looking for ways to by-pass download protection."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--same-tab","variable":"kSameTab","line":589,"comment":"Indicates that the URL in the command line should open in the active tab instead of a new tab. In case of multiple URLS given as arguments, the first one will replace the active tab."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--saml-password-change-url","variable":"kSamlPasswordChangeUrl","line":935,"comment":"Password change url for SAML users.","todos":["TODO(crbug.com/40618074): Remove when the bug is fixed."]},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--sandbox-ipc","variable":"kSandboxIPCProcess","line":647,"comment":"Causes the process to run as a sandbox IPC subprocess."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--save-page-as-mhtml","variable":"kSavePageAsMHTML","line":806,"buildflags":["!BUILDFLAG(IS_CHROMEOS)"],"comment":"Enables saving webpages as MHTML (Webpage, Single) by default, instead of saving as HTML with a directory of sub-resources. (Webpage, Complete). See http://crbug.com/40179885 for how to remove this switch."},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--scam-detection-keyboard-lock-trigger-android","variable":"kScamDetectionKeyboardLockTriggerAndroid","line":102,"comment":"Enable the keyboard lock trigger of Scam Detection via command line for easier testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--scheduled-reboot-grace-period-in-seconds-for-testing","variable":"kScheduledRebootGracePeriodInSecondsForTesting","line":943,"comment":"Testing grace period for DeviceScheduledReboot policy. Useful for tast tests. See `ShouldSkipRebootDueToGracePeriod` in scheduled_task_util.h."},{"type":"switch","file":"base/base_switches.h","name":"--scheduler-boost-urgent","variable":"kSchedulerBoostUrgent","line":207,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Override the default scheduling boosting value for urgent tasks. This can be adjusted if a specific chromeos device shows better perf/power ratio (e.g. by running video conference tests). Currently, this values directs to linux scheduler's utilization min clamp. Range is 0(no biased load) ~ 100(mamximum load value)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--scheduler-configuration","variable":"kSchedulerConfiguration","line":947,"comment":"Selects the scheduler configuration specified in the parameter."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--scheduler-configuration-default","variable":"kSchedulerConfigurationDefault","line":953,"comment":"Specifies what the default scheduler configuration value is if the user does not set one."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--screen-config","variable":"kScreenConfig","line":54,"comment":"Specifies the initial screen configuration, or state of all displays, for FakeDisplayDelegate, see class for format details."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--screenshot","variable":"kScreenshot","line":31,"comment":"Save a screenshot of the loaded page."},{"type":"switch","file":"components/regional_capabilities/regional_capabilities_switches.h","name":"--search-engine-choice-country","variable":"kSearchEngineChoiceCountry","line":24,"comment":"Overrides the profile country (which is among other things used for search engine choice region checks for example). Intended for testing. Parameter can be one of 3 things: - 2-letter country codes => Will override the profile country - A program name => Will override the country and the program - A specific list override => Will override the program, but instead of overriding the country, will use special values to force the search engine list to some preset testing ones."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--secondary-display-layout","variable":"kSecondaryDisplayLayout","line":50,"comment":"Specifies the layout mode and offsets for the secondary display for testing. The format is \"<t|r|b|l>,<offset>\" where t=TOP, r=RIGHT, b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display is positioned on the right with -100 offset. (above than primary)"},{"type":"switch","file":"components/policy/core/common/policy_switches.cc","name":"--secure-connect-api-url","variable":"kSecureConnectApiUrl","line":40,"comment":"Specifies the base URL to contact the secure connect Api."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--shared-array-buffer-unrestricted-access-allowed","variable":"kSharedArrayBufferUnrestrictedAccessAllowed","line":652,"buildflags":["!BUILDFLAG(IS_ANDROID)"],"comment":"Enables shared array buffer on desktop, gated by an Enterprise Policy.","todos":["TODO(crbug.com/40155376) Remove when migration to COOP+COEP is complete."]},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--shared-files","variable":"kSharedFiles","line":665,"comment":"Describes the file descriptors passed to a child process in the following list format: <file_id>:<descriptor_id>,<file_id>:<descriptor_id>,... where <file_id> is an ID string from the manifest of the service being launched and <descriptor_id> is the numeric identifier of the descriptor for the child process can use to retrieve the file descriptor from the global descriptor table."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--shelf-hotseat","variable":"kShelfHotseat","line":939,"comment":"New modular design for the shelf with apps separated into a hotseat UI and smaller shelf in clamshell mode."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--shill-stub","variable":"kShillStub","line":45,"comment":"Overrides Shill stub behavior. By default, ethernet, wifi and vpn are enabled, and transitions occur instantaneously. Multiple options can be comma separated (no spaces). Note: all options are in the format 'foo=x'. Values are case sensitive and based on Shill names in service_constants.h. See FakeShillManagerClient::SetInitialNetworkState for implementation. Examples: 'clear=1' - Clears all default configurations 'wifi=on' - A wifi network is initially connected ('1' also works) 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) 'wifi=disabled' - Wifi is initially disabled 'wifi=none' - Wifi is unavailable 'wifi=portal' - Wifi connection will be in Portal state 'cellular=1' - Cellular is initially connected 'cellular=LTE' - Cellular is initially connected, technology is LTE 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--short-merge-session-timeout-for-test","variable":"kShortMergeSessionTimeoutForTest","line":800,"buildflags":["BUILDFLAG(IS_CHROMEOS)"],"comment":"Use a short (1 second) timeout for merge session loader throttle testing."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--show-autofill-signatures","variable":"kShowAutofillSignatures","line":33,"comment":"Annotates forms and fields with Autofill signatures."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--show-autofill-type-predictions","variable":"kShowAutofillTypePredictions","line":30,"comment":"Annotates forms with Autofill field type predictions."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--show-icons","variable":"kShowIcons","line":897,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"See kHideIcons."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--show-login-dev-overlay","variable":"kShowLoginDevOverlay","line":957,"comment":"If true, the developer tool overlay will be shown for the login/lock screen. This makes it easier to test layout logic."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--show-mac-overlay-borders","variable":"kShowMacOverlayBorders","line":37,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Show borders around CALayers corresponding to overlays and partial damage."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--show-oobe-dev-overlay","variable":"kShowOobeDevOverlay","line":961,"comment":"Enables OOBE UI Debugger for ease of navigation between screens during manual testing. Limited to ChromeOS-on-linux and test images only."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--show-oobe-quick-start-debugger","variable":"kShowOobeQuickStartDebugger","line":964,"comment":"Enables the QuickStart debugger in OOBE which mimics an Android phone."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--show-overdraw-feedback","variable":"kShowOverdrawFeedback","line":87,"comment":"Visualize overdraw by color-coding elements based on if they have other elements drawn underneath. This is good for showing where the UI might be doing more rendering work than necessary. The colors are hinting at the amount of overdraw on your screen for each pixel, as follows: True color: No overdraw. Blue: Overdrawn once. Green: Overdrawn twice. Pink: Overdrawn three times. Red: Overdrawn four or more times."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--show-taps","variable":"kShowTaps","line":968,"comment":"Draws a circle at each touch point, similar to the Android OS developer option \"Show taps\"."},{"type":"switch","file":"chrome/browser/new_tab_page/modules/modules_switches.cc","name":"--signed-out-ntp-modules","variable":"kSignedOutNtpModulesSwitch","line":9,"comment":"Enables NTP modules on the signed out user experience. Used for perf tests, which do not support sign-in."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--silent-debugger-extension-api","variable":"kSilentDebuggerExtensionAPI","line":593,"comment":"Does not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--silent-launch","variable":"kSilentLaunch","line":597,"comment":"Causes Chrome to launch without opening any windows by default. Useful if one wishes to use Chrome as an ash server."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-browsing-data-lifetime","variable":"kSimulateBrowsingDataLifetime","line":601,"comment":"Sets the BrowsingDataLifetime policy to a very short value (shorter than normally possible) for testing purposes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-critical-update","variable":"kSimulateCriticalUpdate","line":604,"comment":"Simulates a critical update being available."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-idle-timeout","variable":"kSimulateIdleTimeout","line":617,"comment":"Sets the IdleTimeout policy to a very short value (shorter than normally possible) for testing purposes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-lock-screen-smart-restart","variable":"kSimulateLockScreenSmartRestart","line":378,"buildflags":["!BUILDFLAG(IS_ANDROID)"],"comment":"Causes the browser to simulate a screen lock event shortly after startup. Optional value specifies the delay in seconds (defaults to 5). Used for manual testing of Smart Restart."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-outdated","variable":"kSimulateOutdated","line":607,"comment":"Simulates that current version is outdated."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-outdated-no-au","variable":"kSimulateOutdatedNoAU","line":610,"comment":"Simulates that current version is outdated and auto-update is off."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--simulate-upgrade","variable":"kSimulateUpgrade","line":613,"comment":"Simulates an update being available."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--single-process","variable":"kSingleProcess","line":668,"comment":"Runs the renderer and plugins in the same process as the browser"},{"type":"switch","file":"base/test/test_switches.cc","name":"--single-process-tests","variable":"kSingleProcessTests","line":21,"comment":"Flag to run all tests and the launcher in a single process. Useful for debugging a specific test in a debugger."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--site-per-process","variable":"kSitePerProcess","line":685,"comment":"Enforces a one-site-per-process security policy: * Each renderer process, for its whole lifetime, is dedicated to rendering pages for just one site. * Thus, pages from different sites are never in the same process. * A renderer process's access rights are restricted based on its site. * All cross-site navigations force process swaps. * <iframe>s are rendered out-of-process whenever the src= is cross-site. More details here: - https://www.chromium.org/developers/design-documents/site-isolation - https://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: this isn't to be confused with --process-per-site (which is about process consolidation, not isolation). You probably want this one."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--skia-font-cache-limit-mb","variable":"kSkiaFontCacheLimitMb","line":713,"comment":"Specifies the max number of bytes that should be used by the skia font cache. If the cache needs to allocate more, skia will purge previous entries."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--skia-graphite-dawn-backend","variable":"kSkiaGraphiteDawnBackend","line":145,"comment":"Specify which Dawn backend to use for Skia Graphite."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--skia-resource-cache-limit-mb","variable":"kSkiaResourceCacheLimitMb","line":718,"comment":"Specifies the max number of bytes that should be used by the skia resource cache. The previous entries are purged from the cache when the memory useage exceeds this limit."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--skip-force-online-signin-for-testing","variable":"kSkipForceOnlineSignInForTesting","line":971,"comment":"Disables online sign-in enforcement in tast tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--skip-multidevice-screen","variable":"kSkipMultideviceScreenForTesting","line":975,"comment":"Skip multidevice setup screen during tast tests."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--skip-reorder-nudge-show-threshold-duration","variable":"kSkipReorderNudgeShowThresholdDurationForTest","line":979,"comment":"Used to skip the threshold duration that the reorder nudge has to show before the nudge is considered as shown."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--slow-down-compositing-scale-factor","variable":"kSlowDownCompositingScaleFactor","line":92,"comment":"Re-draw everything multiple times to simulate a much slower machine. Give a slow down factor to cause renderer to take that many times longer to complete, such as --slow-down-compositing-scale-factor=2."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--sms-test-messages","variable":"kSmsTestMessages","line":54,"comment":"Sends test messages on first call to RequestUpdate (stub only)."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--source-app-id","variable":"kSourceAppId","line":902,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"When rendezvousing with an existing process, used to indicate that the StartupInfoW of the new Chrome process had dwFlags == STARTF_TITLEISAPPID. This is used to record launch metrics."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--source-shortcut","variable":"kSourceShortcut","line":907,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"When rendezvousing with an existing process, used to pass the path of the shortcut that launched the new Chrome process. This is used to record launch metrics."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--ssl-key-log-file","variable":"kSSLKeyLogFile","line":66,"comment":"Causes SSL key material to be logged to the specified file for debugging purposes. See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format for the format."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--ssl-version-max","variable":"kSSLVersionMax","line":620,"comment":"Specifies the maximum SSL/TLS version (\"tls1.2\" or \"tls1.3\")."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--ssl-version-min","variable":"kSSLVersionMin","line":623,"comment":"Specifies the minimum SSL/TLS version (\"tls1.2\" or \"tls1.3\")."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--stabilize-time-dependent-view-for-tests","variable":"kStabilizeTimeDependentViewForTests","line":743,"comment":"If true, the time dependent views (such as the time view) show with the predefined fixed time."},{"type":"switch","file":"content/web_test/common/web_test_switches.h","name":"--stable-release-mode","variable":"kStableReleaseMode","line":60,"comment":"This makes us disable some web-platform runtime features so that we test content_shell as if it was a stable release. It is only followed when kRunWebTest is set. For the features' level, see third_party/blink/renderer/platform/RuntimeEnabledFeatures.md"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--start-fullscreen","variable":"kStartFullscreen","line":702,"comment":"Specifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--start-maximized","variable":"kStartMaximized","line":632,"comment":"Starts the browser maximized, regardless of any previous settings."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--start-stack-profiler","variable":"kStartStackProfiler","line":635,"comment":"Starts the stack sampling profiler in the child process."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--startup-foreground-launch","variable":"kStartupForegroundLaunch","line":911,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Identifies Chrome instances that start in foreground mode at startup to record related metrics."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--startup-non-blocking-webview-constructor","variable":"kStartupNonBlockingWebViewConstructor","line":86,"comment":"Enables non-blocking WebView constructor."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--storage-pressure-notification-interval","variable":"kStoragePressureNotificationInterval","line":645,"comment":"Interval, in minutes, used for storage pressure notification throttling. Useful for developers testing applications that might use non-trivial amounts of disk space."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--supports-clamshell-auto-rotation","variable":"kSupportsClamshellAutoRotation","line":984,"comment":"If set, the device will be forced to stay in clamshell UI mode but screen auto rotation will be supported. E.g, chromebase device Dooly."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--suppress-message-center-popups","variable":"kSuppressMessageCenterPopups","line":988,"comment":"Hides all Message Center notification popups (toasts). Used for testing."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--suppress-performance-logs","variable":"kSuppressPerformanceLogs","line":173,"comment":"Suppresses GL_DEBUG_TYPE_PERFORMANCE log messages for web tests that can get sent to the JS console and cause unnecessary test failures due test output log expectation comparisons."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--sys-info-file-path","variable":"kSysInfoFilePath","line":238,"comment":"System info file path. Default is an empty string, which means that dummy info will be used."},{"type":"switch","file":"media/base/media_switches.cc","name":"--system-aec-enabled","variable":"kSystemAecEnabled","line":329,"buildflags":["BUILDFLAG(USE_CRAS)"],"comment":"Enforce system audio echo cancellation."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--system-audio-capture-default_checked","variable":"kSystemAudioCaptureDefaultChecked","line":651,"comment":"This flag sets the checkboxes for sharing system audio during window or screen capture to on by default. It is primarily intended to be used for tests."},{"type":"switch","file":"chromeos/dbus/constants/dbus_switches.cc","name":"--system-developer-mode","variable":"kSystemDevMode","line":59,"comment":"Used by FakeDebugDaemonClient to specify that the system is running in dev mode when running in a Linux environment. The dev mode probing is done by session manager."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--system-font-family","variable":"kSystemFontFamily","line":43,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)"],"comment":"Specifies system font family name. Improves determinism when rendering pages in headless mode."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--system-gesture-start-height","variable":"kSystemGestureStartHeight","line":184,"comment":"The number of pixels from the very top or bottom of the screen to consider as a valid origin for the top or bottom swipe gesture. Overrides the default value in cast_system_gesture_handler.cc."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--system-gesture-start-width","variable":"kSystemGestureStartWidth","line":179,"comment":"The number of pixels from the very left or right of the screen to consider as a valid origin for the left or right swipe gesture. Overrides the default value in cast_system_gesture_handler.cc."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--system-log-upload-frequency","variable":"kSystemLogUploadFrequency","line":1092,"comment":"Frequency in Milliseconds for system log uploads. Should only be used for testing purposes."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--tab-capture-audio-default-unchecked","variable":"kTabCaptureAudioDefaultUnchecked","line":656,"comment":"This flag sets the checkboxes for sharing audio during tab capture to off by default. It is primarily intended to be used for tests."},{"type":"switch","file":"components/regional_capabilities/regional_capabilities_switches.h","name":"--TAIYAKI","variable":"kTaiyakiProgramOverride","line":30,"comment":"Special value for the `kSearchEngineChoiceCountry` command-line flag. Enables the Taiyaki program. On unsupported platform / build types, will fall back to default program / unknown country."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--target-device-scale-for-testing","variable":"kTargetDeviceScaleForTesting","line":721,"comment":"Allows web tests to specify the target device scale for the test cases."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--telemetry-extension-dir","variable":"kTelemetryExtensionDirectory","line":991,"comment":"Specifies directory for the Telemetry System Web Extension."},{"type":"switch","file":"base/base_switches.h","name":"--test-child-process","variable":"kTestChildProcess","line":107,"comment":"When running certain tests that spawn child processes, this switch indicates to the test framework that the current process is a child process."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--test-encryption-migration-ui","variable":"kTestEncryptionMigrationUI","line":1000,"comment":"Enables testing for encryption migration UI."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--test-gl-lib","variable":"kTestGLLib","line":127,"comment":"Flag used for Linux tests: for desktop GL bindings, try to load this GL library first, but fall back to regular library if loading fails."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-batch-limit","variable":"kTestLauncherBatchLimit","line":24,"comment":"Maximum number of tests to run in a single batch."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-bot-mode","variable":"kTestLauncherBotMode","line":28,"comment":"Sets defaults desirable for the continuous integration bots, e.g. parallel test execution and test retries."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-debug-launcher","variable":"kTestLauncherDebugLauncher","line":33,"comment":"Makes it possible to debug the launcher itself. By default the launcher automatically switches to single process mode when it detects presence of debugger."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-filter-file","variable":"kTestLauncherFilterFile","line":38,"comment":"List of paths to files (separated by ';') containing test filters (one pattern per line)."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-force-run-broken-tests","variable":"kTestLauncherForceRunBrokenTests","line":51,"comment":"Force running all requested tests and retries even if too many test errors occur."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-interactive","variable":"kTestLauncherInteractive","line":56,"comment":"Whether the test launcher should launch in \"interactive mode\", which disables timeouts (and may have other effects for specific test types)."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-jobs","variable":"kTestLauncherJobs","line":59,"comment":"Number of parallel test launcher jobs."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-list-tests","variable":"kTestLauncherListTests","line":62,"comment":"Path to list of compiled in tests."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-output","variable":"kTestLauncherOutput","line":65,"comment":"Path to test results file in our custom test launcher format."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-output-bytes-limit","variable":"kTestLauncherOutputBytesLimit","line":69,"comment":"Maximum output bytes allowed from a single test. Exceeding this limit results in truncating the output and failing the test."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-print-temp-leaks","variable":"kTestLauncherPrintTempLeaks","line":74,"comment":"Causes the test launcher to print information about leaked files and/or directories in child process's temporary directories."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-print-test-stdio","variable":"kTestLauncherPrintTestStdio","line":79,"comment":"Flag controlling when test stdio is displayed as part of the launcher's standard output."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-print-timestamps","variable":"kTestLauncherPrintTimestamps","line":90,"comment":"Print timestamps in test launcher. This is helpful for debugging test slowness. Currently it prints out the following log: * The time at the end of each test. * The time while waiting for a test to run. Using this flag helps you answer questions like \"how long did it take to run the first 10000 tests\". Please only keep this flag on builders temporarily because those logs are a bit spammy."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-print-writable-path","variable":"kTestLauncherPrintWritablePath","line":94,"comment":"Print a writable path and exit (for internal use)."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-retries-left","variable":"kTestLauncherRetriesLeft","line":100,"comment":"Indicate how many retries are left. Tests in general should not pass in this flag. This flag is used for launcher to pass retries-left information to the runner process."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-retry-limit","variable":"kTestLauncherRetryLimit","line":105,"comment":"These two flags has the same effect, but don't use them at the same time. And isolated-script-test-launcher-retry-limit is preferred in the future. Maximum number of times to retry a test after failure."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-shard-index","variable":"kTestLauncherShardIndex","line":109,"comment":"Index of the test shard to run, starting from 0 (first shard) to total shards minus one (last shard)."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-summary-output","variable":"kTestLauncherSummaryOutput","line":112,"comment":"Path to test results file with all the info from the test launcher."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-test-part-results-limit","variable":"kTestLauncherTestPartResultsLimit","line":117,"comment":"Limit of test part results in the output. Default limit is 10. Negative value will completely disable limit."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-timeout","variable":"kTestLauncherTimeout","line":124,"comment":"Time (in milliseconds) that the tests should wait before timing out."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-total-shards","variable":"kTestLauncherTotalShards","line":121,"comment":"Total number of shards. Must be the same for all shards."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-launcher-trace","variable":"kTestLauncherTrace","line":127,"comment":"Path where to save a trace of test launcher's execution."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--test-memory-log-delay-in-minutes","variable":"kTestMemoryLogDelayInMinutes","line":668,"comment":"Custom delay for memory log. This should be used only for testing purpose."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--test-name","variable":"kTestName","line":1003,"comment":"Passes the name of the current running automated test to Chrome."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--test-register-standard-scheme","variable":"kTestRegisterStandardScheme","line":58,"comment":"Register the provided scheme as a standard scheme."},{"type":"switch","file":"base/test/test_switches.cc","name":"--test-tiny-timeout","variable":"kTestTinyTimeout","line":130,"todos":["TODO(phajdan.jr): Clean up the switch names."]},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--test-type","variable":"kTestType","line":724,"comment":"Type of the current test harness (\"browser\" or \"ui\" or \"gpu\")."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--test-wallpaper-server","variable":"kTestWallpaperServer","line":1006,"comment":"Enables the wallpaper picker to fetch images from the test server."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--tether-host-scans-ignore-wired-connections","variable":"kTetherHostScansIgnoreWiredConnections","line":1012,"comment":"Tells the Chromebook to scan for a tethering host even if there is already a wired connection. This allows end-to-end tests to be deployed over ethernet without that connection preventing scans and thereby blocking the testing of cases with no preexisting connection. Should be used only for testing."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--tether-stub","variable":"kTetherStub","line":1017,"comment":"Overrides Tether with stub service. Provide integer arguments for the number of fake networks desired, e.g. 'tether-stub=2'."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--time-before-onboarding-survey-in-seconds-for-testing","variable":"kTimeBeforeOnboardingSurveyInSecondsForTesting","line":1021,"comment":"Used for overriding the required user activity time before running the onboarding survey."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--timeout","variable":"kTimeout","line":35,"comment":"Issues a stop after the specified number of milliseconds. This cancels all navigation and causes the DOMContentLoaded event to fire."},{"type":"switch","file":"components/password_manager/core/common/password_manager_features.cc","name":"--timeout","variable":"kGenerationRequirementsTimeout","line":74,"comment":"Timeout (in milliseconds) for password requirements lookups. As this is a network request in the background that does not block the UI, the impact of high values is not strong. Default to 5000 ms."},{"type":"switch","file":"components/omnibox/common/omnibox_features.cc","name":"--timeout","variable":"kDefaultTypedNavigationsToHttpsTimeoutParam","line":256,"comment":"Parameter name used to look up the delay before falling back to the HTTP URL while trying an HTTPS URL. The parameter is treated as a TimeDelta, so the unit must be included in the value as well (e.g. 3s for 3 seconds). - If the HTTPS load finishes successfully during this time, the timer is cleared and no more work is done. - Otherwise, a new navigation to the the fallback HTTP URL is started."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--tint-composited-content","variable":"kTintCompositedContent","line":96,"comment":"Tint composited color."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--tint-dc-layer","variable":"kTintDcLayer","line":179,"comment":"Tint `SwapChainPresenter` with the following colors: - Decode swap chain: blue - VP blit: magenta - VP blit w/ staging texture: orange - MF proxy surface: green This is similar to `HKLM\\Software\\Microsoft\\Windows\\DWM` `OverlayTestMode=1` in DWM, but to help understand `SwapChainPresenter` state."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--tls1.2","variable":"kSSLVersionTLSv12","line":626,"comment":"TLS 1.2 mode for |kSSLVersionMax| and |kSSLVersionMin| switches."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--tls1.3","variable":"kSSLVersionTLSv13","line":629,"comment":"TLS 1.3 mode for |kSSLVersionMax| and |kSSLVersionMin| switches."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--top-chrome-touch-ui","variable":"kTopChromeTouchUi","line":99,"comment":"Controls touch-optimized UI layout for top chrome."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--top-chrome-webui","variable":"kTopChromeWebUI","line":727,"comment":"Indicates that this RenderProcess is hosting a Top Chrome WebUI."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--touch-devices","variable":"kTouchDevices","line":28,"buildflags":["BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)"],"comment":"Tells chrome to interpret events from these devices as touch events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--touch-events","variable":"kTouchEventFeatureDetection","line":730,"comment":"Enable support for touch event feature detection."},{"type":"switch","file":"ui/events/event_switches.cc","name":"--touch-slop-distance","variable":"kTouchSlopDistance","line":22,"comment":"Overrides touch slop distance for gesture detection. The touch slop distance is the maximum distance from the starting point of a touch sequence that a gesture can travel before it can no longer be considered a tap. Scroll gestures can only begin after this distance has been travelled. The switch value is a floating point number that is interpreted as a distance in pixels."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--touchscreen-usable-while-screen-off","variable":"kTouchscreenUsableWhileScreenOff","line":1029,"comment":"Chromebases' touchscreens can be used to wake from suspend, unlike the touchscreens on other Chrome OS devices. If set, the touchscreen is kept enabled while the screen is off so that it can be used to turn the screen back on after it has been turned off for inactivity but before the system has suspended."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--tpm-is-dynamic","variable":"kTpmIsDynamic","line":1033,"comment":"Enables TPM selection in runtime."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-buffer-handle","variable":"kTraceBufferHandle","line":60,"comment":"Handle to the shared memory segment a child process should use to transmit tracing data back to the tracing service. This flag allows tracing to be recorded before sandbox setup."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-config-file","variable":"kTraceConfigFile","line":24,"comment":"Enables startup tracing by passing a file path containing the chrome Json tracing config as an argument. This flag will be ignored if --trace-startup is provided."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-config-handle","variable":"kTraceConfigHandle","line":55,"comment":"Causes TRACE_EVENT flags to be recorded from startup, passing a SMB handle containing the serialized perfetto config. This flag will be ignored if --trace-startup is provided."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-perfetto-config-file","variable":"kTracePerfettoConfigFile","line":31,"comment":"Enables startup tracing by passing a file path containing the perfetto config as an argument. The config is a serialized or base64 encoded proto `perfetto.protos.TraceConfig` defined in third_party/perfetto/protos/perfetto/config/trace_config.proto. This flag will be ignored if --trace-startup is provided."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-process-track-uuid","variable":"kTraceProcessTrackUuid","line":64,"comment":"Child process track uuid used by perfetto; this is chosen by the browser process and sent to child processes to get predictable track uuid."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-smb-size","variable":"kTraceSmbSize","line":130,"comment":"Configures the size of the shared memory buffer used for tracing. Value is provided in kB. Defaults to 4096. Should be a multiple of the SMB page size (currently 32kB on Desktop or 4kB on Android)."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup","variable":"kTraceStartup","line":49,"comment":"Causes TRACE_EVENT flags to be recorded from startup. Optionally, can specify the specific trace categories to include (e.g. --trace-startup=base,net) otherwise, all events are recorded. Setting this flag results in the first call to BeginTracing() to receive all trace events since startup. Historically, --trace-startup was used for browser startup profiling and --enable-tracing was used for browsertest tracing. Now they are share the same implementation, but both are still supported to avoid disrupting existing workflows. The only difference between them is the default duration (5 seconds for trace-startup, unlimited for enable-tracing). If both are specified, 'trace-startup' takes precedence. In Chrome, you may find --trace-startup-file and --trace-startup-duration to control the auto-saving of the trace (not supported in the base-only TraceLog component)."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup-duration","variable":"kTraceStartupDuration","line":70,"comment":"Sets the time in seconds until startup tracing ends. If omitted: - if --trace-startup is specified, a default of 5 seconds is used. - if --enable-tracing is specified, tracing lasts until the browser is closed. Has no effect otherwise."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup-file","variable":"kTraceStartupFile","line":79,"comment":"If supplied, sets the file which startup tracing will be stored into, if omitted the default will be used \"chrome.pftrace\" in the current directory. Has no effect unless --trace-startup is also supplied. Example: --trace-startup --trace-startup-file=/tmp/trace_event.log As a special case, can be set to 'none' - this disables automatically saving the result to a file and the first manually recorded trace will then receive all events since startup."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup-format","variable":"kTraceStartupFormat","line":96,"comment":"Sets the output format for the trace, valid values are \"json\" and \"proto\". If not set, the current default is \"proto\". \"proto\", unlike json, supports writing the trace into the output file incrementally and is more likely to retain more data if the browser process unexpectedly terminates. Ignored if \"trace-startup-owner\" is not \"controller\"."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup-owner","variable":"kTraceStartupOwner","line":118,"comment":"Specifies the coordinator of the startup tracing session. If the legacy tracing backend is used instead of perfetto, providing this flag is not necessary. Valid values: 'controller', 'devtools', or 'system'. Defaults to 'controller'. If 'controller' is specified, the session is controlled and stopped via the TracingController (e.g. to implement the timeout). If 'devtools' is specified, the startup tracing session will be owned by DevTools and thus can be controlled (i.e. stopped) via the DevTools Tracing domain on the first session connected to the browser endpoint. If 'system' is specified, the system Perfetto service should already be tracing on a supported platform (currently only Android). Session is stopped through the normal methods for stopping system traces."},{"type":"switch","file":"components/tracing/common/tracing_switches.cc","name":"--trace-startup-record-mode","variable":"kTraceStartupRecordMode","line":101,"comment":"If supplied, sets the tracing record mode and options; otherwise, the default \"record-until-full\" mode will be used."},{"type":"switch","file":"base/base_switches.h","name":"--trace-to-file","variable":"kTraceToFile","line":111,"comment":"Sends trace events from these categories to a file. --trace-to-file on its own sends to default categories."},{"type":"switch","file":"base/base_switches.h","name":"--trace-to-file-name","variable":"kTraceToFileName","line":115,"comment":"Specifies the file name for --trace-to-file. If unspecified, it will go to a default file name."},{"type":"switch","file":"components/translate/core/common/translate_switches.cc","name":"--translate-ranker-model-url","variable":"kTranslateRankerModelURL","line":17,"comment":"Overrides the URL from which the translate ranker model is downloaded."},{"type":"switch","file":"components/translate/core/common/translate_switches.cc","name":"--translate-script-url","variable":"kTranslateScriptURL","line":11,"comment":"Overrides the default server used for Google Translate."},{"type":"switch","file":"components/translate/core/common/translate_switches.cc","name":"--translate-security-origin","variable":"kTranslateSecurityOrigin","line":14,"comment":"Overrides security-origin with which Translate runs in an isolated world."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--true","variable":"kSwitchValueTrue","line":15,"comment":"Switch values"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--trusted-download-sources","variable":"kTrustedDownloadSources","line":672,"comment":"Identifies a list of download sources as trusted, but only if proper group policy is set."},{"type":"switch","file":"media/base/media_switches.cc","name":"--try-supported-channel-layouts","variable":"kTrySupportedChannelLayouts","line":321,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Instead of always using the hardware channel layout, check if a driver supports the source channel layout. Avoids outputting empty channels and permits drivers to enable stereo to multichannel expansion. Kept behind a flag since some drivers lie about supported layouts and hang when used. See http://crbug.com/259165 for more details."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--ttc-bundle-url","variable":"kTtcBundleUrl","line":675,"comment":"Specifies the TalkToChrome bundle URL."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--type","variable":"kProcessType","line":568,"comment":"The value of this switch determines whether the process is started as a renderer or plugin host. If it's empty, it's the browser."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--ui-disable-partial-swap","variable":"kUIDisablePartialSwap","line":105,"comment":"Disable partial swap which is needed for some OpenGL drivers / emulators."},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--ui-disable-zero-copy","variable":"kUIDisableZeroCopy","line":18},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--ui-enable-zero-copy","variable":"kUIEnableZeroCopy","line":17},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--ui-show-paint-rects","variable":"kUIShowPaintRects","line":20},{"type":"switch","file":"ui/compositor/compositor_switches.cc","name":"--ui-slow-animations","variable":"kUISlowAnimations","line":22},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--ui-toolkit","variable":"kUiToolkitFlag","line":48,"buildflags":["BUILDFLAG(IS_LINUX)"],"comment":"Specify the toolkit used to construct the Linux GUI."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--ukm-server-url","variable":"kUkmServerUrl","line":62,"comment":"Overrides the URL of the server that UKM reports are uploaded to. This can only be used in debug builds."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--uma-insecure-server-url","variable":"kUmaInsecureServerUrl","line":67,"comment":"Overrides the URL of the server that UMA reports are uploaded to when the connection to the default secure URL fails (see |kUmaServerUrl|). This can only be used in debug builds."},{"type":"switch","file":"components/metrics/metrics_switches.h","name":"--uma-server-url","variable":"kUmaServerUrl","line":71,"comment":"Overrides the URL of the server that UMA reports are uploaded to. This can only be used in debug builds."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--unbounded-window-debug","variable":"kUnboundedWindowDebug","line":742,"comment":"Enables debug mode for unbounded windows (draws a red border)."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--unfiltered-bluetooth-devices","variable":"kUnfilteredBluetoothDevices","line":1036,"comment":"Shows all Bluetooth devices in UI (System Tray/Settings Page.)"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--uninstall","variable":"kUninstall","line":914,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Runs un-installation steps that were done by chrome first-run."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--uninstall-app-id","variable":"kUninstallAppId","line":917,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Specifies that the WebApp with the specified id should be uninstalled."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--unique-temp-dir-suffix","variable":"kUniqueTempDirSuffix","line":854,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"When switches::kProcessType is switches::kCodeSignCloneCleanupProcess this switch is required. The value must be the unique suffix portion of the temporary directory that contains the clone. The full path will be reconstructed by the cleanup process."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--unlimited-storage","variable":"kUnlimitedStorage","line":679,"comment":"Overrides per-origin quota settings to unlimited storage for any apps/origins. This should be used only for testing purpose."},{"type":"switch","file":"media/base/media_switches.cc","name":"--unsafely-allow-protected-media-identifier-for-domain","variable":"kUnsafelyAllowProtectedMediaIdentifierForDomain","line":226,"comment":"For automated testing of protected content, this switch allows specific domains (e.g. example.com) to always allow the permission to share the protected media identifier. In this context, domain does not include the port number. User's content settings will not be affected by enabling this switch. Reference: https://crbug.com/41317087 Example: --unsafely-allow-protected-media-identifier-for-domain=a.com,b.ca"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--unsafely-disable-devtools-self-xss-warnings","variable":"kUnsafelyDisableDevToolsSelfXssWarnings","line":683,"comment":"Disables warnings about self-XSS attacks when pasting into the DevTools console."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--unsafely-treat-insecure-origin-as-secure","variable":"kUnsafelyTreatInsecureOriginAsSecure","line":77,"comment":"Treat given (insecure) origins as secure origins. Multiple origins can be supplied as a comma-separated list. For the definition of secure contexts, see https://w3c.github.io/webappsec-secure-contexts/ and https://www.w3.org/TR/powerful-features/#is-origin-trustworthy Example: --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test"},{"type":"switch","file":"components/safe_browsing/core/common/safebrowsing_switches.cc","name":"--url-filtering-endpoint","variable":"kUrlFilteringEndpointFlag","line":46,"comment":"Alternate URL to use for ChromeEnterpriseRealTimeUrlLookupService real-time lookups."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-adapter-luid","variable":"kUseAdapterLuid","line":156,"comment":"Initialize the GPU process using the adapter with the specified LUID. This is only used on Windows, as LUID is a Windows specific structure."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-angle","variable":"kUseANGLE","line":93,"comment":"Select which ANGLE backend to use. Options are: default: Attempts several ANGLE renderers until one successfully initializes, varying ES support by platform. d3d9: Legacy D3D9 renderer, ES2 only. d3d11: D3D11 renderer, ES2 and ES3. warp: D3D11 renderer using software rasterization, ES2 and ES3. gl: Desktop GL renderer, ES2 and ES3. gles: GLES renderer, ES2 and ES3."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--use-cast-browser-pref-config","variable":"kUseCastBrowserPrefConfig","line":247,"comment":"Rather than share a common pref config file with cast_service, use a dedicated browser pref config file. This must be set when `cast_browser` is running in a different process from `cast_service`."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-cmd-decoder","variable":"kUseCmdDecoder","line":104,"comment":"Use the Pass-through command decoder, skipping all validation and state tracking. Switch lives in ui/gl because it affects the GL binding initialization on platforms that would otherwise not default to using EGL bindings."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-context-snapshot","variable":"kUseContextSnapshotSwitch","line":771,"buildflags":["BUILDFLAG(IS_ANDROID) && BUILDFLAG(INCLUDE_BOTH_V8_SNAPSHOTS)"],"comment":"Switch supplied to the renderer if the feature `kUseContextSnapshot` is enabled. A switch is used as at the time the renderer needs this information features have not yet been loaded."},{"type":"switch","file":"media/base/media_switches.cc","name":"--use-cras","variable":"kUseCras","line":331,"buildflags":["BUILDFLAG(USE_CRAS)"],"comment":"Use CRAS, the ChromeOS audio server."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-dynamic-angle","variable":"kUseDynamicAngle","line":97,"buildflags":["BUILDFLAG(USE_STATIC_ANGLE)"],"comment":"Use ANGLE shared libraries even if ANGLE is built as a static library."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-fake-codec-for-peer-connection","variable":"kUseFakeCodecForPeerConnection","line":746,"comment":"Replaces the existing codecs supported in peer connection with a single fake codec entry that create a fake video encoder and decoder."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--use-fake-cras-audio-client-for-dbus","variable":"kUseFakeCrasAudioClientForDBus","line":1044,"comment":"Use the fake FakeCrasAudioClient to handle system audio controls."},{"type":"switch","file":"media/base/media_switches.cc","name":"--use-fake-device-for-media-stream","variable":"kUseFakeDeviceForMediaStream","line":232,"comment":"Use fake device for Media Stream to replace actual camera and microphone. For the list of allowed parameters, see FakeVideoCaptureDeviceFactory::ParseFakeDevicesConfigFromOptionsString()."},{"type":"switch","file":"chromeos/components/mahi/public/cpp/mahi_switches.cc","name":"--use-fake-mahi-manager","variable":"kUseFakeMahiManager","line":11,"comment":"Use the fake MahiManager within the Mahi feature. Also always show the Mahi menu when context menu is shown."},{"type":"switch","file":"media/base/media_switches.cc","name":"--use-fake-mjpeg-decode-accelerator","variable":"kUseFakeMjpegDecodeAccelerator","line":237,"comment":"Use a fake device for accelerated decoding of MJPEG. This allows, for example, testing of the communication to the GPU service without requiring actual accelerator hardware to be present."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-fake-ui-for-digital-identity","variable":"kUseFakeUIForDigitalIdentity","line":751,"comment":"Bypass the digital-identity-credential OS call. Simulate the user accepting the OS-presented dialog."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-fake-ui-for-fedcm","variable":"kUseFakeUIForFedCM","line":756,"comment":"Bypass the FedCM account selection dialog. If a value is provided for this switch, that account ID is selected, otherwise the first account is chosen."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-fake-ui-for-media-stream","variable":"kUseFakeUIForMediaStream","line":762,"comment":"Bypass the media stream infobar by selecting the default device for media streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. Prefer --auto-accept-camera-and-microphone-capture which does not interact with screen/tab capture."},{"type":"switch","file":"media/base/media_switches.cc","name":"--use-file-for-fake-audio-capture","variable":"kUseFileForFakeAudioCapture","line":248,"comment":"Play a .wav file as the microphone. Note that for WebRTC calls we'll treat the bits as if they came from the microphone, which means you should disable audio processing (lest your audio file will play back distorted). The input file is converted to suit Chrome's audio buses if necessary, so most sane .wav files should work. You can pass either <path> to play the file looping or <path>%noloop to stop after playing the file to completion. Must also be used with kDisableAudioInput or kUseFakeDeviceForMediaStream."},{"type":"switch","file":"media/base/media_switches.cc","name":"--use-file-for-fake-video-capture","variable":"kUseFileForFakeVideoCapture","line":252,"comment":"Use an .y4m file to play as the webcam. See the comments in media/capture/video/file_video_capture_device.h for more details."},{"type":"switch","file":"ui/display/display_switches.cc","name":"--use-first-display-as-internal","variable":"kUseFirstDisplayAsInternal","line":58,"comment":"Uses the 1st display in --ash-host-window-bounds as internal display. This is for debugging on linux desktop."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--use-first-party-set","variable":"kUseFirstPartySet","line":103,"comment":"Allows the manual specification of a First-Party Set. The format is the same as that of `--use-related-website-set`. DEPRECATED(crbug.com/1486689): This switch is under deprecation due to renaming \"First-Party Set\" to \"Related Website Set\". Please use `kUseRelatedWebsiteSet` instead."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-gl","variable":"kUseGL","line":118,"comment":"Select which implementation of GL the GPU process should use. Options are: desktop: whatever desktop OpenGL the user has installed (Linux and Mac default). egl: whatever EGL / GLES2 the user has installed (Windows default - actually ANGLE). swiftshader: The SwiftShader software renderer."},{"type":"switch","file":"ui/gl/gl_switches.cc","name":"--use-gpu-in-tests","variable":"kUseGpuInTests","line":130,"comment":"Use hardware gpu, if available, for tests."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--use-mock-cert-verifier-for-testing","variable":"kUseMockCertVerifierForTesting","line":775,"comment":"Use the MockCertVerifier. This only works in test code."},{"type":"switch","file":"components/os_crypt/common/os_crypt_switches.h","name":"--use-mock-keychain","variable":"kUseMockKeychain","line":18,"buildflags":["BUILDFLAG(IS_APPLE)"],"comment":"Uses mock keychain for testing purposes, which prevents blocking dialogs from causing timeouts."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--use-myfiles-in-user-data-dir-for-testing","variable":"kUseMyFilesInUserDataDirForTesting","line":1051,"comment":"Flag that stored MyFiles folder inside the user data directory. $HOME/Downloads is used as MyFiles folder for ease access to local files for debugging when running on Linux. By setting this flag, <cryptohome>/MyFiles is used even on Linux."},{"type":"switch","file":"services/network/public/cpp/network_switches.cc","name":"--use-related-website-set","variable":"kUseRelatedWebsiteSet","line":108,"comment":"Allows the manual specification of a Related Website Set. The set should be provided as a stringified JSON object, whose format matches the format of the JSON in https://github.com/GoogleChrome/related-website-sets."},{"type":"switch","file":"ui/base/ui_base_switches.h","name":"--use-system-clipboard","variable":"kUseSystemClipboard","line":108,"comment":"Enables the ozone x11 clipboard for linux-chromeos."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--use-system-default-printer","variable":"kUseSystemDefaultPrinter","line":1014,"buildflags":["!BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)"],"comment":"Uses the system default printer as the initially selected destination in print preview, instead of the most recently used destination."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--use-system-proxy-resolver","variable":"kUseSystemProxyResolver","line":695,"comment":"Uses WinHttp to resolve proxies instead of using Chromium's normal proxy resolution logic. This is only supported in Windows.","todos":["TODO(crbug.com/40111093): Only use WinHttp whenever Chrome is exclusively using system proxy configs."]},{"type":"switch","file":"gpu/command_buffer/service/gpu_switches.cc","name":"--use-vulkan","variable":"kUseVulkan","line":64,"comment":"Enable Vulkan support and select Vulkan implementation, must also have ENABLE_VULKAN defined. This only initializes Vulkan, the flag --enable-features=Vulkan must also be used to select Vulkan for compositing and rasterization."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--use-wayland-explicit-grab","variable":"kUseWaylandExplicitGrab","line":28,"comment":"Use explicit grab when opening popup windows. See https://crbug.com/1220274"},{"type":"switch","file":"ios/chrome/browser/flags/chrome_switches.cc","name":"--user-agent","variable":"kUserAgent","line":29,"comment":"A string used to override the default user agent with a custom one."},{"type":"switch","file":"content/shell/common/shell_switches.h","name":"--user-data-dir","variable":"kContentShellUserDataDir","line":21,"comment":"Makes Content Shell use the given path for its data directory. NOTE: \"user-data-dir\" is used to align with Chromedriver's behavior. Please do NOT change this to another value. NOTE: The same value is also used at Java-side in ContentShellBrowserTestActivity.java#getUserDataDirectoryCommandLineSwitch()."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--user-data-dir","variable":"kUserDataDir","line":688,"comment":"Specifies the user data directory, which is where the browser will look for all of its state."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--user-data-migrated","variable":"kUserDataMigrated","line":1020,"buildflags":["BUILDFLAG(ENABLE_DOWNGRADE_PROCESSING)"],"comment":"Indicates that this process is the product of a relaunch following migration of User Data."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--utility","variable":"kUtilityProcess","line":783,"comment":"Causes the process to run as a utility subprocess."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--utility-cmd-prefix","variable":"kUtilityCmdPrefix","line":780,"comment":"The contents of this flag are prepended to the utility process command line. Useful values might be \"valgrind\" or \"xterm -e gdb --args\"."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--utility-immediate-crash-for-testing","variable":"kUtilityImmediateCrashForTesting","line":794,"comment":"Crash the Utility process early in start-up, for testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--utility-startup-dialog","variable":"kUtilityStartupDialog","line":786,"comment":"Causes the utility process to display a dialog on launch."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--utility-sub-type","variable":"kUtilitySubType","line":791,"comment":"This switch indicates the type of a utility process. It does not affect the services offered by the process, but is added to the command line to make it easier to identify the purpose of the utility process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--v8-cache-options","variable":"kV8CacheOptions","line":372,"comment":"Set options to cache V8 data. (none, code, or default)"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--validate-crx","variable":"kValidateCrx","line":698,"comment":"Examines a .crx for validity and prints the result."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-insecure-server-url","variable":"kVariationsInsecureServerURL","line":96,"comment":"Specifies a custom URL for the server to use as an insecure fallback when requests to |kVariationsServerURL| fail. Requests to this URL will be encrypted."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-override-country","variable":"kVariationsOverrideCountry","line":77,"comment":"Allows overriding the country used for evaluating variations. This is similar to the \"Override Variations Country\" entry on chrome://translate-internals, but is exposed as a command-line flag to allow testing First Run scenarios. Additionally, unlike chrome://translate-internals, the value isn't persisted across sessions."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-seed-corpus","variable":"kVariationsSeedCorpus","line":86,"comment":"Specifies the value of the variations seed corpus to use. When unspecified or unrecognized, the default corpus will be used."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-seed-fetch-interval","variable":"kVariationsSeedFetchInterval","line":100,"comment":"Override the time interval between each variation seed fetches. Unit is in minutes. The minimum is 1 minute. The default is 30 minutes."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-seed-version","variable":"kVariationsSeedVersion","line":70,"comment":"Used to share variations seed version with child processes."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-server-url","variable":"kVariationsServerURL","line":91,"comment":"Specifies a custom URL for the server which reports variation data to the client. Specifying this switch enables the Variations service on unofficial builds. See variations_service.cc."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-state-file","variable":"kVariationsStateFile","line":118,"comment":"Use features defined in the value. Use this flag to reproduce experiments related issues. Copy 'Command-line Variations' value from chrome://version page. Save it to a file and pass it via this flag. The value is a base64 encoded JSON format produced by `variations::VariationsCommandLine::WriteToString`."},{"type":"switch","file":"components/variations/variations_switches.cc","name":"--variations-test-seed-path","variable":"kVariationsTestSeedJsonPath","line":82,"comment":"Specifies the location of a seed file for Local State's seed to be populated from. The seed file must be in json format with the keys |kVariationsCompressedSeed| and |kVariationsSeedSignature|."},{"type":"switch","file":"components/password_manager/core/common/password_manager_features.cc","name":"--version","variable":"kGenerationRequirementsVersion","line":63,"comment":"The file version number of password requirements files. If the prefix length changes, this version number needs to be updated. Default to 0 in order to get an empty requirements file."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--version","variable":"kVersion","line":701,"comment":"Prints version information and quits."},{"type":"switch","file":"media/capture/capture_switches.cc","name":"--video-capture-use-gpu-memory-buffer","variable":"kVideoCaptureUseGpuMemoryBuffer","line":13,"comment":"Enables GpuMemoryBuffer-based buffer pool."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--video-image-texture-target","variable":"kVideoImageTextureTarget","line":765,"comment":"Texture target for CHROMIUM_image backed video frame textures."},{"type":"switch","file":"media/base/media_switches.cc","name":"--video-threads","variable":"kVideoThreads","line":255,"comment":"Set number of threads to use for video decoding."},{"type":"switch","file":"ui/views/views_switches.h","name":"--view-stack-traces","variable":"kViewStackTraces","line":24,"comment":"Captures stack traces on View construction to provide better debug info."},{"type":"switch","file":"components/headless/command_handler/headless_command_switches.cc","name":"--virtual-time-budget","variable":"kVirtualTimeBudget","line":43,"comment":"If set the system waits the specified number of virtual milliseconds before deeming the page to be ready. For determinism virtual time does not advance while there are pending network fetches (i.e no timers will fire). Once all network fetches have completed, timers fire and if the system runs out of virtual time is fastforwarded so the next timer fires immediately, until the specified virtual time budget is exhausted."},{"type":"switch","file":"base/base_switches.h","name":"--vmodule","variable":"kVModule","line":130,"comment":"Gives the per-module maximal V-logging levels to override the value given by --v. E.g. \"my_module=2,foo*=3\" would change the logging level for all code in source files \"my_module.*\" and \"foo*.*\" (\"-inl\" suffixes are also disregarded for this matching). Any pattern containing a forward or backward slash will be tested against the whole pathname and not just the module. E.g., \"*/foo/bar/*=2\" would change the logging level for all code in source files under a \"foo/bar\" directory."},{"type":"switch","file":"chromecast/base/chromecast_switches.cc","name":"--vsync-interval","variable":"kVSyncInterval","line":159,"comment":"Overrides the vsync interval used by the GPU process to refresh the display."},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--vulkan-heap-memory-limit-mb","variable":"kVulkanHeapMemoryLimitMb","line":126,"comment":"Specifies the heap limit for Vulkan memory.","todos":["TODO(crbug.com/40161102): Remove this switch."]},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--vulkan-sync-cpu-memory-limit-mb","variable":"kVulkanSyncCpuMemoryLimitMb","line":130,"comment":"Specifies the sync CPU limit for total Vulkan memory.","todos":["TODO(crbug.com/40161102): Remove this switch."]},{"type":"switch","file":"base/base_switches.h","name":"--wait-for-debugger","variable":"kWaitForDebugger","line":133,"comment":"Will wait for 60 seconds for a debugger to come to attach to the process."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--wait-for-debugger-children","variable":"kWaitForDebuggerChildren","line":803,"comment":"Will add kWaitForDebugger to every child processes. If a value is passed, it will be used as a filter to determine if the child process should have the kWaitForDebugger flag passed on or not."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--wait-for-debugger-on-navigation","variable":"kWaitForDebuggerOnNavigation","line":808,"comment":"On every navigation a message with the renderer's URL will be logged and the renderer will wait for a debugger to be attached or SIGUSR1 to be sent to continue execution."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--wait-for-debugger-webui","variable":"kWaitForDebuggerWebUI","line":811,"comment":"Flag used by WebUI test runners to wait for debugger to be attached."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--wait-for-parent-handle","variable":"kWaitForParentHandle","line":932,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Passes the Win32 HANDLE value (as an integer) of the parent process to wait for during relaunch."},{"type":"switch","file":"components/autofill/core/common/autofill_switches.cc","name":"--wallet-service-use-sandbox","variable":"kWalletServiceUseSandbox","line":36,"comment":"Use the sandbox Online Wallet service URL (for developer testing)."},{"type":"switch","file":"media/base/media_switches.cc","name":"--waveout-buffers","variable":"kWaveOutBuffers","line":324,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Number of buffers to use for WaveOut."},{"type":"switch","file":"ui/ozone/public/ozone_switches.cc","name":"--wayland-text-input-version","variable":"kWaylandTextInputVersion","line":24,"comment":"Specify wayland text-input protocol version. Defaults to \"1\" for text-input-v1. Can specify value \"3\" for experimental text-input-v3 support."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--web-otp-backend","variable":"kWebOtpBackend","line":835,"comment":"Enables specified backend for the Web OTP API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--web-otp-backend-auto","variable":"kWebOtpBackendAuto","line":845,"comment":"Enables auto backend selection for Web OTP API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--web-otp-backend-sms-verification","variable":"kWebOtpBackendSmsVerification","line":839,"comment":"Enables Sms Verification backend for Web OTP API which requires app hash in SMS body."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--web-otp-backend-user-consent","variable":"kWebOtpBackendUserConsent","line":842,"comment":"Enables User Consent backend for Web OTP API."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--web-settings-for-testing","variable":"kWebSettingsForTesting","line":826,"comment":"Allows web tests to specify additional web settings for the test cases."},{"type":"switch","file":"ash/constants/ash_switches.cc","name":"--web-ui-data-source-path-for-testing","variable":"kWebUiDataSourcePathForTesting","line":1060,"comment":"If provided, any webui will be loaded from <flag value>/<handler_name>, where handler_name is the name passed to MaybeConfigureTestableDataSource, if the file exists. For example, if the flag is /tmp/resource_overrides, attempting to load js/app_main.js from the data source named \"help_app/untrusted\" will first attempt to load from /tmp/resource_overrides/help_app/untrusted/js/main.js."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--webapk-server-url","variable":"kWebApkServerUrl","line":1008,"buildflags":["BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)"],"comment":"Custom WebAPK server URL for the sake of testing."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--webauthn-remote-desktop-support","variable":"kWebAuthRemoteDesktopSupport","line":817,"comment":"Allows trusted remote desktop clients to make WebAuthn requests on behalf of other origins. This switch only controls availability of the `remoteDesktopClientOverride` extension but doesn't by itself enable any origin to use it."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--webgl-antialiasing-mode","variable":"kWebglAntialiasingMode","line":820,"comment":"Set the antialiasing method used for webgl. (none, explicit, implicit)"},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--webgl-msaa-sample-count","variable":"kWebglMSAASampleCount","line":823,"comment":"Set a default sample count for webgl if msaa is enabled."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-compiler-ep-device-info","variable":"kWebNNCompilerEpDeviceInfo","line":130,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Used internally to pass the target EP device info from the browser process to the WebNN Compiler utility process, alongside `kWebNNCompilerEpLibrary`. The compiler process parses this switch during PreSandboxInit() to register the correct EP device before sandbox lockdown. The value is produced by webnn::EpDeviceInfo::ToSwitchValue()."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-compiler-ep-library","variable":"kWebNNCompilerEpLibrary","line":123,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Used internally to pass the target EP library path from the browser process to the WebNN Compiler utility process. The compiler process reads this switch during PreSandboxInit() to load the EP libraries before sandbox lockdown."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-coreml-dump-model","variable":"kWebNNCoreMlDumpModel","line":19,"buildflags":["BUILDFLAG(IS_MAC)"],"comment":"Copy the generated Core ML model to the folder specified by --webnn-coreml-dump-model, note: folder needs to be accessible from the GPU sandbox or use --no-sandbox. Usage: --no-sandbox --webnn-coreml-dump-model=/tmp/CoreMLModels"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-disable-cpu-fallback","variable":"kWebNNOrtDisableCpuFallback","line":117,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"This switch allows us to disable the fallback to default ORT CPU EP which is enabled by default. When this switch is set: 1. ORT session creation fails if non-CPU EPs cannot fully support all graph nodes. 2. Disables OpenVINO EP internal CPU fallback if NPU model compilation fails (for debugging). Usage: --webnn-ort-disable-cpu-fallback"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-disable-virtual-devices","variable":"kWebNNOrtDisableVirtualDevices","line":93,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Disable ORT virtual devices in the Compiler process, requiring actual hardware devices for compilation instead. This switch is for testing only. Note that online compilation requires access to actual hardware which is blocked by the compiler sandbox, so this switch is usually used together with `--disable-webnn-compiler-sandbox`."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-dump-model","variable":"kWebNNOrtDumpModel","line":41,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Set the folder specified by --webnn-ort-dump-model for ONNX Runtime to save optimized models after graph level transformations. By default, ORT saves the optimized ONNX model. Some EPs (e.g., OpenVINO) dump their own IR models via a session config entry specified by `EpInfo::model_dump_config_key` instead. Usage: --no-sandbox --webnn-ort-dump-model=/tmp/ort_models"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-enable-profiling","variable":"kWebNNOrtEnableProfiling","line":107,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"This switch allows us to collect ORT profile data for performance analysis. The profile data file is generated in Chrome's folder with a fixed naming format \"prefix_date_time.json\". The prefix can be provided by user or use \"WebNNOrtProfile\" as default. Usage: --no-sandbox --webnn-ort-enable-profiling=\"WebNNOrtOvCpuProfile\""},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-ep-device","variable":"kWebNNOrtEpDevice","line":78,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Force ONNX Runtime to only select one specific execution provider (EP) device which matches the given EP name, hardware vendor id and hardware device id for WebNN during the ORT session creation stage. Notes: 1. Available EP devices can be queried in logs when the `webnn-ort-logging-level` is set to `VERBOSE` or `INFO`. If no matching device is found, the ORT session creation fails. 2. The CPU fallback EP device is added implicitly in ORT by default unless disabled explicitly by `webnn-ort-disable-cpu-fallback` switch. The value should be in the format: <ep_name>,<hardware_vendor_id>,<hardware_device_id> Please note that all the entries must be provided in order, and both hardware_vendor_id and hardware_device_id are hexadecimal strings. Usage: For example, specifying an Intel GPU device using OpenVINO EP: --webnn-ort-ep-device=OpenVINOExecutionProvider,0x8086,0x4680"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-ep-library-path-for-testing","variable":"kWebNNOrtEpLibraryPathForTesting","line":58,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Specify the ORT EP name and library path pair via this switch for testing development EP builds. Libraries of the ORT EP specified by the EP name are forced to be loaded from the specified path. This switch is not to be used in shipping scenarios and is ignored by default. The value should be in the format <ep_name>?<ep_library_path>. Usage: --webnn-ort-ep-library-path-for-testing=OpenVINOExecutionProvider?\"C:\\Program Files\\ONNXRuntime-EP\\onnxruntime_providers_openvino_plugin.dll\" --allow-third-party-modules"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-graph-optimization-level","variable":"kWebNNOrtGraphOptimizationLevel","line":99,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Configure the graph optimization level of ONNX Runtime. Usage: --webnn-ort-graph-optimization-level=DISABLE_ALL Other levels could be \"BASIC\", \"EXTENDED\" and \"ALL\"."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-ignore-ep-blocklist","variable":"kWebNNOrtIgnoreEpBlocklist","line":81,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Enable all execution providers, ignoring the enabled flag blocklist."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-ignore-ihv-eps","variable":"kWebNNOrtIgnoreIhvEps","line":86,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Ignore all IHV execution providers, only the default CPUExecutionProvider and DmlExecutionProvider will be used."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-library-path-for-testing","variable":"kWebNNOrtLibraryPathForTesting","line":47,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Force onnxruntime.dll to be loaded from a location specified by the switch for testing development ORT build. This switch is not to be used in shipping scenarios and is ignored by default. Usage: --webnn-ort-library-path-for-testing=\"C:\\Program Files\\ONNXRuntime\" --allow-third-party-modules"},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-ort-logging-level","variable":"kWebNNOrtLoggingLevel","line":35,"buildflags":["BUILDFLAG(IS_WIN)"],"comment":"Configure the logging severity level of ONNX Runtime. Usage: --webnn-ort-logging-level=VERBOSE Other severity levels could be \"INFO\", \"WARNING\", \"ERROR\" (default), and \"FATAL\"."},{"type":"switch","file":"services/webnn/webnn_switches.h","name":"--webnn-tflite-dump-model","variable":"kWebNNTfliteDumpModel","line":27,"buildflags":["BUILDFLAG(WEBNN_USE_TFLITE) || BUILDFLAG(WEBNN_USE_LITERT)"],"comment":"Save the generated TFLite model file to the folder specified by --webnn-tflite-dump-model. Note, the folder needs to be accessible from the GPU process sandbox or --no-sandbox must be used. Usage: --no-sandbox --webnn-tflite-dump-model=/tmp/tflite_models"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--webrtc-event-log-proactive-pruning-delta","variable":"kWebRtcRemoteEventLogProactivePruningDelta","line":708,"comment":"Sets the delay (in seconds) between proactive prunings of remote-bound WebRTC event logs which are pending upload. All positive values are legal. All negative values are illegal, and ignored. If set to 0, the meaning is \"no proactive pruning\"."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--webrtc-event-log-upload-delay-ms","variable":"kWebRtcRemoteEventLogUploadDelayMs","line":713,"comment":"WebRTC event logs will only be uploaded if the conditions hold for this many milliseconds."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--webrtc-event-log-upload-no-suppression","variable":"kWebRtcRemoteEventLogUploadNoSuppression","line":718,"comment":"Normally, remote-bound WebRTC event logs are uploaded only when no peer connections are active. With this flag, the upload is never suppressed."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--webrtc-event-logging","variable":"kWebRtcLocalEventLogging","line":863,"comment":"Enable capture and local storage of WebRTC event logs without visiting chrome://webrtc-internals. This is useful for automated testing. It accepts the path to which the local logs would be stored. Disabling is not possible without restarting the browser and relaunching without this flag."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--webrtc-ip-handling-policy","variable":"kWebRtcIPHandlingPolicy","line":723,"comment":"Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-disable-safebrowsing-support","variable":"kWebViewDisableSafebrowsingSupport","line":14,"comment":"used to disable safebrowsing functionality in webview"},{"type":"switch","file":"gpu/config/gpu_switches.cc","name":"--webview-draw-functor-uses-vulkan","variable":"kWebViewDrawFunctorUsesVulkan","line":114,"comment":"Indicate that the this is being used by Android WebView and its draw functor is using vulkan."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-enable-modern-cookie-same-site","variable":"kWebViewEnableModernCookieSameSite","line":64,"comment":"Enables modern SameSite cookie behavior (as opposed to legacy behavior). This is used for WebView versions prior to when the modern behavior will be enabled by default. This enables the same-site-by-default-cookies, cookies-without-SameSite-must-be-secure, and schemeful-same-site features."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-fenced-frames","variable":"kWebViewFencedFrames","line":68,"comment":"Enables FencedFrames. This also enables PrivacySandboxAdsAPIsOverride."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-force-crash-java","variable":"kWebViewForceCrashJava","line":74,"comment":"Enables crashes during WebView startup in the Java layer"},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-force-crash-native","variable":"kWebViewForceCrashNative","line":77,"comment":"Enables crashes during WebView startup in the Native layer"},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-force-disable-3pcs","variable":"kWebViewForceDisable3pcs","line":71,"comment":"Force disables 3rd party cookie for all apps."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-opt-in-to-gms-bind-service-optimization","variable":"kWebViewOptInToGmsBindServiceOptimization","line":103,"comment":"Opts in WebView to GMSCore's bindService optimizations"},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-profile-store-not-trigger-startup","variable":"kWebViewProfileStoreNotTriggerStartup","line":99,"comment":"Certain ProfileStore methods do not trigger startup."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-reduce-user-agent-minor-version","variable":"kWebViewReduceUserAgentMinorVersion","line":108,"comment":"Enables different reductions of the user-agent."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-safebrowsing-block-all-resources","variable":"kWebViewSafebrowsingBlockAllResources","line":19,"comment":"Enables SafeBrowsing and causes WebView to treat all resources as malicious. Use care: this will block all resources from loading."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-static-methods-not-trigger-startup","variable":"kWebViewStaticMethodsNotTriggerStartup","line":95,"comment":"Certain static methods in SharedStatics do not trigger startup."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-use-separate-resource-context","variable":"kWebViewUseSeparateResourceContext","line":80,"comment":"Use WebView's context for resource lookups instead of the embedding app's."},{"type":"switch","file":"android_webview/common/aw_switches.cc","name":"--webview-verbose-logging","variable":"kWebViewVerboseLogging","line":32,"comment":"WebView will log additional debugging information to logcat, such as variations and commandline state."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--whats-new-use-staging","variable":"kWhatsNewUseStaging","line":726,"comment":"Force What's New on Desktop to request from the staging environment."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--win-jumplist-action","variable":"kWinJumplistAction","line":746,"comment":"Specifies which category option was clicked in the Windows Jumplist that resulted in a browser startup."},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--window-name","variable":"kWindowName","line":729,"comment":"Specify the initial window user title: --window-name=\"My custom title\""},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--window-position","variable":"kWindowPosition","line":732,"comment":"Specify the initial window position: --window-position=x,y"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--window-size","variable":"kWindowSize","line":735,"comment":"Specify the initial window size: --window-size=w,h"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--window-workspace","variable":"kWindowWorkspace","line":738,"comment":"Specify the initial window workspace: --window-workspace=id"},{"type":"switch","file":"chrome/common/chrome_switches.cc","name":"--winhttp-proxy-resolver","variable":"kWinHttpProxyResolver","line":742,"comment":"Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium's network stack to fetch, and V8 to evaluate."},{"type":"switch","file":"base/test/test_switches.cc","name":"--with-death-test-stack-traces","variable":"kWithDeathTestStackTraces","line":135,"comment":"Do not suppress stack traces in death tests."},{"type":"switch","file":"ui/wm/core/wm_core_switches.cc","name":"--wm-window-animations-disabled","variable":"kWindowAnimationsDisabled","line":13,"comment":"If present animations are disabled."},{"type":"switch","file":"base/test/test_switches.cc","name":"--write-compiled-tests-json-to-writable-path","variable":"kWriteCompiledTestsJsonToWritablePath","line":154,"buildflags":["BUILDFLAG(IS_IOS)"],"comment":"Write a compiled test json file to a location where writable."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--zygote","variable":"kZygoteProcess","line":832,"comment":"Causes the process to run as a zygote."},{"type":"switch","file":"content/public/common/content_switches.cc","name":"--zygote-cmd-prefix","variable":"kZygoteCmdPrefix","line":829,"comment":"The prefix used when starting the zygote process. (i.e. 'gdb --args')"}]