| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
| 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 extern const char kAllowSandboxDebugging[]; | 25 extern const char kAllowSandboxDebugging[]; |
| 26 extern const char kAllowScriptingGallery[]; | 26 extern const char kAllowScriptingGallery[]; |
| 27 extern const char kAlwaysEnableDevTools[]; | 27 extern const char kAlwaysEnableDevTools[]; |
| 28 extern const char kApp[]; | 28 extern const char kApp[]; |
| 29 extern const char kAppId[]; | 29 extern const char kAppId[]; |
| 30 extern const char kAppLaunchAsPanel[]; | 30 extern const char kAppLaunchAsPanel[]; |
| 31 extern const char kAppsDebug[]; | 31 extern const char kAppsDebug[]; |
| 32 extern const char kAppsPanel[]; | 32 extern const char kAppsPanel[]; |
| 33 extern const char kAppsGalleryURL[]; | 33 extern const char kAppsGalleryURL[]; |
| 34 extern const char kAppsNoThrob[]; | 34 extern const char kAppsNoThrob[]; |
| 35 extern const char kAuthSchemes[]; |
| 35 extern const char kAuthServerWhitelist[]; | 36 extern const char kAuthServerWhitelist[]; |
| 36 extern const char kAutomationClientChannelID[]; | 37 extern const char kAutomationClientChannelID[]; |
| 37 extern const char kBlockNonSandboxedPlugins[]; | 38 extern const char kBlockNonSandboxedPlugins[]; |
| 38 extern const char kBrowserAssertTest[]; | 39 extern const char kBrowserAssertTest[]; |
| 39 extern const char kBrowserCrashTest[]; | 40 extern const char kBrowserCrashTest[]; |
| 40 extern const char kBrowserSubprocessPath[]; | 41 extern const char kBrowserSubprocessPath[]; |
| 41 extern const char kChromeFrame[]; | 42 extern const char kChromeFrame[]; |
| 42 extern const char kCloudPrintProxyId[]; | 43 extern const char kCloudPrintProxyId[]; |
| 43 extern const char kCloudPrintServiceURL[]; | 44 extern const char kCloudPrintServiceURL[]; |
| 44 extern const char kCountry[]; | 45 extern const char kCountry[]; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 extern const char kEnableTabbedOptions[]; | 148 extern const char kEnableTabbedOptions[]; |
| 148 extern const char kEnableTouch[]; | 149 extern const char kEnableTouch[]; |
| 149 extern const char kEnableVerticalTabs[]; | 150 extern const char kEnableVerticalTabs[]; |
| 150 extern const char kEnableVideoFullscreen[]; | 151 extern const char kEnableVideoFullscreen[]; |
| 151 extern const char kEnableVideoLayering[]; | 152 extern const char kEnableVideoLayering[]; |
| 152 extern const char kEnableVideoLogging[]; | 153 extern const char kEnableVideoLogging[]; |
| 153 extern const char kEnableWatchdog[]; | 154 extern const char kEnableWatchdog[]; |
| 154 extern const char kEnableWin7Location[]; | 155 extern const char kEnableWin7Location[]; |
| 155 extern const char kEnableXSSAuditor[]; | 156 extern const char kEnableXSSAuditor[]; |
| 156 // Experimental features. | 157 // Experimental features. |
| 157 extern const char kExperimentalEnableNegotiateAuth[]; | |
| 158 extern const char kExperimentalSpellcheckerFeatures[]; | 158 extern const char kExperimentalSpellcheckerFeatures[]; |
| 159 // End experimental features. | 159 // End experimental features. |
| 160 extern const char kExplicitlyAllowedPorts[]; | 160 extern const char kExplicitlyAllowedPorts[]; |
| 161 extern const char kExtensionProcess[]; | 161 extern const char kExtensionProcess[]; |
| 162 extern const char kExtensionsUpdateFrequency[]; | 162 extern const char kExtensionsUpdateFrequency[]; |
| 163 extern const char kFileDescriptorLimit[]; | 163 extern const char kFileDescriptorLimit[]; |
| 164 extern const char kFirstRun[]; | 164 extern const char kFirstRun[]; |
| 165 extern const char kForceFieldTestNameAndValue[]; | 165 extern const char kForceFieldTestNameAndValue[]; |
| 166 extern const char kGpuLauncher[]; | 166 extern const char kGpuLauncher[]; |
| 167 extern const char kGpuProcess[]; | 167 extern const char kGpuProcess[]; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 #endif | 362 #endif |
| 363 // Return true if the switches indicate the seccomp sandbox is enabled. | 363 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 364 bool SeccompSandboxEnabled(); | 364 bool SeccompSandboxEnabled(); |
| 365 | 365 |
| 366 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 366 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 367 // alphabetical order, or in one of the ifdefs (also in order in each section). | 367 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 368 | 368 |
| 369 } // namespace switches | 369 } // namespace switches |
| 370 | 370 |
| 371 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 371 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |