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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
14 #include "content/public/common/content_switches.h" | 14 #include "content/public/common/content_switches.h" |
15 | 15 |
16 namespace switches { | 16 namespace switches { |
17 | 17 |
18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
19 // Can't find the switch you are looking for? Try looking in | 19 // Can't find the switch you are looking for? Try looking in |
20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or | 20 // ui/gl/gl_switches.cc or base/base_switches.cc or |
21 // content/public/common/content_switches.cc or media/base/media_switches.cc | 21 // content/public/common/content_switches.cc or media/base/media_switches.cc |
22 // instead. | 22 // instead. |
23 // ----------------------------------------------------------------------------- | 23 // ----------------------------------------------------------------------------- |
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 kAllowCrossOriginAuthPrompt[]; | 27 extern const char kAllowCrossOriginAuthPrompt[]; |
28 extern const char kAllowFileAccess[]; | 28 extern const char kAllowFileAccess[]; |
29 extern const char kAllowHTTPBackgroundPage[]; | 29 extern const char kAllowHTTPBackgroundPage[]; |
30 extern const char kAllowLegacyExtensionManifests[]; | 30 extern const char kAllowLegacyExtensionManifests[]; |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 #else | 418 #else |
419 extern const char kEnablePrintPreview[]; | 419 extern const char kEnablePrintPreview[]; |
420 #endif | 420 #endif |
421 | 421 |
422 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 422 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
423 // alphabetical order, or in one of the ifdefs (also in order in each section). | 423 // alphabetical order, or in one of the ifdefs (also in order in each section). |
424 | 424 |
425 } // namespace switches | 425 } // namespace switches |
426 | 426 |
427 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 427 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |