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