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[]; |
23 extern const char kAllowSandboxDebugging[]; | 24 extern const char kAllowSandboxDebugging[]; |
24 extern const char kAlwaysEnableDevTools[]; | 25 extern const char kAlwaysEnableDevTools[]; |
25 extern const char kApp[]; | 26 extern const char kApp[]; |
26 extern const char kAppId[]; | 27 extern const char kAppId[]; |
27 extern const char kAppLaunchAsPanel[]; | 28 extern const char kAppLaunchAsPanel[]; |
28 extern const char kAutomationClientChannelID[]; | 29 extern const char kAutomationClientChannelID[]; |
29 extern const char kBookmarkMenu[]; | 30 extern const char kBookmarkMenu[]; |
30 extern const char kBrowserAssertTest[]; | 31 extern const char kBrowserAssertTest[]; |
31 extern const char kBrowserCrashTest[]; | 32 extern const char kBrowserCrashTest[]; |
32 extern const char kBrowserSubprocessPath[]; | 33 extern const char kBrowserSubprocessPath[]; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 extern const char kGearsPluginPathOverride[]; | 244 extern const char kGearsPluginPathOverride[]; |
244 extern const char kInvalidateSyncLogin[]; | 245 extern const char kInvalidateSyncLogin[]; |
245 #endif | 246 #endif |
246 | 247 |
247 // 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 |
248 // 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). |
249 | 250 |
250 } // namespace switches | 251 } // namespace switches |
251 | 252 |
252 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 253 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |