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 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 const char kVersion[] = "version"; | 1024 const char kVersion[] = "version"; |
1025 | 1025 |
1026 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1026 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is |
1027 // to use Chromium's network stack to fetch, and V8 to evaluate. | 1027 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1028 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1028 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1029 | 1029 |
1030 #if defined(OS_CHROMEOS) | 1030 #if defined(OS_CHROMEOS) |
1031 // Enable WebUI based login screens. | 1031 // Enable WebUI based login screens. |
1032 const char kWebUILogin[] = "webui-login"; | 1032 const char kWebUILogin[] = "webui-login"; |
1033 | 1033 |
| 1034 // Skips OAuth part of ChromeOS login process. |
| 1035 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1036 |
1034 // Enable WebUI login screen hosted by GAIA authentication extension. | 1037 // Enable WebUI login screen hosted by GAIA authentication extension. |
1035 const char kWebUIGaiaLogin[] = "webui-gaia-login"; | 1038 const char kWebUIGaiaLogin[] = "webui-gaia-login"; |
1036 | 1039 |
1037 // Enables device policy support on ChromeOS. | 1040 // Enables device policy support on ChromeOS. |
1038 const char kEnableDevicePolicy[] = "enable-device-policy"; | 1041 const char kEnableDevicePolicy[] = "enable-device-policy"; |
1039 | 1042 |
1040 // Enable the redirection of viewable document requests to the Google | 1043 // Enable the redirection of viewable document requests to the Google |
1041 // Document Viewer. | 1044 // Document Viewer. |
1042 const char kEnableGView[] = "enable-gview"; | 1045 const char kEnableGView[] = "enable-gview"; |
1043 | 1046 |
1044 // Should we show the image based login? | 1047 // Should we show the image based login? |
1045 const char kEnableLoginImages[] = "enable-login-images"; | 1048 const char kEnableLoginImages[] = "enable-login-images"; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 | 1243 |
1241 // ----------------------------------------------------------------------------- | 1244 // ----------------------------------------------------------------------------- |
1242 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1245 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1243 // | 1246 // |
1244 // You were going to just dump your switches here, weren't you? Instead, | 1247 // You were going to just dump your switches here, weren't you? Instead, |
1245 // please put them in alphabetical order above, or in order inside the | 1248 // please put them in alphabetical order above, or in order inside the |
1246 // appropriate ifdef at the bottom. The order should match the header. | 1249 // appropriate ifdef at the bottom. The order should match the header. |
1247 // ----------------------------------------------------------------------------- | 1250 // ----------------------------------------------------------------------------- |
1248 | 1251 |
1249 } // namespace switches | 1252 } // namespace switches |
OLD | NEW |