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 22 matching lines...) Expand all Loading... |
33 // useful for automation testing of the gallery. | 33 // useful for automation testing of the gallery. |
34 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 34 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
35 | 35 |
36 // Specifies comma separated list of extension ids to grant access to local | 36 // Specifies comma separated list of extension ids to grant access to local |
37 // websocket proxy. | 37 // websocket proxy. |
38 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; | 38 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; |
39 | 39 |
40 // Allow compositing on chrome:// pages. | 40 // Allow compositing on chrome:// pages. |
41 const char kAllowWebUICompositing[] = "allow-webui-compositing"; | 41 const char kAllowWebUICompositing[] = "allow-webui-compositing"; |
42 | 42 |
43 // Allows WebUI based OOBE. Note, WebUI will be used iff kWebUILogin is also | |
44 // true. | |
45 const char kAllowWebUIOobe[] = "allow-webui-oobe"; | |
46 | |
47 // This prevents Chrome from requiring authorization to run certain widely | 43 // This prevents Chrome from requiring authorization to run certain widely |
48 // installed but less commonly used plug-ins. | 44 // installed but less commonly used plug-ins. |
49 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 45 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
50 | 46 |
51 // Specifies that the associated value should be launched in "application" mode. | 47 // Specifies that the associated value should be launched in "application" mode. |
52 const char kApp[] = "app"; | 48 const char kApp[] = "app"; |
53 | 49 |
54 // Specifies that the extension-app with the specified id should be launched | 50 // Specifies that the extension-app with the specified id should be launched |
55 // according to its configuration. | 51 // according to its configuration. |
56 const char kAppId[] = "app-id"; | 52 const char kAppId[] = "app-id"; |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 const char kUserScriptsDir[] = "user-scripts-dir"; | 1016 const char kUserScriptsDir[] = "user-scripts-dir"; |
1021 | 1017 |
1022 // Print version information and quit. | 1018 // Print version information and quit. |
1023 const char kVersion[] = "version"; | 1019 const char kVersion[] = "version"; |
1024 | 1020 |
1025 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1021 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is |
1026 // to use Chromium's network stack to fetch, and V8 to evaluate. | 1022 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1027 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1023 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1028 | 1024 |
1029 #if defined(OS_CHROMEOS) | 1025 #if defined(OS_CHROMEOS) |
1030 // Enable WebUI based login screens. | 1026 // Enable WebUI based OOBE and login. |
1031 const char kWebUILogin[] = "webui-login"; | 1027 const char kWebUILogin[] = "webui-login"; |
1032 | 1028 |
1033 // Skips OAuth part of ChromeOS login process. | 1029 // Skips OAuth part of ChromeOS login process. |
1034 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1030 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
1035 | 1031 |
1036 // Enable WebUI login screen hosted by GAIA authentication extension. | |
1037 const char kWebUIGaiaLogin[] = "webui-gaia-login"; | |
1038 | |
1039 // Enables device policy support on ChromeOS. | 1032 // Enables device policy support on ChromeOS. |
1040 const char kEnableDevicePolicy[] = "enable-device-policy"; | 1033 const char kEnableDevicePolicy[] = "enable-device-policy"; |
1041 | 1034 |
1042 // Enable the redirection of viewable document requests to the Google | 1035 // Enable the redirection of viewable document requests to the Google |
1043 // Document Viewer. | 1036 // Document Viewer. |
1044 const char kEnableGView[] = "enable-gview"; | 1037 const char kEnableGView[] = "enable-gview"; |
1045 | 1038 |
1046 // Should we show the image based login? | 1039 // Should we show the image based login? |
1047 const char kEnableLoginImages[] = "enable-login-images"; | 1040 const char kEnableLoginImages[] = "enable-login-images"; |
1048 | 1041 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1239 | 1232 |
1240 // ----------------------------------------------------------------------------- | 1233 // ----------------------------------------------------------------------------- |
1241 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1242 // | 1235 // |
1243 // You were going to just dump your switches here, weren't you? Instead, | 1236 // You were going to just dump your switches here, weren't you? Instead, |
1244 // please put them in alphabetical order above, or in order inside the | 1237 // please put them in alphabetical order above, or in order inside the |
1245 // appropriate ifdef at the bottom. The order should match the header. | 1238 // appropriate ifdef at the bottom. The order should match the header. |
1246 // ----------------------------------------------------------------------------- | 1239 // ----------------------------------------------------------------------------- |
1247 | 1240 |
1248 } // namespace switches | 1241 } // namespace switches |
OLD | NEW |