diff options
author | Ben Murdoch <benm@google.com> | 2010-08-06 12:13:06 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-08-18 15:49:13 +0100 |
commit | 06741cbc25cd4227a9fba40dfd0273bfcc1a587a (patch) | |
tree | ca6f21dec86a8c4f6d3c50e78628c0cf31da0353 /chrome/common/chrome_switches.h | |
parent | aa0bf16ed53445f227734aee4274c7aef056f032 (diff) | |
download | external_chromium-06741cbc25cd4227a9fba40dfd0273bfcc1a587a.zip external_chromium-06741cbc25cd4227a9fba40dfd0273bfcc1a587a.tar.gz external_chromium-06741cbc25cd4227a9fba40dfd0273bfcc1a587a.tar.bz2 |
Add chrome/common @ 52593
Needed by autofill
Change-Id: Ibfea9ab92382af0bd0cfc6e94d21e4baa4b9d896
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r-- | chrome/common/chrome_switches.h | 354 |
1 files changed, 354 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h new file mode 100644 index 0000000..70a8268 --- /dev/null +++ b/chrome/common/chrome_switches.h @@ -0,0 +1,354 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Defines all the command-line switches used by Chrome. + +#ifndef CHROME_COMMON_CHROME_SWITCHES_H_ +#define CHROME_COMMON_CHROME_SWITCHES_H_ + +#include "build/build_config.h" +#include "base/base_switches.h" + +namespace switches { + +// ----------------------------------------------------------------------------- +// Can't find the switch you are looking for? Try looking in +// base/base_switches.cc instead. +// ----------------------------------------------------------------------------- + +// All switches in alphabetical order. The switches should be documented +// alongside the definition of their values in the .cc file. +extern const char kActivateOnLaunch[]; +extern const char kAllowFileAccessFromFiles[]; +extern const char kAllowSandboxDebugging[]; +extern const char kAllowScriptingGallery[]; +extern const char kAlwaysEnableDevTools[]; +extern const char kApp[]; +extern const char kAppId[]; +extern const char kAppLaunchAsPanel[]; +extern const char kAppsDebug[]; +extern const char kAppsPanel[]; +extern const char kAppsGalleryURL[]; +extern const char kAppsNoThrob[]; +extern const char kAuthServerWhitelist[]; +extern const char kAutomationClientChannelID[]; +extern const char kBrowserAssertTest[]; +extern const char kBrowserCrashTest[]; +extern const char kBrowserSubprocessPath[]; +extern const char kChromeFrame[]; +extern const char kCloudPrintProxyId[]; +extern const char kCloudPrintServiceURL[]; +extern const char kCountry[]; +extern const char kDebugPrint[]; +extern const char kDiagnostics[]; +extern const char kDisableAltWinstation[]; +extern const char kDisableApplicationCache[]; +extern const char kDisableAudio[]; +extern const char kDisableAuthNegotiateCnameLookup[]; +extern const char kDisableBackingStoreLimit[]; +extern const char kDisableByteRangeSupport[]; +extern const char kDisableCustomJumpList[]; +extern const char kDisableDatabases[]; +extern const char kDisableDesktopNotifications[]; +extern const char kDisableDevTools[]; +extern const char kDisableExtensions[]; +extern const char kDisableExtensionsFileAccessCheck[]; +extern const char kDisableGeolocation[]; +extern const char kDisableHangMonitor[]; +extern const char kDisableInternalFlash[]; +extern const char kDisableIPv6[]; +extern const char kDisableJavaScript[]; +extern const char kDisableJava[]; +extern const char kDisableLocalStorage[]; +extern const char kDisableLogging[]; +extern const char kDisableNewTabFirstRun[]; +extern const char kDisablePlugins[]; +extern const char kDisablePopupBlocking[]; +extern const char kDisablePromptOnRepost[]; +extern const char kDisableRemoteFonts[]; +extern const char kDisableRendererAccessibility[]; +extern const char kDisableSessionStorage[]; +extern const char kDisableSharedWorkers[]; +extern const char kDisableSiteSpecificQuirks[]; +extern const char kDisableSync[]; +extern const char kDisableSyncAutofill[]; +extern const char kDisableSyncBookmarks[]; +extern const char kDisableSyncExtensions[]; +extern const char kDisableSyncPasswords[]; +extern const char kDisableSyncPreferences[]; +extern const char kDisableSyncThemes[]; +extern const char kDisableSyncTypedUrls[]; +extern const char kDisableTabCloseableStateWatcher[]; +extern const char kDisableWebResources[]; +extern const char kDisableWebSecurity[]; +extern const char kDisableWebSockets[]; +extern const char kDiskCacheDir[]; +extern const char kDiskCacheSize[]; +extern const char kDnsLogDetails[]; +extern const char kDnsPrefetchDisable[]; +extern const char kDomAutomationController[]; +extern const char kDumpHistogramsOnExit[]; +extern const char kEnableAcceleratedCompositing[]; +extern const char kEnableAeroPeekTabs[]; +extern const char kEnableApps[]; +extern const char kEnableAuthNegotiatePort[]; +extern const char kEnableBenchmarking[]; +extern const char kEnableChromoting[]; +extern const char kEnableCloudPrintProxy[]; +extern const char kEnableCloudPrint[]; +extern const char kEnableExperimentalExtensionApis[]; +extern const char kEnableExperimentalWebGL[]; +extern const char kEnableExtensionTimelineApi[]; +extern const char kEnableExtensionToolstrips[]; +extern const char kEnableFastback[]; +extern const char kEnableFileCookies[]; +extern const char kEnableGLSLTranslator[]; +extern const char kEnableGPUPlugin[]; +extern const char kEnableGPURendering[]; +extern const char kEnableIndexedDatabase[]; +extern const char kEnableInMemoryURLIndex[]; +extern const char kEnableIPv6[]; +extern const char kEnableLogging[]; +extern const char kEnableMemoryInfo[]; +extern const char kEnableMonitorProfile[]; +extern const char kEnableNaCl[]; +extern const char kEnableNativeWebWorkers[]; +extern const char kEnablePreparsedJsCaching[]; +extern const char kEnablePreconnect[]; +extern const char kEnablePrintPreview[]; +extern const char kEnableSearchProviderApiV2[]; +extern const char kEnableStatsTable[]; +extern const char kEnableSync[]; +extern const char kEnableSyncAutofill[]; +extern const char kEnableSyncBookmarks[]; +extern const char kEnableSyncExtensions[]; +extern const char kEnableSyncPasswords[]; +extern const char kEnableSyncPreferences[]; +extern const char kEnableSyncThemes[]; +extern const char kEnableSyncTypedUrls[]; +extern const char kEnableTabbedOptions[]; +extern const char kEnableTouch[]; +extern const char kEnableVerticalTabs[]; +extern const char kEnableVideoFullscreen[]; +extern const char kEnableVideoLayering[]; +extern const char kEnableVideoLogging[]; +extern const char kEnableWatchdog[]; +extern const char kEnableXSSAuditor[]; +// Experimental features. +extern const char kExperimentalEnableNegotiateAuth[]; +extern const char kExperimentalSpellcheckerFeatures[]; +// End experimental features. +extern const char kExplicitlyAllowedPorts[]; +extern const char kExtensionProcess[]; +extern const char kExtensionsUpdateFrequency[]; +extern const char kFileDescriptorLimit[]; +extern const char kFirstRun[]; +extern const char kForceFieldTestNameAndValue[]; +extern const char kGpuLauncher[]; +extern const char kGpuProcess[]; +extern const char kGpuStartupDialog[]; +extern const char kHelp[]; +extern const char kHelpShort[]; +extern const char kHideIcons[]; +extern const char kHomePage[]; +extern const char kHostRules[]; +extern const char kHostResolverParallelism[]; +extern const char kHostResolverRules[]; +extern const char kImport[]; +extern const char kImportFromFile[]; +extern const char kInProcessPlugins[]; +extern const char kInProcessWebGL[]; +extern const char kIncognito[]; +extern const char kInstallerTestBackup[]; +extern const char kInstallerTestBuild[]; +extern const char kInstallerTestClean[]; +extern const char kInstallerTestForce[]; +extern const char kInternalNaCl[]; +extern const char kInternalPepper[]; +extern const char kIssue35198CrxDirBrowser[]; +extern const char kIssue35198ExtraLogging[]; +extern const char kIssue35198Permission[]; +extern const char kJavaScriptFlags[]; +extern const char kKeepAliveForTest[]; +extern const char kLoadExtension[]; +extern const char kLoadPlugin[]; +extern const char kExtraPluginDir[]; +extern const char kLogFilterPrefix[]; +extern const char kLogPluginMessages[]; +extern const char kLoggingLevel[]; +extern const char kMakeDefaultBrowser[]; +extern const char kMediaCacheSize[]; +extern const char kMemoryProfiling[]; +extern const char kMessageLoopHistogrammer[]; +extern const char kMetricsRecordingOnly[]; +extern const char kNaClBrokerProcess[]; +extern const char kNaClLoaderProcess[]; +extern const char kNaClStartupDialog[]; +extern const char kNoDefaultBrowserCheck[]; +extern const char kNoEvents[]; +extern const char kNoFirstRun[]; +extern const char kNoJsRandomness[]; +extern const char kNoProxyServer[]; +extern const char kNoReferrers[]; +extern const char kNoSandbox[]; +extern const char kNumPacThreads[]; +extern const char kOpenInNewWindow[]; +extern const char kPackExtension[]; +extern const char kPackExtensionKey[]; +extern const char kParentProfile[]; +extern const char kPlaybackMode[]; +extern const char kPluginDataDir[]; +extern const char kPluginLauncher[]; +extern const char kPluginPath[]; +extern const char kPluginProcess[]; +extern const char kPluginStartupDialog[]; +extern const char kPreconnectDespiteProxy[]; +extern const char kPrelaunchGpuProcess[]; +extern const char kPrint[]; +extern const char kProcessPerSite[]; +extern const char kProcessPerTab[]; +extern const char kProductVersion[]; +extern const char kProfileImportProcess[]; +extern const char kProxyAutoDetect[]; +extern const char kProxyBypassList[]; +extern const char kProxyPacUrl[]; +extern const char kProxyServer[]; +extern const char kPurgeMemoryButton[]; +extern const char kRecordMode[]; +extern const char kRegisterPepperPlugins[]; +extern const char kRemoteDebuggingPort[]; +extern const char kRemoteShellPort[]; +extern const char kRendererAssertTest[]; +extern const char kRendererCmdPrefix[]; +extern const char kRendererCrashTest[]; +extern const char kRendererProcess[]; +extern const char kRendererStartupDialog[]; +extern const char kRestoreBackgroundContents[]; +extern const char kRestoreLastSession[]; +extern const char kSafePlugins[]; +extern const char kSbInfoURLPrefix[]; +extern const char kSbMacKeyURLPrefix[]; +extern const char kSbDisableAutoUpdate[]; +extern const char kSdchFilter[]; +extern const char kSearchInOmniboxHint[]; +extern const char kServiceProcess[]; +extern const char kServiceAccountLsid[]; +extern const char kShowCompositedLayerBorders[]; +extern const char kShowIcons[]; +extern const char kShowPaintRects[]; +extern const char kShowPrivacyDashboardLink[]; +extern const char kSilentDumpOnDCHECK[]; +extern const char kSimpleDataSource[]; +extern const char kSingleProcess[]; +extern const char kStartMaximized[]; +extern const char kSyncAllowPlain[]; +extern const char kSyncDisableTls[]; +extern const char kSyncEmail[]; +extern const char kSyncerThreadTimedStop[]; +extern const char kSyncNotificationMethod[]; +extern const char kSyncPassword[]; +extern const char kSyncPort[]; +extern const char kSyncServer[]; +extern const char kSyncServiceURL[]; +extern const char kSyncUseChromeAsyncSocket[]; +extern const char kSyncUseSslTcp[]; +extern const char kSyncUseCacheInvalidation[]; +extern const char kTestNaClSandbox[]; +extern const char kTestName[]; +extern const char kTestSandbox[]; +extern const char kTestType[]; +extern const char kTestingChannelID[]; +extern const char kTopSites[]; +extern const char kTrustedPlugins[]; +extern const char kTryChromeAgain[]; +extern const char kUninstall[]; +extern const char kUseSpdy[]; +extern const char kFixedHttpPort[]; +extern const char kFixedHttpsPort[]; +extern const char kIgnoreCertificateErrors[]; +extern const char kMaxSpdySessionsPerDomain[]; +extern const char kUseLowFragHeapCrt[]; +extern const char kUserAgent[]; +extern const char kUserDataDir[]; +extern const char kUserScriptsDir[]; +extern const char kUtilityCmdPrefix[]; +extern const char kUtilityProcess[]; +extern const char kUtilityProcessAllowedDir[]; +extern const char kVersion[]; +extern const char kWaitForDebuggerChildren[]; +extern const char kWebWorkerProcessPerCore[]; +extern const char kWebWorkerShareProcesses[]; +extern const char kWinHttpProxyResolver[]; +extern const char kWorkerProcess[]; +extern const char kZygoteCmdPrefix[]; +extern const char kZygoteProcess[]; + +#if defined(OS_CHROMEOS) +extern const char kEnableGView[]; +extern const char kEnableLoginImages[]; +extern const char kLoginManager[]; +// TODO(avayvod): Remove this flag when it's unnecessary for testing +// purposes. +extern const char kLoginScreen[]; +extern const char kLoginScreenSize[]; +extern const char kTestLoadLibcros[]; +extern const char kProfile[]; +extern const char kLoginProfile[]; +extern const char kLoginUser[]; +extern const char kChromeosFrame[]; +extern const char kChromeosLogToFile[]; +// TODO(denisromanov): Remove this flag when it is not needed for testing. +extern const char kStartupManifest[]; +// TODO(denisromanov): Remove this flag when it is not needed for testing, too. +extern const char kServicesManifest[]; +#endif + +#if defined(OS_LINUX) +extern const char kScrollPixels[]; +#endif + +#if defined(OS_MACOSX) || defined(OS_WIN) +extern const char kUseSystemSSL[]; +#endif + +#if defined(OS_POSIX) +extern const char kEnableCrashReporter[]; +extern const char kNoProcessSingletonDialog[]; +#if !defined(OS_MACOSX) +extern const char kPasswordStore[]; +#endif +#endif + +#if defined(OS_MACOSX) +extern const char kDisableFlashCoreAnimation[]; +extern const char kEnableSandboxLogging[]; +#else +extern const char kKioskMode[]; +#endif + +#ifndef NDEBUG +extern const char kGearsPluginPathOverride[]; +extern const char kInvalidateSyncLogin[]; +extern const char kInvalidateSyncXmppLogin[]; +extern const char kWebSocketLiveExperimentHost[]; +#endif + +#if !defined(OFFICIAL_BUILD) +extern const char kRendererCheckFalseTest[]; +#endif + +#if defined(USE_SECCOMP_SANDBOX) +extern const char kDisableSeccompSandbox[]; +#else +extern const char kEnableSeccompSandbox[]; +#endif +// Return true if the switches indicate the seccomp sandbox is enabled. +bool SeccompSandboxEnabled(); + +// DON'T ADD RANDOM STUFF HERE. Put it in the main section above in +// alphabetical order, or in one of the ifdefs (also in order in each section). + +} // namespace switches + +#endif // CHROME_COMMON_CHROME_SWITCHES_H_ |