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