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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 #if defined(ENABLE_TASK_MANAGER) | 418 #if defined(ENABLE_TASK_MANAGER) |
423 bool NewTaskManagerEnabled(); | 419 bool NewTaskManagerEnabled(); |
424 #endif // defined(ENABLE_TASK_MANAGER) | 420 #endif // defined(ENABLE_TASK_MANAGER) |
425 | 421 |
426 // 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 |
427 // 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). |
428 | 424 |
429 } // namespace switches | 425 } // namespace switches |
430 | 426 |
431 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 427 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |