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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 19 matching lines...) Expand all Loading... |
30 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; | 30 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; |
31 | 31 |
32 // Don't block outdated plugins. | 32 // Don't block outdated plugins. |
33 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 33 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
34 | 34 |
35 // Allows injecting extensions and user scripts on the extensions | 35 // Allows injecting extensions and user scripts on the extensions |
36 // gallery site. Normally prevented for security reasons, but can be | 36 // gallery site. Normally prevented for security reasons, but can be |
37 // useful for automation testing of the gallery. | 37 // useful for automation testing of the gallery. |
38 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 38 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
39 | 39 |
| 40 // Specifies comma separated list of extension ids to grant access to local |
| 41 // websocket proxy. |
| 42 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; |
| 43 |
40 // This prevents Chrome from requiring authorization to run certain widely | 44 // This prevents Chrome from requiring authorization to run certain widely |
41 // installed but less commonly used plug-ins. | 45 // installed but less commonly used plug-ins. |
42 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 46 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
43 | 47 |
44 // Enable web inspector for all windows, even if they're part of the browser. | 48 // Enable web inspector for all windows, even if they're part of the browser. |
45 // Allows us to use our dev tools to debug browser windows itself. | 49 // Allows us to use our dev tools to debug browser windows itself. |
46 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 50 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
47 | 51 |
48 // Specifies that the associated value should be launched in "application" mode. | 52 // Specifies that the associated value should be launched in "application" mode. |
49 const char kApp[] = "app"; | 53 const char kApp[] = "app"; |
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 | 1182 |
1179 // ----------------------------------------------------------------------------- | 1183 // ----------------------------------------------------------------------------- |
1180 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1184 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1181 // | 1185 // |
1182 // You were going to just dump your switches here, weren't you? Instead, | 1186 // You were going to just dump your switches here, weren't you? Instead, |
1183 // please put them in alphabetical order above, or in order inside the | 1187 // please put them in alphabetical order above, or in order inside the |
1184 // appropriate ifdef at the bottom. The order should match the header. | 1188 // appropriate ifdef at the bottom. The order should match the header. |
1185 // ----------------------------------------------------------------------------- | 1189 // ----------------------------------------------------------------------------- |
1186 | 1190 |
1187 } // namespace switches | 1191 } // namespace switches |
OLD | NEW |