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 the shared command-line switches used by code in the Chrome | 5 // Defines the shared command-line switches used by code in the Chrome |
6 // directory that don't have anywhere more specific to go. | 6 // directory that don't have anywhere more specific to go. |
7 | 7 |
8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
9 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 // Don't add more switch files here. This is linked into some places like the | 13 // Don't add more switch files here. This is linked into some places like the |
14 // installer where dependencies should be limited. Instead, have files | 14 // installer where dependencies should be limited. Instead, have files |
15 // directly include your switch file. | 15 // directly include your switch file. |
| 16 // |
| 17 // TODO(brettw) delete content_switches.h include and make callers include that |
| 18 // file manually if they need a content switch. |
| 19 #include "content/public/common/content_switches.h" |
16 | 20 |
17 namespace switches { | 21 namespace switches { |
18 | 22 |
19 // ----------------------------------------------------------------------------- | 23 // ----------------------------------------------------------------------------- |
20 // Can't find the switch you are looking for? Try looking in | 24 // Can't find the switch you are looking for? Try looking in |
21 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 25 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
22 // .cc files corresponding to the *_switches.h files included above | 26 // .cc files corresponding to the *_switches.h files included above |
23 // instead. | 27 // instead. |
24 // ----------------------------------------------------------------------------- | 28 // ----------------------------------------------------------------------------- |
25 | 29 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 #if defined(ENABLE_TASK_MANAGER) | 422 #if defined(ENABLE_TASK_MANAGER) |
419 bool NewTaskManagerEnabled(); | 423 bool NewTaskManagerEnabled(); |
420 #endif // defined(ENABLE_TASK_MANAGER) | 424 #endif // defined(ENABLE_TASK_MANAGER) |
421 | 425 |
422 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 426 // 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). | 427 // alphabetical order, or in one of the ifdefs (also in order in each section). |
424 | 428 |
425 } // namespace switches | 429 } // namespace switches |
426 | 430 |
427 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 431 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |