| 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 kAllowOutdatedPlugins[]; |
| 27 extern const char kAllowSSLMITMProxies[]; | 27 extern const char kAllowSSLMITMProxies[]; |
| 28 extern const char kAllowSandboxDebugging[]; | 28 extern const char kAllowSandboxDebugging[]; |
| 29 extern const char kAllowScriptingGallery[]; | 29 extern const char kAllowScriptingGallery[]; |
| 30 extern const char kAlwaysAuthorizePlugins[]; |
| 30 extern const char kAlwaysEnableDevTools[]; | 31 extern const char kAlwaysEnableDevTools[]; |
| 31 extern const char kApp[]; | 32 extern const char kApp[]; |
| 32 extern const char kAppId[]; | 33 extern const char kAppId[]; |
| 33 extern const char kAppsGalleryReturnTokens[]; | 34 extern const char kAppsGalleryReturnTokens[]; |
| 34 extern const char kAppsGalleryURL[]; | 35 extern const char kAppsGalleryURL[]; |
| 35 extern const char kAppsGalleryUpdateURL[]; | 36 extern const char kAppsGalleryUpdateURL[]; |
| 36 extern const char kAppsNoThrob[]; | 37 extern const char kAppsNoThrob[]; |
| 37 extern const char kAuthNegotiateDelegateWhitelist[]; | 38 extern const char kAuthNegotiateDelegateWhitelist[]; |
| 38 extern const char kAuthSchemes[]; | 39 extern const char kAuthSchemes[]; |
| 39 extern const char kAuthServerWhitelist[]; | 40 extern const char kAuthServerWhitelist[]; |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 | 415 |
| 415 // Return true if the switches indicate the seccomp sandbox is enabled. | 416 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 416 bool SeccompSandboxEnabled(); | 417 bool SeccompSandboxEnabled(); |
| 417 | 418 |
| 418 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 419 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 419 // alphabetical order, or in one of the ifdefs (also in order in each section). | 420 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 420 | 421 |
| 421 } // namespace switches | 422 } // namespace switches |
| 422 | 423 |
| 423 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 424 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |