| Index: chromeos/chromeos_switches.cc
|
| diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
|
| index d546967b90d494464aff92bc3ba28812cefc13a7..cad4721633733ee7fc6b84825e8b608884c2822d 100644
|
| --- a/chromeos/chromeos_switches.cc
|
| +++ b/chromeos/chromeos_switches.cc
|
| @@ -21,15 +21,15 @@ const char kAuthExtensionPath[] = "auth-ext-path";
|
| // Forces the stub implementation of dbus clients.
|
| const char kDbusStub[] = "dbus-stub";
|
|
|
| -// All stub networks are idle by default.
|
| -const char kDefaultStubNetworkStateIdle[] = "default-stub-network-state-idle";
|
| -
|
| // Time before a machine at OOBE is considered derelict
|
| const char kDerelictDetectionTimeout[] = "derelict-detection-timeout";
|
|
|
| // Time before a derelict machines starts demo mode.
|
| const char kDerelictIdleTimeout[] = "derelict-idle-timeout";
|
|
|
| +// Integer flag that sets the DeviceRegistered local state pref.
|
| +const char kDeviceRegistered[] = "device-registered";
|
| +
|
| // Disables wallpaper boot animation (except of OOBE case).
|
| const char kDisableBootAnimation[] = "disable-boot-animation";
|
|
|
| @@ -93,25 +93,10 @@ const char kEnableCarrierSwitching[] = "enable-carrier-switching";
|
| const char kEnableNetworkPortalNotification[] =
|
| "enable-network-portal-notification";
|
|
|
| -// Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
|
| -const char kEnableStubInteractive[] = "enable-stub-interactive";
|
| -
|
| -// Enable stub portalled wifi network for testing.
|
| -const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi";
|
| -
|
| // Enables touchpad three-finger-click as middle button.
|
| const char kEnableTouchpadThreeFingerClick[]
|
| = "enable-touchpad-three-finger-click";
|
|
|
| -// Specifies stub network types to be enabled. If this switch is not specified,
|
| -// ethernet, wifi and vpn are enabled by default.
|
| -//
|
| -// Examples:
|
| -// Disable all network types: --enabled-stub-network-types=''
|
| -// Enable wifi only: --enabled-stub-network-types=wifi
|
| -// Enable ethernet and wifi: --enabled-stub-network-types=ethernet,wifi
|
| -const char kEnabledStubNetworkTypes[] = "enabled-stub-network-types";
|
| -
|
| // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather
|
| // than the kiosk app mode.
|
| const char kEnableKioskMode[] = "enable-kiosk-mode";
|
| @@ -184,8 +169,23 @@ const char kNaturalScrollDefault[] = "enable-natural-scroll-default";
|
| // Skips all other OOBE pages after user login.
|
| const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
|
|
|
| -// Integer flag that sets the DeviceRegistered local state pref.
|
| -const char kDeviceRegistered[] = "device-registered";
|
| +// Specifies power stub behavior:
|
| +// 'cycle=2' - Cycles power states every 2 seconds.
|
| +// See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
|
| +const char kPowerStub[] = "power-stub";
|
| +
|
| +// Specifies network stub behavior. If this switch is not specified,
|
| +// ethernet, wifi and vpn are enabled by default, and transitions occur
|
| +// instantaneously. Multiple options can be comma separated (no spaces).
|
| +// See FakeDBusThreadManager::ParseShillCommandLineSwitch for full details.
|
| +// Examples:
|
| +// 'wifi=off' - Wifi networks are all initially disconnected
|
| +// 'wifi=disabled' - Wifi is initially disabled
|
| +// 'wifi=none' - Wifi is unavailable
|
| +// 'wifi=portal' - Wifi connection will be in Portal state
|
| +// 'cellular' - Cellular is initially connected
|
| +// 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs
|
| +const char kShillStub[] = "shill-stub";
|
|
|
| // Skips the machine hwid check. Useful for running in VMs because they have no
|
| // hwid.
|
|
|