OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
14 #include "content/common/content_switches.h" | 14 #include "content/common/content_switches.h" |
15 | 15 |
16 namespace switches { | 16 namespace switches { |
17 | 17 |
18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
19 // Can't find the switch you are looking for? Try looking in | 19 // Can't find the switch you are looking for? Try looking in |
20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or | 20 // ui/gfx/gl/gl_switches.cc or base/base_switches.cc or |
21 // content/common/content_switches.cc or media/base/media_switches.cc instead. | 21 // content/common/content_switches.cc or media/base/media_switches.cc instead. |
22 // ----------------------------------------------------------------------------- | 22 // ----------------------------------------------------------------------------- |
23 | 23 |
24 // All switches in alphabetical order. The switches should be documented | 24 // All switches in alphabetical order. The switches should be documented |
25 // alongside the definition of their values in the .cc file. | 25 // alongside the definition of their values in the .cc file. |
26 extern const char kActivateOnLaunch[]; | 26 extern const char kActivateOnLaunch[]; |
27 extern const char kAllowFileAccess[]; | 27 extern const char kAllowFileAccess[]; |
28 extern const char kAllowOutdatedPlugins[]; | 28 extern const char kAllowOutdatedPlugins[]; |
29 extern const char kAllowSSLMITMProxies[]; | |
30 extern const char kAllowScriptingGallery[]; | 29 extern const char kAllowScriptingGallery[]; |
31 extern const char kAlwaysAuthorizePlugins[]; | 30 extern const char kAlwaysAuthorizePlugins[]; |
32 extern const char kAlwaysEnableDevTools[]; | 31 extern const char kAlwaysEnableDevTools[]; |
33 extern const char kApp[]; | 32 extern const char kApp[]; |
34 extern const char kAppId[]; | 33 extern const char kAppId[]; |
35 extern const char kAppsGalleryReturnTokens[]; | 34 extern const char kAppsGalleryReturnTokens[]; |
36 extern const char kAppsGalleryURL[]; | 35 extern const char kAppsGalleryURL[]; |
37 extern const char kAppsGalleryUpdateURL[]; | 36 extern const char kAppsGalleryUpdateURL[]; |
38 extern const char kAppsNoThrob[]; | 37 extern const char kAppsNoThrob[]; |
39 extern const char kAuthNegotiateDelegateWhitelist[]; | 38 extern const char kAuthNegotiateDelegateWhitelist[]; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 #if defined(HAVE_XINPUT2) | 366 #if defined(HAVE_XINPUT2) |
368 extern const char kTouchDevices[]; | 367 extern const char kTouchDevices[]; |
369 #endif | 368 #endif |
370 | 369 |
371 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 370 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
372 // alphabetical order, or in one of the ifdefs (also in order in each section). | 371 // alphabetical order, or in one of the ifdefs (also in order in each section). |
373 | 372 |
374 } // namespace switches | 373 } // namespace switches |
375 | 374 |
376 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 375 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |