| 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 23 matching lines...) Expand all Loading... |
| 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 | 40 // Specifies comma separated list of extension ids to grant access to local |
| 41 // websocket proxy. | 41 // websocket proxy. |
| 42 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; | 42 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; |
| 43 | 43 |
| 44 // Allows WebUI based OOBE. Note, WebUI will be used iff kWebUILogin is also |
| 45 // true. |
| 46 const char kAllowWebUIOobe[] = "allow-webui-oobe"; |
| 47 |
| 44 // This prevents Chrome from requiring authorization to run certain widely | 48 // This prevents Chrome from requiring authorization to run certain widely |
| 45 // installed but less commonly used plug-ins. | 49 // installed but less commonly used plug-ins. |
| 46 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 50 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
| 47 | 51 |
| 48 // Enable web inspector for all windows, even if they're part of the browser. | 52 // Enable web inspector for all windows, even if they're part of the browser. |
| 49 // Allows us to use our dev tools to debug browser windows itself. | 53 // Allows us to use our dev tools to debug browser windows itself. |
| 50 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 54 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
| 51 | 55 |
| 52 // Specifies that the associated value should be launched in "application" mode. | 56 // Specifies that the associated value should be launched in "application" mode. |
| 53 const char kApp[] = "app"; | 57 const char kApp[] = "app"; |
| (...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 | 1175 |
| 1172 // ----------------------------------------------------------------------------- | 1176 // ----------------------------------------------------------------------------- |
| 1173 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1177 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1174 // | 1178 // |
| 1175 // You were going to just dump your switches here, weren't you? Instead, | 1179 // You were going to just dump your switches here, weren't you? Instead, |
| 1176 // please put them in alphabetical order above, or in order inside the | 1180 // please put them in alphabetical order above, or in order inside the |
| 1177 // appropriate ifdef at the bottom. The order should match the header. | 1181 // appropriate ifdef at the bottom. The order should match the header. |
| 1178 // ----------------------------------------------------------------------------- | 1182 // ----------------------------------------------------------------------------- |
| 1179 | 1183 |
| 1180 } // namespace switches | 1184 } // namespace switches |
| OLD | NEW |