Chromium Code Reviews| 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 | |
|
Nikita (slow)
2011/06/07 09:29:52
nit: iff > if
altimofeev
2011/06/07 14:54:53
I meant "if and only if" here. Is it ok?
Nikita (slow)
2011/06/07 16:18:06
Sorry, wasn't obvious to me.
| |
| 45 // true. | |
| 46 const char kAllowWebUIOobe[] = "allow-webui-oobe"; | |
|
Nikita (slow)
2011/06/07 09:29:52
Just webui-oobe.
altimofeev
2011/06/07 14:54:53
Actually, it will not work without kWebUILogin. So
Nikita (slow)
2011/06/07 16:18:06
Ok, makes sense, to make it more clear.
| |
| 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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1181 | 1185 |
| 1182 // ----------------------------------------------------------------------------- | 1186 // ----------------------------------------------------------------------------- |
| 1183 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1187 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1184 // | 1188 // |
| 1185 // You were going to just dump your switches here, weren't you? Instead, | 1189 // You were going to just dump your switches here, weren't you? Instead, |
| 1186 // please put them in alphabetical order above, or in order inside the | 1190 // please put them in alphabetical order above, or in order inside the |
| 1187 // appropriate ifdef at the bottom. The order should match the header. | 1191 // appropriate ifdef at the bottom. The order should match the header. |
| 1188 // ----------------------------------------------------------------------------- | 1192 // ----------------------------------------------------------------------------- |
| 1189 | 1193 |
| 1190 } // namespace switches | 1194 } // namespace switches |
| OLD | NEW |