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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 const char kOobeTimerInterval[] = "oobe-timer-interval"; | 196 const char kOobeTimerInterval[] = "oobe-timer-interval"; |
197 | 197 |
198 // Indicates that a guest session has been started before OOBE completion. | 198 // Indicates that a guest session has been started before OOBE completion. |
199 const char kOobeGuestSession[] = "oobe-guest-session"; | 199 const char kOobeGuestSession[] = "oobe-guest-session"; |
200 | 200 |
201 // Specifies power stub behavior: | 201 // Specifies power stub behavior: |
202 // 'cycle=2' - Cycles power states every 2 seconds. | 202 // 'cycle=2' - Cycles power states every 2 seconds. |
203 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. | 203 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. |
204 const char kPowerStub[] = "power-stub"; | 204 const char kPowerStub[] = "power-stub"; |
205 | 205 |
206 // Specifies network stub behavior. If this switch is not specified, | 206 // Overrides network stub behavior. By default, ethernet, wifi and vpn are |
207 // ethernet, wifi and vpn are enabled by default, and transitions occur | 207 // enabled, and transitions occur instantaneously. Multiple options can be |
208 // instantaneously. Multiple options can be comma separated (no spaces). | 208 // comma separated (no spaces). Note: all options are in the format 'foo=x'. |
209 // See FakeShillManagerClient::SetInitialNetworkState for implementation. | 209 // See FakeShillManagerClient::SetInitialNetworkState for implementation. |
210 // Examples: | 210 // Examples: |
| 211 // 'clear=1' - Clears all default configurations |
211 // 'wifi=on' - A wifi network is initially connected ('1' also works) | 212 // 'wifi=on' - A wifi network is initially connected ('1' also works) |
212 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) | 213 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) |
213 // 'wifi=disabled' - Wifi is initially disabled | 214 // 'wifi=disabled' - Wifi is initially disabled |
214 // 'wifi=none' - Wifi is unavailable | 215 // 'wifi=none' - Wifi is unavailable |
215 // 'wifi=portal' - Wifi connection will be in Portal state | 216 // 'wifi=portal' - Wifi connection will be in Portal state |
216 // 'cellular=1' - Cellular is initially connected | 217 // 'cellular=1' - Cellular is initially connected |
217 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs | 218 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs |
218 const char kShillStub[] = "shill-stub"; | 219 const char kShillStub[] = "shill-stub"; |
219 | 220 |
220 // If this switch is set, controller pairing process is displayed after update | 221 // If this switch is set, controller pairing process is displayed after update |
(...skipping 20 matching lines...) Expand all Loading... |
241 | 242 |
242 // Turns on screenshot testing and specifies the directory where the | 243 // Turns on screenshot testing and specifies the directory where the |
243 // golden screenshots are stored. | 244 // golden screenshots are stored. |
244 const char kScreenshotDestinationDir[] = "screenshot-destination-dir"; | 245 const char kScreenshotDestinationDir[] = "screenshot-destination-dir"; |
245 | 246 |
246 // Enables testing for auto update UI. | 247 // Enables testing for auto update UI. |
247 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; | 248 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; |
248 | 249 |
249 } // namespace switches | 250 } // namespace switches |
250 } // namespace chromeos | 251 } // namespace chromeos |
OLD | NEW |