Remove support for specifying version on command line.
[chromium-blink-merge.git] / chrome / common / chrome_switches.h
blob3d5041ff0661a9a839b6c9324eb044e95c54e068
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 "content/public/common/content_switches.h"
16 namespace switches {
18 // -----------------------------------------------------------------------------
19 // Can't find the switch you are looking for? Try looking in
20 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the
21 // .cc files corresponding to the *_switches.h files included above
22 // instead.
23 // -----------------------------------------------------------------------------
25 // All switches in alphabetical order. The switches should be documented
26 // alongside the definition of their values in the .cc file.
27 extern const char kAllowCreateExistingManagedUsers[];
28 extern const char kAllowCrossOriginAuthPrompt[];
29 extern const char kAllowFileAccess[];
30 extern const char kAllowHttpScreenCapture[];
31 extern const char kAllowNaClCrxFsAPI[];
32 extern const char kAllowNaClFileHandleAPI[];
33 extern const char kAllowNaClSocketAPI[];
34 extern const char kAllowOutdatedPlugins[];
35 extern const char kAllowRunningInsecureContent[];
36 extern const char kAlwaysAuthorizePlugins[];
37 extern const char kAppId[];
38 extern const char kApp[];
39 extern const char kAppListStartPageURL[];
40 extern const char kAppsDevtool[];
41 extern const char kAppWindowSize[];
42 extern const char kAppsCheckoutURL[];
43 extern const char kAppsGalleryDownloadURL[];
44 extern const char kAppsGalleryInstallAutoConfirmForTests[];
45 extern const char kAppsGalleryURL[];
46 extern const char kAppsGalleryUpdateURL[];
47 extern const char kAppModeAuthCode[];
48 extern const char kAppModeOAuth2Token[];
49 extern const char kAppsNewInstallBubble[];
50 extern const char kAppsUseNativeFrame[];
51 extern const char kAuthExtensionPath[];
52 extern const char kAuthNegotiateDelegateWhitelist[];
53 extern const char kAuthSchemes[];
54 extern const char kAuthServerWhitelist[];
55 extern const char kAutoLaunchAtStartup[];
56 extern const char kAutomationClientChannelID[];
57 extern const char kAutomationReinitializeOnChannelError[];
58 extern const char kCancelFirstRun[];
59 extern const char kCertificateTransparencyLog[];
60 extern const char kCheckForUpdateIntervalSec[];
61 extern const char kCheckCloudPrintConnectorPolicy[];
62 extern const char kCipherSuiteBlacklist[];
63 extern const char kClearTokenService[];
64 extern const char kCloudPrintDeleteFile[];
65 extern const char kCloudPrintFile[];
66 extern const char kCloudPrintJobTitle[];
67 extern const char kCloudPrintFileType[];
68 extern const char kCloudPrintPrintTicket[];
69 extern const char kCloudPrintSetupProxy[];
70 extern const char kCloudPrintServiceURL[];
71 extern const char kComponentUpdater[];
72 extern const char kConflictingModulesCheck[];
73 extern const char kContentSettings2[];
74 extern const char kCountry[];
75 extern const char kCrashOnHangThreads[];
76 extern const char kCreateBrowserOnStartupForTests[];
77 #if defined(OS_ANDROID) || defined(OS_IOS)
78 extern const char kDataReductionProxyProbeURL[];
79 #endif
80 extern const char kDebugEnableFrameToggle[];
81 extern const char kDebugPackedApps[];
82 extern const char kDebugPrint[];
83 extern const char kDeviceManagementUrl[];
84 extern const char kDiagnostics[];
85 extern const char kDiagnosticsFormat[];
86 extern const char kDiagnosticsRecovery[];
87 extern const char kDisableAsyncDns[];
88 extern const char kDisableAuthNegotiateCnameLookup[];
89 extern const char kDisableBackgroundMode[];
90 extern const char kDisableBackgroundNetworking[];
91 extern const char kDisableBundledPpapiFlash[];
92 extern const char kDisableBookmarkAutocompleteProvider[];
93 extern const char kDisableClientSidePhishingDetection[];
94 extern const char kDisableComponentExtensionsWithBackgroundPages[];
95 extern const char kDisableComponentUpdate[];
96 extern const char kDisableCRLSets[];
97 extern const char kDisableCustomJumpList[];
98 extern const char kDisableDefaultApps[];
99 extern const char kDisableDeviceDiscovery[];
100 extern const char kDisableDeviceDiscoveryNotifications[];
101 extern const char kDisableDhcpWpad[];
102 extern const char kDisableDnsProbes[];
103 extern const char kDisableExtensionsFileAccessCheck[];
104 extern const char kDisableExtensionsHttpThrottling[];
105 extern const char kDisableExtensionsResourceWhitelist[];
106 extern const char kDisableExtensions[];
107 extern const char kDisableGoogleNowIntegration[];
108 extern const char kDisableImprovedDownloadProtection[];
109 extern const char kDisableIPv6[];
110 extern const char kDisableIPPooling[];
111 extern const char kDisableMinimizeOnSecondLauncherItemClick[];
112 extern const char kDisableNTPOtherSessionsMenu[];
113 extern const char kDisableOmniboxAutoCompletionForIme[];
114 extern const char kDisableOriginChip[];
115 extern const char kDisablePasswordAutofillPublicSuffixDomainMatching[];
116 extern const char kDisablePasswordManagerReauthentication[];
117 extern const char kDisablePeopleSearch[];
118 extern const char kDisablePnacl[];
119 extern const char kDisablePopupBlocking[];
120 extern const char kDisablePreconnect[];
121 extern const char kDisablePrerenderLocalPredictor[];
122 extern const char kDisablePrivetLocalPrinting[];
123 extern const char kDisablePromptOnRepost[];
124 extern const char kDisableQuic[];
125 extern const char kDisableQuicHttps[];
126 extern const char kDisableRestoreBackgroundContents[];
127 extern const char kDisableRestoreSessionState[];
128 extern const char kDisableSearchButtonInOmnibox[];
129 extern const char kDisableScriptedPrintThrottling[];
130 extern const char kDisableSpdy31[];
131 extern const char kDisableStickyKeys[];
132 extern const char kDisableSync[];
133 extern const char kDisableSyncAppSettings[];
134 extern const char kDisableSyncApps[];
135 extern const char kDisableSyncAutofill[];
136 extern const char kDisableSyncAutofillProfile[];
137 extern const char kDisableSyncBookmarks[];
138 extern const char kDisableSyncDictionary[];
139 extern const char kDisableSyncExtensionSettings[];
140 extern const char kDisableSyncExtensions[];
141 extern const char kDisableSyncFavicons[];
142 extern const char kDisableSyncPasswords[];
143 extern const char kDisableSyncPreferences[];
144 extern const char kDisableSyncPriorityPreferences[];
145 extern const char kDisableSyncSearchEngines[];
146 extern const char kDisableSyncSyncedNotifications[];
147 extern const char kDisableSyncTabs[];
148 extern const char kDisableSyncThemes[];
149 extern const char kDisableSyncTypedUrls[];
150 extern const char kDisableTranslate[];
151 extern const char kDisableTLSChannelID[];
152 extern const char kDisableUserMediaSecurity[];
153 extern const char kDisableWebGLDebugRendererInfo[];
154 extern const char kDisableWebResources[];
155 extern const char kDisableZeroBrowsersOpenForTests[];
156 extern const char kDiskCacheDir[];
157 extern const char kDiskCacheSize[];
158 extern const char kDnsLogDetails[];
159 extern const char kDnsPrefetchDisable[];
160 extern const char kDumpBrowserHistograms[];
161 extern const char kEmbedFlashFullscreen[];
162 extern const char kEnableAdview[];
163 extern const char kEnableAdviewSrcAttribute[];
164 extern const char kEnableAppList[];
165 extern const char kEnableAppWindowControls[];
166 extern const char kEnableAppsShowOnFirstPaint[];
167 extern const char kEnableAsyncDns[];
168 extern const char kEnableAuthNegotiatePort[];
169 extern const char kEnableAutofillAddressI18n[];
170 extern const char kEnableAutologin[];
171 extern const char kEnableBenchmarking[];
172 extern const char kEnableClientHints[];
173 extern const char kEnableBookmarkUndo[];
174 extern const char kEnableCloudPrintProxy[];
175 extern const char kEnableContacts[];
176 extern const char kEnableDevToolsExperiments[];
177 extern const char kEnableDeviceDiscoveryNotifications[];
178 extern const char kEnableDomDistiller[];
179 extern const char kEnableEnhancedBookmarks[];
180 extern const char kEnableEphemeralApps[];
181 extern const char kEnableExtensionActivityLogging[];
182 extern const char kEnableExtensionActivityLogTesting[];
183 extern const char kEnableFastUnload[];
184 extern const char kEnableGoogleNowIntegration[];
185 extern const char kEnableHttp2Draft04[];
186 extern const char kEnableWebBasedSignin[];
187 extern const char kEnableIPPooling[];
188 extern const char kEnableIPv6[];
189 extern const char kEnableLinkableEphemeralApps[];
190 extern const char kEnableLocalFirstLoadNTP[];
191 extern const char kEnableManagedStorage[];
192 extern const char kEnableMemoryInfo[];
193 extern const char kEnableMetricsReportingForTesting[];
194 extern const char kEnableNaCl[];
195 extern const char kEnableNetBenchmarking[];
196 extern const char kEnableNetworkTime[];
197 extern const char kEnableNpnHttpOnly[];
198 extern const char kEnableOfflineAutoReload[];
199 extern const char kEnableOmniboxAutoCompletionForIme[];
200 extern const char kEnableOriginChip[];
201 extern const char kEnablePanels[];
202 extern const char kEnablePasswordAutofillPublicSuffixDomainMatching[];
203 extern const char kEnableQueryExtraction[];
204 extern const char kEnablePrintPreviewRegisterPromos[];
205 extern const char kEnablePrivetStorage[];
206 extern const char kEnableProfiling[];
207 extern const char kEnableQuic[];
208 extern const char kEnableQuicHttps[];
209 extern const char kEnableQuickofficeViewing[];
210 extern const char kEnableResourceContentSettings[];
211 extern const char kEnableSavePasswordBubble[];
212 extern const char kEnableSdch[];
213 extern const char kEnableSearchButtonInOmniboxAlways[];
214 extern const char kEnableSearchButtonInOmniboxForStr[];
215 extern const char kEnableSearchButtonInOmniboxForStrOrIip[];
216 extern const char kEnableStickyKeys[];
217 extern const char kEnableSpdy2[];
218 extern const char kEnableSpdy4a2[];
219 extern const char kEnableSpellingAutoCorrect[];
220 extern const char kEnableSpellingFeedbackFieldTrial[];
221 extern const char kEnableStackedTabStrip[];
222 extern const char kEnableStreamlinedHostedApps[];
223 extern const char kEnableSuggestionsTabPage[];
224 extern const char kEnableSyncAppList[];
225 extern const char kEnableSyncArticles[];
226 extern const char kEnableSyncSyncedNotifications[];
227 extern const char kEnableSyncSessionsV2[];
228 extern const char kEnableTabGroupsContextMenu[];
229 extern const char kEnableThumbnailRetargeting[];
230 extern const char kEnableTranslateNewUX[];
231 extern const char kEnableUnrestrictedSSL3Fallback[];
232 extern const char kEnableUserAlternateProtocolPorts[];
233 extern const char kEnableWatchdog[];
234 extern const char kEnableWebSocketOverSpdy[];
235 extern const char kExplicitlyAllowedPorts[];
236 extern const char kExtensionProcess[];
237 extern const char kExtensionsInstallVerification[];
238 extern const char kExtensionsNotWebstore[];
239 extern const char kExtensionsUpdateFrequency[];
240 extern const char kExtraSearchQueryParams[];
241 extern const char kFakeVariationsChannel[];
242 extern const char kFastStart[];
243 extern const char kFlagSwitchesBegin[];
244 extern const char kFlagSwitchesEnd[];
245 extern const char kFeedbackServer[];
246 extern const char kFileDescriptorLimit[];
247 extern const char kForceAppMode[];
248 extern const char kForceFirstRun[];
249 extern const char kForceVariationIds[];
250 extern const char kForceLoadCloudPolicy[];
251 extern const char kGoogleBaseURL[];
252 extern const char kGoogleProfileInfo[];
253 extern const char kGoogleSearchDomainCheckURL[];
254 extern const char kGSSAPILibraryName[];
255 extern const char kHelp[];
256 extern const char kHelpShort[];
257 extern const char kHideIcons[];
258 extern const char kHistoryDisableFullHistorySync[];
259 extern const char kHistoryEnableGroupByDomain[];
260 extern const char kHistoryWebHistoryUrl[];
261 extern const char kHomePage[];
262 extern const char kHostRules[];
263 extern const char kHostResolverParallelism[];
264 extern const char kHostResolverRetryAttempts[];
265 extern const char kIgnoreUrlFetcherCertRequests[];
266 extern const char kIncognito[];
267 extern const char kInstallFromWebstore[];
268 extern const char kInstantProcess[];
269 extern const char kIpcFuzzerTestcase[];
270 extern const char kKeepAliveForTest[];
271 extern const char kKioskMode[];
272 extern const char kKioskModePrinting[];
273 extern const char kLimitedInstallFromWebstore[];
274 extern const char kLoadComponentExtension[];
275 extern const char kLoadExtension[];
276 extern const char kMakeDefaultBrowser[];
277 extern const char kManagedUserId[];
278 extern const char kManagedUserSyncToken[];
279 extern const char kMediaCacheSize[];
280 extern const char kMemoryProfiling[];
281 extern const char kMessageLoopHistogrammer[];
282 extern const char kMetricsRecordingOnly[];
283 extern const char kMultiProfiles[];
284 extern const char kNativeMessagingHosts[];
285 extern const char kNetLogLevel[];
286 extern const char kNewProfileManagement[];
287 extern const char kNoDefaultBrowserCheck[];
288 extern const char kNoDisplayingInsecureContent[];
289 extern const char kNoEvents[];
290 extern const char kNoExperiments[];
291 extern const char kNoFirstRun[];
292 extern const char kNoJsRandomness[];
293 extern const char kNoNetworkProfileWarning[];
294 extern const char kNoProxyServer[];
295 extern const char kNoPings[];
296 extern const char kNoServiceAutorun[];
297 extern const char kNoStartupWindow[];
298 extern const char kNoManagedUserAcknowledgmentCheck[];
299 extern const char kNtpAppInstallHint[];
300 extern const char kNumPacThreads[];
301 extern const char kOnlyBlockSettingThirdPartyCookies[];
302 extern const char kOpenInNewWindow[];
303 extern const char kOrganicInstall[];
304 extern const char kOriginToForceQuicOn[];
305 extern const char kOriginalProcessStartTime[];
306 extern const char kOutOfProcessPdf[];
307 extern const char kPackExtension[];
308 extern const char kPackExtensionKey[];
309 extern const char kParentProfile[];
310 extern const char kPerformanceMonitorGathering[];
311 extern const char kPlaybackMode[];
312 extern const char kPnaclDir[];
313 extern const char kPpapiFlashInProcess[];
314 extern const char kPpapiFlashPath[];
315 extern const char kPpapiFlashVersion[];
316 extern const char kPrerenderFromOmnibox[];
317 extern const char kPrerenderFromOmniboxSwitchValueAuto[];
318 extern const char kPrerenderFromOmniboxSwitchValueDisabled[];
319 extern const char kPrerenderFromOmniboxSwitchValueEnabled[];
320 extern const char kPrerenderMode[];
321 extern const char kPrerenderModeSwitchValueAuto[];
322 extern const char kPrerenderModeSwitchValueDisabled[];
323 extern const char kPrerenderModeSwitchValueEnabled[];
324 extern const char kPrerenderModeSwitchValuePrefetchOnly[];
325 extern const char kPrivetIPv6Only[];
326 extern const char kProductVersion[];
327 extern const char kProfileDirectory[];
328 extern const char kProfilingAtStart[];
329 extern const char kProfilingFile[];
330 extern const char kProfilingFlush[];
331 extern const char kProfilingOutputFile[];
332 extern const char kPromoServerURL[];
333 extern const char kProxyAutoDetect[];
334 extern const char kProxyBypassList[];
335 extern const char kProxyPacUrl[];
336 extern const char kProxyServer[];
337 extern const char kPurgeMemoryButton[];
338 extern const char kQuicMaxPacketLength[];
339 extern const char kQuicVersion[];
340 extern const char kRecordMode[];
341 extern const char kRemoteDebuggingFrontend[];
342 extern const char kRendererPrintPreview[];
343 extern const char kResetAppListInstallState[];
344 extern const char kResetVariationState[];
345 extern const char kRestoreLastSession[];
346 extern const char kSavePageAsMHTML[];
347 extern const char kSbURLPrefix[];
348 extern const char kSbDisableAutoUpdate[];
349 extern const char kSbDisableDownloadProtection[];
350 extern const char kSbDisableExtensionBlacklist[];
351 extern const char kSbDisableSideEffectFreeWhitelist[];
352 extern const char kSbDownloadFeedbackURL[];
353 extern const char kServiceProcess[];
354 extern const char kSilentDebuggerExtensionAPI[];
355 extern const char kSilentLaunch[];
356 extern const char kSetToken[];
357 extern const char kShowAppList[];
358 extern const char kShowAppListStartPage[];
359 extern const char kShowIcons[];
360 extern const char kSigninProcess[];
361 extern const char kSilentDumpOnDCHECK[];
362 extern const char kSimulateUpgrade[];
363 extern const char kSimulateCriticalUpdate[];
364 extern const char kSimulateOutdated[];
365 extern const char kSpdyProxyAuthFallback[];
366 extern const char kSpdyProxyAuthOrigin[];
367 extern const char kSpdyProxyAuthValue[];
368 extern const char kSpellingServiceFeedbackUrl[];
369 extern const char kSpellingServiceFeedbackIntervalSeconds[];
370 extern const char kSSLVersionMax[];
371 extern const char kSSLVersionMin[];
372 extern const char kStartMaximized[];
373 extern const char kSuggestionNtpFilterWidth[];
374 extern const char kSuggestionNtpGaussianFilter[];
375 extern const char kSuggestionNtpLinearFilter[];
376 extern const char kSyncAllowInsecureXmppConnection[];
377 extern const char kSyncInvalidateXmppLogin[];
378 extern const char kSyncShortInitialRetryOverride[];
379 extern const char kSyncNotificationHostPort[];
380 extern const char kSyncServiceURL[];
381 extern const char kSyncThrowUnrecoverableError[];
382 extern const char kSyncTrySsltcpFirstForXmpp[];
383 extern const char kSyncEnableDeferredStartup[];
384 extern const char kSyncEnableGetUpdateAvoidance[];
385 extern const char kSyncfsEnableDirectoryOperation[];
386 extern const char kTabBrowserDragging[];
387 extern const char kTabCapture[];
388 extern const char kTestName[];
389 extern const char kTestType[];
390 extern const char kTestingChannelID[];
391 extern const char kTranslateScriptURL[];
392 extern const char kTrustedSpdyProxy[];
393 extern const char kTryChromeAgain[];
394 extern const char kUninstallExtension[];
395 extern const char kUninstall[];
396 extern const char kUnlimitedStorage[];
397 extern const char kUseSimpleCacheBackend[];
398 extern const char kUseSpdy[];
399 extern const char kUseSpellingSuggestions[];
400 extern const char kMaxSpdyConcurrentStreams[];
401 extern const char kUserDataDir[];
402 extern const char kValidateCrx[];
403 extern const char kVariationsServerURL[];
404 extern const char kVersion[];
405 extern const char kWhitelistedExtensionID[];
406 extern const char kWindowPosition[];
407 extern const char kWindowSize[];
408 extern const char kWinHttpProxyResolver[];
410 #if defined(ENABLE_PLUGIN_INSTALLATION)
411 extern const char kPluginsMetadataServerURL[];
412 #endif
414 #if defined(OS_ANDROID) || defined(OS_IOS)
415 extern const char kEnableSpdyProxyAuth[];
416 #endif // defined(OS_ANDROID) || defined(OS_IOS)
418 #if defined(OS_ANDROID)
419 extern const char kDisableAddToHomescreen[];
420 extern const char kDisableNewNTP[];
421 extern const char kDisableZeroSuggest[];
422 extern const char kEnableAccessibilityTabSwitcher[];
423 extern const char kEnableAddToHomescreen[];
424 extern const char kEnableNewNTP[];
425 extern const char kEnableTranslate[];
426 extern const char kEnableCast[];
427 extern const char kEnableZeroSuggestEtherSerp[];
428 extern const char kEnableZeroSuggestEtherNoSerp[];
429 extern const char kEnableZeroSuggestMostVisited[];
430 #endif
432 #if defined(USE_ASH)
433 extern const char kOpenAsh[];
434 #endif
436 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
437 extern const char kPasswordStore[];
438 #endif
440 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
441 extern const char kMigrateDataDirForSxS[];
442 #endif
444 #if defined(OS_MACOSX)
445 extern const char kDisableAppShims[];
446 extern const char kDisableSystemFullscreenForTesting[];
447 extern const char kEnableExposeForTabs[];
448 extern const char kEnableSimplifiedFullscreen[];
449 extern const char kKeychainReauthorize[];
450 extern const char kRelauncherProcess[];
451 extern const char kUseMockKeychain[];
452 #endif
454 #if defined(OS_WIN)
455 extern const char kEnableProfileShortcutManager[];
456 extern const char kForceImmersive[];
457 extern const char kForceDesktop[];
458 extern const char kPrintRaster[];
459 extern const char kRelaunchShortcut[];
460 extern const char kWaitForMutex[];
461 extern const char kWindows8Search[];
462 #endif
464 #if defined(OS_WIN) && defined(USE_AURA)
465 extern const char kViewerConnect[];
466 extern const char kViewerLaunchViaAppId[];
467 #endif
469 #ifndef NDEBUG
470 extern const char kFileManagerExtensionPath[];
471 extern const char kImageLoaderExtensionPath[];
472 #endif
474 #if defined(GOOGLE_CHROME_BUILD)
475 extern const char kDisablePrintPreview[];
476 #else
477 extern const char kEnablePrintPreview[];
478 #endif
480 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
481 // alphabetical order, or in one of the ifdefs (also in order in each section).
483 } // namespace switches
485 #endif // CHROME_COMMON_CHROME_SWITCHES_H_