Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1051)

Side by Side Diff: chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h

Issue 1535573002: 1) Add initialization error page; 2) Add connection error page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: We don't need to set enrollment related local state for a host device since Enrollment Screen doesn… Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace base { 10 namespace base {
11 class DictionaryValue; 11 class DictionaryValue;
12 } 12 }
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 namespace host_pairing { 16 namespace host_pairing {
17 17
18 // Keep these constants synced with corresponding constants defined in 18 // Keep these constants synced with corresponding constants defined in
19 // oobe_screen_host_pairing.js. 19 // oobe_screen_host_pairing.js.
20 // Conxtext keys. 20 // Conxtext keys.
21 extern const char kContextKeyPage[]; 21 extern const char kContextKeyPage[];
22 extern const char kContextKeyDeviceName[]; 22 extern const char kContextKeyDeviceName[];
23 extern const char kContextKeyConfirmationCode[]; 23 extern const char kContextKeyConfirmationCode[];
24 extern const char kContextKeyEnrollmentDomain[]; 24 extern const char kContextKeyEnrollmentDomain[];
25 extern const char kContextKeyUpdateProgress[]; 25 extern const char kContextKeyUpdateProgress[];
26 26
27 // Pages names. 27 // Pages names.
28 extern const char kPageWelcome[]; 28 extern const char kPageWelcome[];
29 extern const char kPageIntializationError[];
29 extern const char kPageCodeConfirmation[]; 30 extern const char kPageCodeConfirmation[];
31 extern const char kPageConnectionError[];
30 extern const char kPageSetupBasicConfiguration[]; 32 extern const char kPageSetupBasicConfiguration[];
31 extern const char kPageSetupNetworkError[]; 33 extern const char kPageSetupNetworkError[];
32 extern const char kPageUpdate[]; 34 extern const char kPageUpdate[];
33 extern const char kPageEnrollmentIntroduction[]; 35 extern const char kPageEnrollmentIntroduction[];
34 extern const char kPageEnrollment[]; 36 extern const char kPageEnrollment[];
35 extern const char kPageEnrollmentError[]; 37 extern const char kPageEnrollmentError[];
36 extern const char kPagePairingDone[]; 38 extern const char kPagePairingDone[];
37 39
38 } // namespace host_pairing 40 } // namespace host_pairing
39 41
(...skipping 13 matching lines...) Expand all
53 virtual void SetDelegate(Delegate* delegate) = 0; 55 virtual void SetDelegate(Delegate* delegate) = 0;
54 virtual void OnContextChanged(const base::DictionaryValue& diff) = 0; 56 virtual void OnContextChanged(const base::DictionaryValue& diff) = 0;
55 57
56 private: 58 private:
57 DISALLOW_COPY_AND_ASSIGN(HostPairingScreenActor); 59 DISALLOW_COPY_AND_ASSIGN(HostPairingScreenActor);
58 }; 60 };
59 61
60 } // namespace chromeos 62 } // namespace chromeos
61 63
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_ 64 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_ACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698