controller_pairing_screen_actor.cc revision 116680a4aac90f2aa7413d9095a592090648e557
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.
4
5#include "chrome/browser/chromeos/login/screens/controller_pairing_screen_actor.h"
6
7namespace chromeos {
8
9namespace controller_pairing {
10
11// Keep these constants synced with corresponding constants defined in
12// oobe_screen_controller_pairing.js.
13const char kContextKeyPage[] = "page";
14const char kContextKeyControlsDisabled[] = "controlsDisabled";
15const char kContextKeyDevices[] = "devices";
16const char kContextKeyConfirmationCode[] = "code";
17const char kContextKeySelectedDevice[] = "selectedDevice";
18const char kContextKeyAccountId[] = "accountId";
19const char kContextKeyEnrollmentDomain[] = "enrollmentDomain";
20
21const char kPageDevicesDiscovery[] = "devices-discovery";
22const char kPageDeviceSelect[] = "device-select";
23const char kPageDeviceNotFound[] = "device-not-found";
24const char kPageEstablishingConnection[] = "establishing-connection";
25const char kPageEstablishingConnectionError[] = "establishing-connection-error";
26const char kPageCodeConfirmation[] = "code-confirmation";
27const char kPageHostUpdate[] = "host-update";
28const char kPageHostConnectionLost[] = "host-connection-lost";
29const char kPageEnrollmentIntroduction[] = "enrollment-introduction";
30const char kPageAuthentication[] = "authentication";
31const char kPageHostEnrollment[] = "host-enrollment";
32const char kPageHostEnrollmentError[] = "host-enrollment-error";
33const char kPagePairingDone[] = "pairing-done";
34
35const char kActionChooseDevice[] = "chooseDevice";
36const char kActionRepeatDiscovery[] = "repeatDiscovery";
37const char kActionAcceptCode[] = "acceptCode";
38const char kActionRejectCode[] = "rejectCode";
39const char kActionProceedToAuthentication[] = "proceedToAuthentication";
40const char kActionEnroll[] = "enroll";
41const char kActionStartSession[] = "startSession";
42
43}  // namespace controller_pairing
44
45ControllerPairingScreenActor::ControllerPairingScreenActor() {
46}
47
48ControllerPairingScreenActor::~ControllerPairingScreenActor() {
49}
50
51}  // namespace chromeos
52