1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h"
9 namespace controller_pairing
{
11 // Keep these constants synced with corresponding constants defined in
12 // oobe_screen_controller_pairing.js.
13 const char kContextKeyPage
[] = "page";
14 const char kContextKeyControlsDisabled
[] = "controlsDisabled";
15 const char kContextKeyDevices
[] = "devices";
16 const char kContextKeyConfirmationCode
[] = "code";
17 const char kContextKeySelectedDevice
[] = "selectedDevice";
18 const char kContextKeyAccountId
[] = "accountId";
19 const char kContextKeyEnrollmentDomain
[] = "enrollmentDomain";
21 const char kPageDevicesDiscovery
[] = "devices-discovery";
22 const char kPageDeviceSelect
[] = "device-select";
23 const char kPageDeviceNotFound
[] = "device-not-found";
24 const char kPageEstablishingConnection
[] = "establishing-connection";
25 const char kPageEstablishingConnectionError
[] = "establishing-connection-error";
26 const char kPageCodeConfirmation
[] = "code-confirmation";
27 const char kPageHostUpdate
[] = "host-update";
28 const char kPageHostConnectionLost
[] = "host-connection-lost";
29 const char kPageEnrollmentIntroduction
[] = "enrollment-introduction";
30 const char kPageAuthentication
[] = "authentication";
31 const char kPageHostEnrollment
[] = "host-enrollment";
32 const char kPageHostEnrollmentError
[] = "host-enrollment-error";
33 const char kPagePairingDone
[] = "pairing-done";
35 const char kActionChooseDevice
[] = "chooseDevice";
36 const char kActionRepeatDiscovery
[] = "repeatDiscovery";
37 const char kActionAcceptCode
[] = "acceptCode";
38 const char kActionRejectCode
[] = "rejectCode";
39 const char kActionProceedToAuthentication
[] = "proceedToAuthentication";
40 const char kActionEnroll
[] = "enroll";
41 const char kActionStartSession
[] = "startSession";
43 } // namespace controller_pairing
45 ControllerPairingScreenActor::ControllerPairingScreenActor() {
48 ControllerPairingScreenActor::~ControllerPairingScreenActor() {
51 } // namespace chromeos