OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 // .cc files corresponding to the *_switches.h files included above | 24 // .cc files corresponding to the *_switches.h files included above |
25 // instead. | 25 // instead. |
26 // ----------------------------------------------------------------------------- | 26 // ----------------------------------------------------------------------------- |
27 | 27 |
28 // All switches in alphabetical order. The switches should be documented | 28 // All switches in alphabetical order. The switches should be documented |
29 // alongside the definition of their values in the .cc file. | 29 // alongside the definition of their values in the .cc file. |
30 extern const char kActivateExistingProfileBrowser[]; | 30 extern const char kActivateExistingProfileBrowser[]; |
31 extern const char kAllowCrossOriginAuthPrompt[]; | 31 extern const char kAllowCrossOriginAuthPrompt[]; |
32 extern const char kAllowFileAccess[]; | 32 extern const char kAllowFileAccess[]; |
33 extern const char kAllowHttpScreenCapture[]; | 33 extern const char kAllowHttpScreenCapture[]; |
| 34 extern const char kAllowInsecureLocalhost[]; |
34 extern const char kAllowOutdatedPlugins[]; | 35 extern const char kAllowOutdatedPlugins[]; |
35 extern const char kAllowRunningInsecureContent[]; | 36 extern const char kAllowRunningInsecureContent[]; |
36 extern const char kAlternateProtocolProbabilityThreshold[]; | 37 extern const char kAlternateProtocolProbabilityThreshold[]; |
37 extern const char kAlwaysAuthorizePlugins[]; | 38 extern const char kAlwaysAuthorizePlugins[]; |
38 extern const char kAppId[]; | 39 extern const char kAppId[]; |
39 extern const char kApp[]; | 40 extern const char kApp[]; |
40 extern const char kAppsCheckoutURL[]; | 41 extern const char kAppsCheckoutURL[]; |
41 extern const char kAppsGalleryDownloadURL[]; | 42 extern const char kAppsGalleryDownloadURL[]; |
42 extern const char kAppsGalleryURL[]; | 43 extern const char kAppsGalleryURL[]; |
43 extern const char kAppsGalleryUpdateURL[]; | 44 extern const char kAppsGalleryUpdateURL[]; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 #if defined(OS_CHROMEOS) | 408 #if defined(OS_CHROMEOS) |
408 bool PowerOverlayEnabled(); | 409 bool PowerOverlayEnabled(); |
409 #endif | 410 #endif |
410 | 411 |
411 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 412 // 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). | 413 // alphabetical order, or in one of the ifdefs (also in order in each section). |
413 | 414 |
414 } // namespace switches | 415 } // namespace switches |
415 | 416 |
416 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |