OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chromeos/chromeos_switches.h" | 5 #include "chromeos/chromeos_switches.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Path for app's OEM manifest file. | 10 // Path for app's OEM manifest file. |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const char kOobeTimerInterval[] = "oobe-timer-interval"; | 193 const char kOobeTimerInterval[] = "oobe-timer-interval"; |
194 | 194 |
195 // Indicates that a guest session has been started before OOBE completion. | 195 // Indicates that a guest session has been started before OOBE completion. |
196 const char kOobeGuestSession[] = "oobe-guest-session"; | 196 const char kOobeGuestSession[] = "oobe-guest-session"; |
197 | 197 |
198 // Specifies power stub behavior: | 198 // Specifies power stub behavior: |
199 // 'cycle=2' - Cycles power states every 2 seconds. | 199 // 'cycle=2' - Cycles power states every 2 seconds. |
200 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. | 200 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. |
201 const char kPowerStub[] = "power-stub"; | 201 const char kPowerStub[] = "power-stub"; |
202 | 202 |
203 // Specifies network stub behavior. If this switch is not specified, | 203 // Overrides network stub behavior. By default, ethernet, wifi and vpn are |
204 // ethernet, wifi and vpn are enabled by default, and transitions occur | 204 // enabled, and transitions occur instantaneously. Multiple options can be |
205 // instantaneously. Multiple options can be comma separated (no spaces). | 205 // comma separated (no spaces). Note: all options are in the format 'foo=x'. |
206 // See FakeShillManagerClient::SetInitialNetworkState for implementation. | 206 // See FakeShillManagerClient::SetInitialNetworkState for implementation. |
207 // Examples: | 207 // Examples: |
| 208 // 'clear=1' - Clears all default configurations |
208 // 'wifi=on' - A wifi network is initially connected ('1' also works) | 209 // 'wifi=on' - A wifi network is initially connected ('1' also works) |
209 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) | 210 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) |
210 // 'wifi=disabled' - Wifi is initially disabled | 211 // 'wifi=disabled' - Wifi is initially disabled |
211 // 'wifi=none' - Wifi is unavailable | 212 // 'wifi=none' - Wifi is unavailable |
212 // 'wifi=portal' - Wifi connection will be in Portal state | 213 // 'wifi=portal' - Wifi connection will be in Portal state |
213 // 'cellular=1' - Cellular is initially connected | 214 // 'cellular=1' - Cellular is initially connected |
214 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs | 215 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs |
215 const char kShillStub[] = "shill-stub"; | 216 const char kShillStub[] = "shill-stub"; |
216 | 217 |
217 // If this switch is set, controller pairing process is displayed after update | 218 // If this switch is set, controller pairing process is displayed after update |
(...skipping 16 matching lines...) Expand all Loading... |
234 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 235 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
235 | 236 |
236 // Forces first-run UI to be shown for every login. | 237 // Forces first-run UI to be shown for every login. |
237 const char kForceFirstRunUI[] = "force-first-run-ui"; | 238 const char kForceFirstRunUI[] = "force-first-run-ui"; |
238 | 239 |
239 // Enables testing for auto update UI. | 240 // Enables testing for auto update UI. |
240 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; | 241 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; |
241 | 242 |
242 } // namespace switches | 243 } // namespace switches |
243 } // namespace chromeos | 244 } // namespace chromeos |
OLD | NEW |