OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // ----------------------------------------------------------------------------- | 15 // ----------------------------------------------------------------------------- |
16 // Can't find the switch yo are looking for? Try looking in | 16 // Can't find the switch yo are looking for? Try looking in |
17 // base/base_switches.cc instead. | 17 // base/base_switches.cc instead. |
18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
19 | 19 |
20 // All switches in alphabetical order. The switches should be documented | 20 // All switches in alphabetical order. The switches should be documented |
21 // alongside the definition of their values in the .cc file. | 21 // alongside the definition of their values in the .cc file. |
22 extern const char kActivateOnLaunch[]; | 22 extern const char kActivateOnLaunch[]; |
23 extern const char kAllowSandboxDebugging[]; | 23 extern const char kAllowSandboxDebugging[]; |
24 extern const char kAlwaysEnableDevTools[]; | 24 extern const char kAlwaysEnableDevTools[]; |
25 extern const char kApp[]; | 25 extern const char kApp[]; |
26 extern const char kAutomationClientChannelID[]; | 26 extern const char kAutomationClientChannelID[]; |
| 27 extern const char kAutoPageTranslate[]; |
27 extern const char kBookmarkMenu[]; | 28 extern const char kBookmarkMenu[]; |
28 extern const char kBrowserAssertTest[]; | 29 extern const char kBrowserAssertTest[]; |
29 extern const char kBrowserCrashTest[]; | 30 extern const char kBrowserCrashTest[]; |
30 extern const char kBrowserSubprocessPath[]; | 31 extern const char kBrowserSubprocessPath[]; |
31 extern const char kChromeFrame[]; | 32 extern const char kChromeFrame[]; |
32 extern const char kCountry[]; | 33 extern const char kCountry[]; |
33 extern const char kDebugPrint[]; | 34 extern const char kDebugPrint[]; |
34 extern const char kDiagnostics[]; | 35 extern const char kDiagnostics[]; |
35 extern const char kDisableAltWinstation[]; | 36 extern const char kDisableAltWinstation[]; |
36 extern const char kDisableApplicationCache[]; | 37 extern const char kDisableApplicationCache[]; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 extern const char kGearsPluginPathOverride[]; | 225 extern const char kGearsPluginPathOverride[]; |
225 extern const char kInvalidateSyncLogin[]; | 226 extern const char kInvalidateSyncLogin[]; |
226 #endif | 227 #endif |
227 | 228 |
228 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 229 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
229 // alphabetical order, or in one of the ifdefs (also in order in each section). | 230 // alphabetical order, or in one of the ifdefs (also in order in each section). |
230 | 231 |
231 } // namespace switches | 232 } // namespace switches |
232 | 233 |
233 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 234 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |