// Copyright (c) 2009 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 yo 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 kAllowSandboxDebugging[]; extern const char kAlwaysEnableDevTools[]; extern const char kApp[]; extern const char kAutomationClientChannelID[]; extern const char kBookmarkMenu[]; extern const char kBrowserAssertTest[]; extern const char kBrowserCrashTest[]; extern const char kBrowserSubprocessPath[]; extern const char kChromeFrame[]; extern const char kCountry[]; extern const char kDebugPrint[]; extern const char kDiagnostics[]; extern const char kDisableAltWinstation[]; extern const char kDisableAudio[]; extern const char kDisableByteRangeSupport[]; extern const char kDisableCustomJumpList[]; extern const char kDisableDesktopNotifications[]; extern const char kDisableDevTools[]; extern const char kDisableExtensions[]; extern const char kDisableHangMonitor[]; extern const char kDisableIPv6[]; extern const char kDisableImages[]; extern const char kDisableJavaScript[]; extern const char kDisableJava[]; extern const char kDisableLogging[]; extern const char kDisableMetrics[]; extern const char kDisableNewTabFirstRun[]; extern const char kDisablePlugins[]; extern const char kDisablePopupBlocking[]; extern const char kDisablePromptOnRepost[]; extern const char kDisableSharedWorkers[]; extern const char kDisableSync[]; extern const char kDisableWebResources[]; extern const char kDisableWebSecurity[]; extern const char kDisableWebSockets[]; extern const char kDisableXSSAuditor[]; 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 kEnableApplicationCache[]; extern const char kEnableBenchmarking[]; extern const char kEnableDatabases[]; extern const char kEnableExperimentalExtensionApis[]; extern const char kEnableExperimentalWebGL[]; extern const char kEnableExtensionTimelineApi[]; extern const char kEnableFastback[]; extern const char kEnableFileCookies[]; extern const char kEnableJsOnFileUrls[]; extern const char kDisableLocalStorage[]; extern const char kEnableLogging[]; extern const char kEnableMonitorProfile[]; extern const char kEnableNativeWebWorkers[]; extern const char kEnableNewAutoFill[]; extern const char kEnableRemoteFonts[]; extern const char kEnableRendererAccessibility[]; extern const char kEnableSeccompSandbox[]; extern const char kEnableSessionStorage[]; extern const char kEnableStatsTable[]; extern const char kEnableSync[]; extern const char kEnableUserDataDirProfiles[]; extern const char kEnableUserScripts[]; extern const char kEnableWatchdog[]; extern const char kExperimentalSpellcheckerFeatures[]; 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 kHideIcons[]; extern const char kHomePage[]; extern const char kImport[]; extern const char kInProcessPlugins[]; extern const char kIncognito[]; extern const char kInternalNaCl[]; extern const char kJavaScriptFlags[]; extern const char kLoadExtension[]; extern const char kLoadPlugin[]; 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 kNaClProcess[]; extern const char kNewTabPage[]; extern const char kNoDefaultBrowserCheck[]; extern const char kNoEvents[]; extern const char kNoFirstRun[]; extern const char kNoJsRandomness[]; extern const char kNoProxyServer[]; extern const char kNoSandbox[]; extern const char kOmniBoxPopupCount[]; extern const char kPackExtension[]; extern const char kPackExtensionKey[]; extern const char kParentProfile[]; extern const char kPinnedTabCount[]; 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 kPrint[]; extern const char kPrivacyBlacklist[]; extern const char kProcessPerSite[]; extern const char kProcessPerTab[]; 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 kRemoteShellPort[]; extern const char kRendererAssertTest[]; extern const char kRendererCmdPrefix[]; extern const char kRendererCrashTest[]; extern const char kRendererProcess[]; extern const char kRendererStartupDialog[]; extern const char kRestoreLastSession[]; extern const char kSafePlugins[]; extern const char kSdchFilter[]; extern const char kSearchInOmniboxHint[]; extern const char kShowExtensionsOnTop[]; extern const char kShowIcons[]; extern const char kSilentDumpOnDCHECK[]; extern const char kSimpleDataSource[]; extern const char kSingleProcess[]; extern const char kStartMaximized[]; extern const char kSyncServiceURL[]; extern const char kSyncerThreadTimedStop[]; extern const char kTabCountToLoadOnSessionRestore[]; extern const char kTestName[]; extern const char kTestSandbox[]; extern const char kTestingChannelID[]; extern const char kThumbnailStore[]; extern const char kTrustedPlugins[]; extern const char kTryChromeAgain[]; extern const char kUninstall[]; extern const char kUseFlip[]; extern const char kFixedServer[]; 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 kWaitForDebuggerChildren[]; extern const char kWebWorkerProcessPerCore[]; extern const char kWebWorkerShareProcesses[]; extern const char kWinHttpProxyResolver[]; extern const char kWininetFtp[]; extern const char kWorkerProcess[]; extern const char kWorkerStartupDialog[]; extern const char kZygoteCmdPrefix[]; extern const char kZygoteProcess[]; #if defined(OS_CHROMEOS) extern const char kCookiePipe[]; extern const char kEnableGView[]; extern const char kTestLoadLibcros[]; #endif #if defined(OS_LINUX) extern const char kAutoSSLClientAuth[]; #endif #if defined(OS_POSIX) extern const char kEnableCrashReporter[]; extern const char kNoProcessSingletonDialog[]; #endif #if defined(OS_MACOSX) extern const char kEnableSandboxLogging[]; #else extern const char kKioskMode[]; #endif #ifndef NDEBUG extern const char kGearsPluginPathOverride[]; #endif // 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_