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" | |
20 | 16 |
21 namespace switches { | 17 namespace switches { |
22 | 18 |
23 // ----------------------------------------------------------------------------- | 19 // ----------------------------------------------------------------------------- |
24 // Can't find the switch you are looking for? Try looking in | 20 // Can't find the switch you are looking for? Try looking in |
25 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the | 21 // media/base/media_switches.cc or ui/gl/gl_switches.cc or one of the |
26 // .cc files corresponding to the *_switches.h files included above | 22 // .cc files corresponding to the *_switches.h files included above |
27 // instead. | 23 // instead. |
28 // ----------------------------------------------------------------------------- | 24 // ----------------------------------------------------------------------------- |
29 | 25 |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 #if defined(ENABLE_TASK_MANAGER) | 417 #if defined(ENABLE_TASK_MANAGER) |
422 bool NewTaskManagerEnabled(); | 418 bool NewTaskManagerEnabled(); |
423 #endif // defined(ENABLE_TASK_MANAGER) | 419 #endif // defined(ENABLE_TASK_MANAGER) |
424 | 420 |
425 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 421 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
426 // alphabetical order, or in one of the ifdefs (also in order in each section). | 422 // alphabetical order, or in one of the ifdefs (also in order in each section). |
427 | 423 |
428 } // namespace switches | 424 } // namespace switches |
429 | 425 |
430 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 426 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |