OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 kAllowFileAccessFromFiles[]; | |
24 extern const char kAllowSandboxDebugging[]; | 23 extern const char kAllowSandboxDebugging[]; |
25 extern const char kAlwaysEnableDevTools[]; | 24 extern const char kAlwaysEnableDevTools[]; |
26 extern const char kApp[]; | 25 extern const char kApp[]; |
27 extern const char kAppId[]; | 26 extern const char kAppId[]; |
28 extern const char kAppLaunchAsPanel[]; | 27 extern const char kAppLaunchAsPanel[]; |
29 extern const char kAutomationClientChannelID[]; | 28 extern const char kAutomationClientChannelID[]; |
30 extern const char kBookmarkMenu[]; | 29 extern const char kBookmarkMenu[]; |
31 extern const char kBrowserAssertTest[]; | 30 extern const char kBrowserAssertTest[]; |
32 extern const char kBrowserCrashTest[]; | 31 extern const char kBrowserCrashTest[]; |
33 extern const char kBrowserSubprocessPath[]; | 32 extern const char kBrowserSubprocessPath[]; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 extern const char kGearsPluginPathOverride[]; | 244 extern const char kGearsPluginPathOverride[]; |
246 extern const char kInvalidateSyncLogin[]; | 245 extern const char kInvalidateSyncLogin[]; |
247 #endif | 246 #endif |
248 | 247 |
249 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 248 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
250 // alphabetical order, or in one of the ifdefs (also in order in each section). | 249 // alphabetical order, or in one of the ifdefs (also in order in each section). |
251 | 250 |
252 } // namespace switches | 251 } // namespace switches |
253 | 252 |
254 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 253 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |