summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_switches.cc
diff options
context:
space:
mode:
authordzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-04 15:42:31 +0000
committerdzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-04 15:42:31 +0000
commita384db51d860f9f2c46b7c532b0381147b49bd82 (patch)
tree213a733730510af15422336e9afbacc60c7c3b8e /chromeos/chromeos_switches.cc
parent8c30325501a76ec2fdd66bbfde16699d3f6332e2 (diff)
downloadchromium_src-a384db51d860f9f2c46b7c532b0381147b49bd82.zip
chromium_src-a384db51d860f9f2c46b7c532b0381147b49bd82.tar.gz
chromium_src-a384db51d860f9f2c46b7c532b0381147b49bd82.tar.bz2
Draft implementation of controller pairing UI.
Implemented paring UI for controller side. This implementation lacks styling, transitions, images and real strings. However it is fully functional, and can be used with FakeControllerPairingController or with real controller when it will be implented. For testing purposes "show-controller-pairing-demo" switch was added. If this switch is set, paring procedure will be emulated during OOBE. Demo flow will be configured with value of "show-controller-pairing-demo" option, or default config will be used if no value for the option is given. For config format see comments in fake_controller_pairing_controller.h. BUG=375191 TEST=none Review URL: https://codereview.chromium.org/342263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_switches.cc')
-rw-r--r--chromeos/chromeos_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index 97274d8..3c72811 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -205,6 +205,10 @@ const char kPowerStub[] = "power-stub";
// 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs
const char kShillStub[] = "shill-stub";
+// If this switch is set, controller pairing process is displayed after update
+// stage of OOBE.
+const char kShowControllerPairingDemo[] = "show-controller-pairing-demo";
+
// Sends test messages on first call to RequestUpdate (stub only).
const char kSmsTestMessages[] = "sms-test-messages";