| 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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1096 // all of its state. | 1096 // all of its state. |
| 1097 const char kUserDataDir[] = "user-data-dir"; | 1097 const char kUserDataDir[] = "user-data-dir"; |
| 1098 | 1098 |
| 1099 // Prints version information and quits. | 1099 // Prints version information and quits. |
| 1100 const char kVersion[] = "version"; | 1100 const char kVersion[] = "version"; |
| 1101 | 1101 |
| 1102 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to | 1102 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to |
| 1103 // use Chromium's network stack to fetch, and V8 to evaluate. | 1103 // use Chromium's network stack to fetch, and V8 to evaluate. |
| 1104 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1104 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
| 1105 | 1105 |
| 1106 // Shows a memory consumption status area widget for OOM debugging. |
| 1107 const char kMemoryWidget[] = "memory-widget"; |
| 1108 |
| 1106 #if defined(OS_CHROMEOS) | 1109 #if defined(OS_CHROMEOS) |
| 1107 // Enables WebUI based lock screen. | 1110 // Enables WebUI based lock screen. |
| 1108 const char kWebUILockScreen[] = "webui-lock-screen"; | 1111 const char kWebUILockScreen[] = "webui-lock-screen"; |
| 1109 | 1112 |
| 1110 // Enables WebUI based OOBE and login. | 1113 // Enables WebUI based OOBE and login. |
| 1111 const char kWebUILogin[] = "webui-login"; | 1114 const char kWebUILogin[] = "webui-login"; |
| 1112 | 1115 |
| 1113 // Skips OAuth part of ChromeOS login process. | 1116 // Skips OAuth part of ChromeOS login process. |
| 1114 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1117 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1115 | 1118 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1143 // Allows to override the first login screen. The value should be the name of | 1146 // Allows to override the first login screen. The value should be the name of |
| 1144 // the first login screen to show (see | 1147 // the first login screen to show (see |
| 1145 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). | 1148 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). |
| 1146 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the | 1149 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the |
| 1147 // switch is no longer needed for testing. | 1150 // switch is no longer needed for testing. |
| 1148 const char kLoginScreen[] = "login-screen"; | 1151 const char kLoginScreen[] = "login-screen"; |
| 1149 | 1152 |
| 1150 // Controls the initial login screen size. Pass width,height. | 1153 // Controls the initial login screen size. Pass width,height. |
| 1151 const char kLoginScreenSize[] = "login-screen-size"; | 1154 const char kLoginScreenSize[] = "login-screen-size"; |
| 1152 | 1155 |
| 1153 // Shows a memory consumption status area widget for OOM debugging. | |
| 1154 const char kMemoryWidget[] = "memory-widget"; | |
| 1155 | |
| 1156 // Attempts to load libcros and validate it, then exits. A nonzero return code | 1156 // Attempts to load libcros and validate it, then exits. A nonzero return code |
| 1157 // means the library could not be loaded correctly. | 1157 // means the library could not be loaded correctly. |
| 1158 const char kTestLoadLibcros[] = "test-load-libcros"; | 1158 const char kTestLoadLibcros[] = "test-load-libcros"; |
| 1159 | 1159 |
| 1160 // Specifies the profile to use once a chromeos user is logged in. | 1160 // Specifies the profile to use once a chromeos user is logged in. |
| 1161 const char kLoginProfile[] = "login-profile"; | 1161 const char kLoginProfile[] = "login-profile"; |
| 1162 | 1162 |
| 1163 // Specifies the user which is already logged in. | 1163 // Specifies the user which is already logged in. |
| 1164 const char kLoginUser[] = "login-user"; | 1164 const char kLoginUser[] = "login-user"; |
| 1165 | 1165 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1297 | 1297 |
| 1298 // ----------------------------------------------------------------------------- | 1298 // ----------------------------------------------------------------------------- |
| 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1300 // | 1300 // |
| 1301 // You were going to just dump your switches here, weren't you? Instead, please | 1301 // You were going to just dump your switches here, weren't you? Instead, please |
| 1302 // put them in alphabetical order above, or in order inside the appropriate | 1302 // put them in alphabetical order above, or in order inside the appropriate |
| 1303 // ifdef at the bottom. The order should match the header. | 1303 // ifdef at the bottom. The order should match the header. |
| 1304 // ----------------------------------------------------------------------------- | 1304 // ----------------------------------------------------------------------------- |
| 1305 | 1305 |
| 1306 } // namespace switches | 1306 } // namespace switches |
| OLD | NEW |