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 "base/base_switches.h" |
10 #include "build/build_config.h" | 11 #include "build/build_config.h" |
11 | |
12 #include "base/base_switches.h" | |
13 #include "components/autofill/core/common/autofill_switches.h" | 12 #include "components/autofill/core/common/autofill_switches.h" |
14 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
15 | 14 |
| 15 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 16 |
| 17 namespace { |
| 18 #include "chrome/common/chrome_switches.cc" |
| 19 } // namespace |
| 20 |
| 21 #else |
| 22 |
16 namespace switches { | 23 namespace switches { |
17 | 24 |
18 // ----------------------------------------------------------------------------- | 25 // ----------------------------------------------------------------------------- |
19 // Can't find the switch you are looking for? Try looking in | 26 // Can't find the switch you are looking for? Try looking in |
20 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 27 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
21 // .cc files corresponding to the *_switches.h files included above | 28 // .cc files corresponding to the *_switches.h files included above |
22 // instead. | 29 // instead. |
23 // ----------------------------------------------------------------------------- | 30 // ----------------------------------------------------------------------------- |
24 | 31 |
25 // All switches in alphabetical order. The switches should be documented | 32 // All switches in alphabetical order. The switches should be documented |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 extern const char kDisablePrintPreview[]; | 456 extern const char kDisablePrintPreview[]; |
450 #else | 457 #else |
451 extern const char kEnablePrintPreview[]; | 458 extern const char kEnablePrintPreview[]; |
452 #endif | 459 #endif |
453 | 460 |
454 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 461 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
455 // alphabetical order, or in one of the ifdefs (also in order in each section). | 462 // alphabetical order, or in one of the ifdefs (also in order in each section). |
456 | 463 |
457 } // namespace switches | 464 } // namespace switches |
458 | 465 |
| 466 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
459 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 467 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |