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 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
13 | 13 |
14 namespace switches { | 14 namespace switches { |
15 | 15 |
16 // ----------------------------------------------------------------------------- | 16 // ----------------------------------------------------------------------------- |
17 // Can't find the switch you are looking for? Try looking in | 17 // Can't find the switch you are looking for? Try looking in |
18 // base/base_switches.cc instead. | 18 // base/base_switches.cc instead. |
19 // ----------------------------------------------------------------------------- | 19 // ----------------------------------------------------------------------------- |
20 | 20 |
21 // All switches in alphabetical order. The switches should be documented | 21 // All switches in alphabetical order. The switches should be documented |
22 // alongside the definition of their values in the .cc file. | 22 // alongside the definition of their values in the .cc file. |
23 extern const char kActivateOnLaunch[]; | 23 extern const char kActivateOnLaunch[]; |
24 extern const char kAllowFileAccessFromFiles[]; | 24 extern const char kAllowFileAccessFromFiles[]; |
25 extern const char kAllowFileAccess[]; | 25 extern const char kAllowFileAccess[]; |
| 26 extern const char kAllowOutdatedPlugins[]; |
26 extern const char kAllowSSLMITMProxies[]; | 27 extern const char kAllowSSLMITMProxies[]; |
27 extern const char kAllowSandboxDebugging[]; | 28 extern const char kAllowSandboxDebugging[]; |
28 extern const char kAllowScriptingGallery[]; | 29 extern const char kAllowScriptingGallery[]; |
29 extern const char kAlwaysEnableDevTools[]; | 30 extern const char kAlwaysEnableDevTools[]; |
30 extern const char kApp[]; | 31 extern const char kApp[]; |
31 extern const char kAppId[]; | 32 extern const char kAppId[]; |
32 extern const char kAppsGalleryReturnTokens[]; | 33 extern const char kAppsGalleryReturnTokens[]; |
33 extern const char kAppsGalleryURL[]; | 34 extern const char kAppsGalleryURL[]; |
34 extern const char kAppsGalleryUpdateURL[]; | 35 extern const char kAppsGalleryUpdateURL[]; |
35 extern const char kAppsNoThrob[]; | 36 extern const char kAppsNoThrob[]; |
36 extern const char kAuthNegotiateDelegateWhitelist[]; | 37 extern const char kAuthNegotiateDelegateWhitelist[]; |
37 extern const char kAuthSchemes[]; | 38 extern const char kAuthSchemes[]; |
38 extern const char kAuthServerWhitelist[]; | 39 extern const char kAuthServerWhitelist[]; |
39 extern const char kAutomationClientChannelID[]; | 40 extern const char kAutomationClientChannelID[]; |
40 extern const char kBlockNonSandboxedPlugins[]; | |
41 extern const char kBlockOutdatedPlugins[]; | |
42 extern const char kBrowserAssertTest[]; | 41 extern const char kBrowserAssertTest[]; |
43 extern const char kBrowserCrashTest[]; | 42 extern const char kBrowserCrashTest[]; |
44 extern const char kBrowserSubprocessPath[]; | 43 extern const char kBrowserSubprocessPath[]; |
45 extern const char kCheckForUpdateIntervalSec[]; | 44 extern const char kCheckForUpdateIntervalSec[]; |
46 extern const char kChromeFrame[]; | 45 extern const char kChromeFrame[]; |
47 extern const char kChromeVersion[]; | 46 extern const char kChromeVersion[]; |
48 extern const char kCloudPrintProxyId[]; | 47 extern const char kCloudPrintProxyId[]; |
49 extern const char kCloudPrintServiceURL[]; | 48 extern const char kCloudPrintServiceURL[]; |
50 extern const char kConflictingModulesCheck[]; | 49 extern const char kConflictingModulesCheck[]; |
51 extern const char kCountry[]; | 50 extern const char kCountry[]; |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 406 |
408 // Return true if the switches indicate the seccomp sandbox is enabled. | 407 // Return true if the switches indicate the seccomp sandbox is enabled. |
409 bool SeccompSandboxEnabled(); | 408 bool SeccompSandboxEnabled(); |
410 | 409 |
411 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
412 // alphabetical order, or in one of the ifdefs (also in order in each section). | 411 // alphabetical order, or in one of the ifdefs (also in order in each section). |
413 | 412 |
414 } // namespace switches | 413 } // namespace switches |
415 | 414 |
416 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |