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 | 24 |
25 // All switches in alphabetical order. The switches should be documented | 25 // All switches in alphabetical order. The switches should be documented |
26 // alongside the definition of their values in the .cc file. | 26 // alongside the definition of their values in the .cc file. |
27 extern const char kActionBox[]; | 27 extern const char kActionBox[]; |
28 extern const char kAllowCrossOriginAuthPrompt[]; | 28 extern const char kAllowCrossOriginAuthPrompt[]; |
29 extern const char kAllowFileAccess[]; | 29 extern const char kAllowFileAccess[]; |
30 extern const char kAllowHTTPBackgroundPage[]; | 30 extern const char kAllowHTTPBackgroundPage[]; |
31 extern const char kAllowLegacyExtensionManifests[]; | 31 extern const char kAllowLegacyExtensionManifests[]; |
32 extern const char kAllowNaClSocketAPI[]; | 32 extern const char kAllowNaClSocketAPI[]; |
33 extern const char kAllowOutdatedPlugins[]; | 33 extern const char kAllowOutdatedPlugins[]; |
34 // TODO(hamaji): Remove this once the two issues are fixed. | |
35 // http://crbug.com/224753 http://crbug.com/220029 | |
36 extern const char kAllowRequestOSFileHandleAPI[]; | |
37 extern const char kAllowRunningInsecureContent[]; | 34 extern const char kAllowRunningInsecureContent[]; |
38 extern const char kAllowScriptingGallery[]; | 35 extern const char kAllowScriptingGallery[]; |
39 extern const char kAlwaysAuthorizePlugins[]; | 36 extern const char kAlwaysAuthorizePlugins[]; |
40 extern const char kAppId[]; | 37 extern const char kAppId[]; |
41 extern const char kApp[]; | 38 extern const char kApp[]; |
42 extern const char kAppsDevtool[]; | 39 extern const char kAppsDevtool[]; |
43 extern const char kAppWindowSize[]; | 40 extern const char kAppWindowSize[]; |
44 extern const char kAppsCheckoutURL[]; | 41 extern const char kAppsCheckoutURL[]; |
45 extern const char kAppsGalleryDownloadURL[]; | 42 extern const char kAppsGalleryDownloadURL[]; |
46 extern const char kAppsGalleryInstallAutoConfirmForTests[]; | 43 extern const char kAppsGalleryInstallAutoConfirmForTests[]; |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 #else | 481 #else |
485 extern const char kEnablePrintPreview[]; | 482 extern const char kEnablePrintPreview[]; |
486 #endif | 483 #endif |
487 | 484 |
488 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 485 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
489 // alphabetical order, or in one of the ifdefs (also in order in each section). | 486 // alphabetical order, or in one of the ifdefs (also in order in each section). |
490 | 487 |
491 } // namespace switches | 488 } // namespace switches |
492 | 489 |
493 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 490 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |