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 #include "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // ----------------------------------------------------------------------------- | 11 // ----------------------------------------------------------------------------- |
12 // Can't find the switch you are looking for? try looking in | 12 // Can't find the switch you are looking for? try looking in |
13 // base/base_switches.cc instead. | 13 // base/base_switches.cc instead. |
14 // ----------------------------------------------------------------------------- | 14 // ----------------------------------------------------------------------------- |
15 | 15 |
16 // Activate (make foreground) myself on launch. Helpful when Chrome | 16 // Activate (make foreground) myself on launch. Helpful when Chrome |
17 // is launched on the command line (e.g. by Selenium). Only needed on Mac. | 17 // is launched on the command line (e.g. by Selenium). Only needed on Mac. |
18 const char kActivateOnLaunch[] = "activate-on-launch"; | 18 const char kActivateOnLaunch[] = "activate-on-launch"; |
19 | 19 |
20 // On ChromeOS, file:// access is disabled except for certain whitelisted | 20 // On ChromeOS, file:// access is disabled except for certain whitelisted |
21 // directories. This switch re-enables file:// for testing. | 21 // directories. This switch re-enables file:// for testing. |
22 const char kAllowFileAccess[] = "allow-file-access"; | 22 const char kAllowFileAccess[] = "allow-file-access"; |
23 | 23 |
24 // Don't block outdated plugins. | 24 // Don't block outdated plugins. |
25 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 25 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
26 | 26 |
27 // Disable checking of the renegotiation extension and any future checks over | |
28 // and above what a "traditional" SSL stack might do. This has been requested | |
29 // in order to support some web development tools that intercept SSL | |
30 // connections. | |
31 const char kAllowSSLMITMProxies[] = "allow-ssl-mitm-proxies"; | |
32 | |
33 // Allows injecting extensions and user scripts on the extensions | 27 // Allows injecting extensions and user scripts on the extensions |
34 // gallery site. Normally prevented for security reasons, but can be | 28 // gallery site. Normally prevented for security reasons, but can be |
35 // useful for automation testing of the gallery. | 29 // useful for automation testing of the gallery. |
36 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 30 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
37 | 31 |
38 // This prevents Chrome from requiring authorization to run certain widely | 32 // This prevents Chrome from requiring authorization to run certain widely |
39 // installed but less commonly used plug-ins. | 33 // installed but less commonly used plug-ins. |
40 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 34 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
41 | 35 |
42 // Enable web inspector for all windows, even if they're part of the browser. | 36 // Enable web inspector for all windows, even if they're part of the browser. |
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1217 | 1211 |
1218 // ----------------------------------------------------------------------------- | 1212 // ----------------------------------------------------------------------------- |
1219 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1213 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1220 // | 1214 // |
1221 // You were going to just dump your switches here, weren't you? Instead, | 1215 // You were going to just dump your switches here, weren't you? Instead, |
1222 // please put them in alphabetical order above, or in order inside the | 1216 // please put them in alphabetical order above, or in order inside the |
1223 // appropriate ifdef at the bottom. The order should match the header. | 1217 // appropriate ifdef at the bottom. The order should match the header. |
1224 // ----------------------------------------------------------------------------- | 1218 // ----------------------------------------------------------------------------- |
1225 | 1219 |
1226 } // namespace switches | 1220 } // namespace switches |
OLD | NEW |