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 #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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 25 matching lines...) Expand all Loading... |
36 const char kAllowSSLMITMProxies[] = "allow-ssl-mitm-proxies"; | 36 const char kAllowSSLMITMProxies[] = "allow-ssl-mitm-proxies"; |
37 | 37 |
38 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 38 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
39 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 39 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
40 | 40 |
41 // Allows injecting extensions and user scripts on the extensions | 41 // Allows injecting extensions and user scripts on the extensions |
42 // gallery site. Normally prevented for security reasons, but can be | 42 // gallery site. Normally prevented for security reasons, but can be |
43 // useful for automation testing of the gallery. | 43 // useful for automation testing of the gallery. |
44 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 44 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
45 | 45 |
| 46 // This prevents Chrome from requiring authorization to run certain widely |
| 47 // installed but less commonly used plug-ins. |
| 48 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
| 49 |
46 // Enable web inspector for all windows, even if they're part of the browser. | 50 // Enable web inspector for all windows, even if they're part of the browser. |
47 // Allows us to use our dev tools to debug browser windows itself. | 51 // Allows us to use our dev tools to debug browser windows itself. |
48 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 52 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
49 | 53 |
50 // Specifies that the associated value should be launched in "application" mode. | 54 // Specifies that the associated value should be launched in "application" mode. |
51 const char kApp[] = "app"; | 55 const char kApp[] = "app"; |
52 | 56 |
53 // Specifies that the extension-app with the specified id should be launched | 57 // Specifies that the extension-app with the specified id should be launched |
54 // according to its configuration. | 58 // according to its configuration. |
55 const char kAppId[] = "app-id"; | 59 const char kAppId[] = "app-id"; |
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1392 | 1396 |
1393 // ----------------------------------------------------------------------------- | 1397 // ----------------------------------------------------------------------------- |
1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1395 // | 1399 // |
1396 // You were going to just dump your switches here, weren't you? Instead, | 1400 // You were going to just dump your switches here, weren't you? Instead, |
1397 // please put them in alphabetical order above, or in order inside the | 1401 // please put them in alphabetical order above, or in order inside the |
1398 // appropriate ifdef at the bottom. The order should match the header. | 1402 // appropriate ifdef at the bottom. The order should match the header. |
1399 // ----------------------------------------------------------------------------- | 1403 // ----------------------------------------------------------------------------- |
1400 | 1404 |
1401 } // namespace switches | 1405 } // namespace switches |
OLD | NEW |