Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / chrome / common / chrome_switches.h
bloba018ac37e883e2bff0f6990ebd21f0f493e507ed
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Defines all the command-line switches used by Chrome.
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_
8 #define CHROME_COMMON_CHROME_SWITCHES_H_
10 #include "build/build_config.h"
12 #include "base/base_switches.h"
13 #include "components/autofill/core/common/autofill_switches.h"
14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
15 #include "components/password_manager/core/common/password_manager_switches.h"
16 #include "components/signin/core/common/signin_switches.h"
17 #include "content/public/common/content_switches.h"
19 namespace switches {
21 // -----------------------------------------------------------------------------
22 // Can't find the switch you are looking for? Try looking in
23 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the
24 // .cc files corresponding to the *_switches.h files included above
25 // instead.
26 // -----------------------------------------------------------------------------
28 // All switches in alphabetical order. The switches should be documented
29 // alongside the definition of their values in the .cc file.
30 extern const char kActivateExistingProfileBrowser[];
31 extern const char kAllowCrossOriginAuthPrompt[];
32 extern const char kAllowFileAccess[];
33 extern const char kAllowHttpScreenCapture[];
34 extern const char kAllowOutdatedPlugins[];
35 extern const char kAllowRunningInsecureContent[];
36 extern const char kAlternateProtocolProbabilityThreshold[];
37 extern const char kAlwaysAuthorizePlugins[];
38 extern const char kAppId[];
39 extern const char kApp[];
40 extern const char kAppListStartPageURL[];
41 extern const char kAppsCheckoutURL[];
42 extern const char kAppsGalleryDownloadURL[];
43 extern const char kAppsGalleryURL[];
44 extern const char kAppsGalleryUpdateURL[];
45 extern const char kAppModeAuthCode[];
46 extern const char kAppModeOAuth2Token[];
47 extern const char kAuthExtensionPath[];
48 extern const char kAuthNegotiateDelegateWhitelist[];
49 extern const char kAuthSchemes[];
50 extern const char kAuthServerWhitelist[];
51 extern const char kAutoLaunchAtStartup[];
52 extern const char kAutoSelectDesktopCaptureSource[];
53 extern const char kCertificateTransparencyLog[];
54 extern const char kCheckForUpdateIntervalSec[];
55 extern const char kCheckCloudPrintConnectorPolicy[];
56 extern const char kCipherSuiteBlacklist[];
57 extern const char kCloudPrintFile[];
58 extern const char kCloudPrintJobTitle[];
59 extern const char kCloudPrintFileType[];
60 extern const char kCloudPrintPrintTicket[];
61 extern const char kCloudPrintSetupProxy[];
62 extern const char kCrashOnHangThreads[];
63 extern const char kCreateBrowserOnStartupForTests[];
64 extern const char kDebugEnableFrameToggle[];
65 extern const char kDebugPackedApps[];
66 extern const char kDiagnostics[];
67 extern const char kDiagnosticsFormat[];
68 extern const char kDiagnosticsRecovery[];
69 extern const char kDisableAboutInSettings[];
70 extern const char kDisableAsyncDns[];
71 extern const char kDisableAuthNegotiateCnameLookup[];
72 extern const char kDisableBackgroundNetworking[];
73 extern const char kDisableBundledPpapiFlash[];
74 extern const char kDisableCastStreamingHWEncoding[];
75 extern const char kDisableClientSidePhishingDetection[];
76 extern const char kDisableComponentExtensionsWithBackgroundPages[];
77 extern const char kDisableComponentUpdate[];
78 extern const char kDisableDefaultApps[];
79 extern const char kDisableDeviceDiscoveryNotifications[];
80 extern const char kDisableDnsProbes[];
81 extern const char kDisableDomainReliability[];
82 extern const char kDisableExtensionsFileAccessCheck[];
83 extern const char kDisableExtensionsHttpThrottling[];
84 extern const char kDisableExtensions[];
85 extern const char kDisableIPv6[];
86 extern const char kDisableMinimizeOnSecondLauncherItemClick[];
87 extern const char kDisableMaterialDesignNTP[];
88 extern const char kDisableNTPOtherSessionsMenu[];
89 extern const char kDisableOfflineAutoReload[];
90 extern const char kDisableOfflineAutoReloadVisibleOnly[];
91 extern const char kDisableOriginChip[];
92 extern const char kDisablePasswordManagerReauthentication[];
93 extern const char kDisablePeopleSearch[];
94 extern const char kDisablePermissionsBubbles[];
95 extern const char kDisablePopupBlocking[];
96 extern const char kDisablePreconnect[];
97 extern const char kDisablePrerenderLocalPredictor[];
98 extern const char kDisablePrintPreview[];
99 extern const char kDisablePromptOnRepost[];
100 extern const char kDisableQuic[];
101 extern const char kDisableQuicPacing[];
102 extern const char kDisableQuicPortSelection[];
103 extern const char kDisableSavePasswordBubble[];
104 extern const char kDisableSearchButtonInOmnibox[];
105 extern const char kDisableSessionCrashedBubble[];
106 extern const char kDisableSuggestionsService[];
107 extern const char kDisableSupervisedUserBlacklist[];
108 extern const char kDisableSupervisedUserSafeSites[];
109 extern const char kDisableSync[];
110 extern const char kDisableSyncSyncedNotifications[];
111 extern const char kDisableSyncTypes[];
112 extern const char kDisableWebResources[];
113 extern const char kDisableZeroBrowsersOpenForTests[];
114 extern const char kDiskCacheDir[];
115 extern const char kDiskCacheSize[];
116 extern const char kDnsLogDetails[];
117 extern const char kDnsPrefetchDisable[];
118 extern const char kDumpBrowserHistograms[];
119 extern const char kEasyUnlockAppPath[];
120 extern const char kEnableAppList[];
121 extern const char kEnableAppsFileAssociations[];
122 extern const char kEnableAsyncDns[];
123 extern const char kEnableAuthNegotiatePort[];
124 extern const char kEnableBenchmarking[];
125 extern const char kEnableClientHints[];
126 extern const char kEnableBookmarkUndo[];
127 extern const char kEnableCloudPrintProxy[];
128 extern const char kEnableDevToolsExperiments[];
129 extern const char kEnableDeviceDiscoveryNotifications[];
130 extern const char kEnableDomDistiller[];
131 extern const char kEnhancedBookmarksExperiment[];
132 extern const char kEnableDomainReliability[];
133 extern const char kEnableEnhancedBookmarks[];
134 extern const char kEnableEphemeralApps[];
135 extern const char kEnableExperimentalHotwording[];
136 extern const char kEnableExperimentalHotwordHardware[];
137 extern const char kEnableExtensionActivityLogging[];
138 extern const char kEnableExtensionActivityLogTesting[];
139 extern const char kEnableFastUnload[];
140 extern const char kEnableIPv6[];
141 extern const char kEnableLinkableEphemeralApps[];
142 extern const char kEnableNaCl[];
143 extern const char kEnableNetBenchmarking[];
144 extern const char kEnableMaterialDesignNTP[];
145 extern const char kEnableNpnHttpOnly[];
146 extern const char kEnableOfflineAutoReload[];
147 extern const char kEnableOfflineAutoReloadVisibleOnly[];
148 extern const char kEnableOfflineLoadStaleCache[];
149 extern const char kDisableOfflineLoadStaleCache[];
150 extern const char kEnableOriginChipAlways[];
151 extern const char kEnableOriginChipOnSrp[];
152 extern const char kEnablePanels[];
153 extern const char kEnablePermissionsBubbles[];
154 extern const char kEnablePluginPlaceholderShadowDom[];
155 extern const char kEnablePowerOverlay[];
156 extern const char kEnablePrintPreviewRegisterPromos[];
157 extern const char kEnablePrivetStorage[];
158 extern const char kEnableProfiling[];
159 extern const char kEnableQueryExtraction[];
160 extern const char kEnableQuic[];
161 extern const char kEnableQuicPacing[];
162 extern const char kEnableQuicPortSelection[];
163 extern const char kEnableReaderModeToolbarIcon[];
164 extern const char kEnableResourceContentSettings[];
165 extern const char kEnableSavePasswordBubble[];
166 extern const char kEnableSdchOverHttps[];
167 extern const char kEnableSearchButtonInOmniboxAlways[];
168 extern const char kEnableSearchButtonInOmniboxForStr[];
169 extern const char kEnableSearchButtonInOmniboxForStrOrIip[];
170 extern const char kEnableSessionCrashedBubble[];
171 extern const char kEnableSettingsWindow[];
172 extern const char kEnableShowModalDialog[];
173 extern const char kDisableSettingsWindow[];
174 extern const char kEnableSpdy4[];
175 extern const char kEnableSSLConnectJobWaiting[];
176 extern const char kEnableStaleWhileRevalidate[];
177 extern const char kEnableStreamlinedHostedApps[];
178 extern const char kEnableSuggestionsService[];
179 extern const char kEnableSupervisedUserBlacklist[];
180 extern const char kEnableSupervisedUserSafeSites[];
181 extern const char kEnableSyncArticles[];
182 extern const char kEnableSyncSyncedNotifications[];
183 extern const char kEnableTabAudioMuting[];
184 extern const char kEnableThumbnailRetargeting[];
185 extern const char kEnableTranslateNewUX[];
186 extern const char kEnableUserAlternateProtocolPorts[];
187 extern const char kEnableWebsiteSettingsManager[];
188 extern const char kEnhancedBookmarksExperiment[];
189 extern const char kExplicitlyAllowedPorts[];
190 extern const char kExtensionContentVerificationBootstrap[];
191 extern const char kExtensionContentVerificationEnforceStrict[];
192 extern const char kExtensionContentVerificationEnforce[];
193 extern const char kExtensionContentVerification[];
194 extern const char kExtensionsInstallVerification[];
195 extern const char kExtensionsNotWebstore[];
196 extern const char kExtensionsUpdateFrequency[];
197 extern const char kFakeVariationsChannel[];
198 extern const char kFastStart[];
199 extern const char kFlagSwitchesBegin[];
200 extern const char kFlagSwitchesEnd[];
201 extern const char kForceAppMode[];
202 extern const char kForceFirstRun[];
203 extern const char kForceVariationIds[];
204 extern const char kGSSAPILibraryName[];
205 extern const char kHelp[];
206 extern const char kHelpShort[];
207 extern const char kHideIcons[];
208 extern const char kHistoryEnableGroupByDomain[];
209 extern const char kHistoryWebHistoryUrl[];
210 extern const char kHomePage[];
211 extern const char kHostRules[];
212 extern const char kHostResolverParallelism[];
213 extern const char kHostResolverRetryAttempts[];
214 extern const char kIgnoreUrlFetcherCertRequests[];
215 extern const char kIncognito[];
216 extern const char kInstallChromeApp[];
217 extern const char kInstallEphemeralAppFromWebstore[];
218 extern const char kInstantProcess[];
219 extern const char kInvalidationUseGCMChannel[];
220 extern const char kIpcFuzzerTestcase[];
221 extern const char kJavaScriptHarmony[];
222 extern const char kKeepAliveForTest[];
223 extern const char kKioskMode[];
224 extern const char kKioskModePrinting[];
225 extern const char kLoadComponentExtension[];
226 extern const char kLoadExtension[];
227 extern const char kMakeDefaultBrowser[];
228 extern const char kManualEnhancedBookmarks[];
229 extern const char kManualEnhancedBookmarksOptout[];
230 extern const char kMediaCacheSize[];
231 extern const char kMessageLoopHistogrammer[];
232 extern const char kMetricsRecordingOnly[];
233 extern const char kNetLogLevel[];
234 extern const char kNoDefaultBrowserCheck[];
235 extern const char kNoDisplayingInsecureContent[];
236 extern const char kNoEvents[];
237 extern const char kNoExperiments[];
238 extern const char kNoFirstRun[];
239 extern const char kNoNetworkProfileWarning[];
240 extern const char kNoProxyServer[];
241 extern const char kNoPings[];
242 extern const char kNoServiceAutorun[];
243 extern const char kNoStartupWindow[];
244 extern const char kNoSupervisedUserAcknowledgmentCheck[];
245 extern const char kNtpAppInstallHint[];
246 extern const char kNumPacThreads[];
247 extern const char kOpenInNewWindow[];
248 extern const char kOriginToForceQuicOn[];
249 extern const char kOriginalProcessStartTime[];
250 extern const char kOutOfProcessPdf[];
251 extern const char kPackExtension[];
252 extern const char kPackExtensionKey[];
253 extern const char kParentProfile[];
254 extern const char kPermissionRequestApiScope[];
255 extern const char kPermissionRequestApiUrl[];
256 extern const char kPlaybackMode[];
257 extern const char kPpapiFlashPath[];
258 extern const char kPpapiFlashVersion[];
259 extern const char kPrefetchSearchResults[];
260 extern const char kPrerenderFromOmnibox[];
261 extern const char kPrerenderFromOmniboxSwitchValueAuto[];
262 extern const char kPrerenderFromOmniboxSwitchValueDisabled[];
263 extern const char kPrerenderFromOmniboxSwitchValueEnabled[];
264 extern const char kPrerenderMode[];
265 extern const char kPrerenderModeSwitchValueAuto[];
266 extern const char kPrerenderModeSwitchValueDisabled[];
267 extern const char kPrerenderModeSwitchValueEnabled[];
268 extern const char kPrerenderModeSwitchValuePrefetchOnly[];
269 extern const char kPrivetIPv6Only[];
270 extern const char kProductVersion[];
271 extern const char kProfileDirectory[];
272 extern const char kProfilingAtStart[];
273 extern const char kProfilingFile[];
274 extern const char kProfilingFlush[];
275 extern const char kProfilingOutputFile[];
276 extern const char kPromoServerURL[];
277 extern const char kProxyAutoDetect[];
278 extern const char kProxyBypassList[];
279 extern const char kProxyPacUrl[];
280 extern const char kProxyServer[];
281 extern const char kQuicConnectionOptions[];
282 extern const char kQuicMaxPacketLength[];
283 extern const char kQuicVersion[];
284 extern const char kRecordMode[];
285 extern const char kRememberCertErrorDecisions[];
286 extern const char kResetAppListInstallState[];
287 extern const char kRestoreLastSession[];
288 extern const char kSavePageAsMHTML[];
289 extern const char kSbDisableAutoUpdate[];
290 extern const char kSbDisableDownloadProtection[];
291 extern const char kSbDisableExtensionBlacklist[];
292 extern const char kSbDisableSideEffectFreeWhitelist[];
293 extern const char kServiceProcess[];
294 extern const char kSilentDebuggerExtensionAPI[];
295 extern const char kSilentLaunch[];
296 extern const char kSetToken[];
297 extern const char kShowAppList[];
298 extern const char kShowIcons[];
299 extern const char kSigninProcess[];
300 extern const char kSimulateUpgrade[];
301 extern const char kSimulateCriticalUpdate[];
302 extern const char kSimulateOutdated[];
303 extern const char kSimulateOutdatedNoAU[];
304 extern const char kSpeculativeResourcePrefetching[];
305 extern const char kSpeculativeResourcePrefetchingDisabled[];
306 extern const char kSpeculativeResourcePrefetchingEnabled[];
307 extern const char kSpeculativeResourcePrefetchingLearning[];
308 #if defined(ENABLE_SPELLCHECK)
309 extern const char kEnableSpellingAutoCorrect[];
310 extern const char kEnableSpellingFeedbackFieldTrial[];
311 extern const char kSpellingServiceFeedbackUrl[];
312 extern const char kSpellingServiceFeedbackIntervalSeconds[];
313 #endif
314 extern const char kSSLVersionMax[];
315 extern const char kSSLVersionMin[];
316 extern const char kSSLVersionFallbackMin[];
317 extern const char kSSLVersionSSLv3[];
318 extern const char kSSLVersionTLSv1[];
319 extern const char kSSLVersionTLSv11[];
320 extern const char kSSLVersionTLSv12[];
321 extern const char kStartMaximized[];
322 extern const char kSupervisedUserId[];
323 extern const char kSupervisedUserSyncToken[];
324 extern const char kSyncShortInitialRetryOverride[];
325 extern const char kSyncServiceURL[];
326 extern const char kSyncDisableDeferredStartup[];
327 extern const char kSyncDeferredStartupTimeoutSeconds[];
328 extern const char kSyncEnableGetUpdateAvoidance[];
329 extern const char kSyncDisableBackup[];
330 extern const char kSyncDisableRollback[];
331 extern const char kTabCapture[];
332 extern const char kTestName[];
333 extern const char kTrustedSpdyProxy[];
334 extern const char kTryChromeAgain[];
335 extern const char kUninstall[];
336 extern const char kUnlimitedStorage[];
337 extern const char kUseSimpleCacheBackend[];
338 extern const char kUseSpdy[];
339 extern const char kUserAgent[];
340 extern const char kUserDataDir[];
341 extern const char kValidateCrx[];
342 extern const char kVariationsServerURL[];
343 extern const char kVersion[];
344 extern const char kWindowPosition[];
345 extern const char kWindowSize[];
346 extern const char kWinHttpProxyResolver[];
347 extern const char kWinJumplistAction[];
349 #if defined(ENABLE_PLUGIN_INSTALLATION)
350 extern const char kPluginsMetadataServerURL[];
351 #endif
353 #if defined(OS_ANDROID)
354 extern const char kDisableCast[];
355 extern const char kDisableContextualSearch[];
356 extern const char kDisableZeroSuggest[];
357 extern const char kEnableAccessibilityTabSwitcher[];
358 extern const char kEnableAppInstallAlerts[];
359 extern const char kEnableContextualSearch[];
360 extern const char kEnableZeroSuggestMostVisited[];
361 extern const char kEnableZeroSuggestMostVisitedWithoutSerp[];
362 extern const char kEnableInstantSearchClicks[];
363 #endif
365 #if defined(USE_ASH)
366 extern const char kOpenAsh[];
367 #endif
369 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
370 extern const char kPasswordStore[];
371 #endif
373 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
374 extern const char kMigrateDataDirForSxS[];
375 #endif
377 #if defined(OS_MACOSX)
378 extern const char kAppsKeepChromeAliveInTests[];
379 extern const char kDisableSystemFullscreenForTesting[];
380 extern const char kRelauncherProcess[];
381 #endif
383 #if defined(OS_WIN)
384 extern const char kEnableCloudPrintXps[];
385 extern const char kEnableProfileShortcutManager[];
386 extern const char kForceDesktop[];
387 extern const char kForceImmersive[];
388 extern const char kRelaunchShortcut[];
389 extern const char kViewerLaunchViaAppId[];
390 extern const char kWaitForMutex[];
391 extern const char kWindows8Search[];
392 #endif
394 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
395 extern const char kDebugPrint[];
396 #endif
398 #if defined(ENABLE_PLUGINS)
399 extern const char kAllowNaClCrxFsAPI[];
400 extern const char kAllowNaClFileHandleAPI[];
401 extern const char kAllowNaClSocketAPI[];
402 #endif
404 #ifndef NDEBUG
405 extern const char kFileManagerExtensionPath[];
406 #endif
408 bool AboutInSettingsEnabled();
409 bool SettingsWindowEnabled();
411 #if defined(OS_CHROMEOS)
412 bool PowerOverlayEnabled();
413 #endif
415 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
416 // alphabetical order, or in one of the ifdefs (also in order in each section).
418 } // namespace switches
420 #endif // CHROME_COMMON_CHROME_SWITCHES_H_