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

Side by Side Diff: chrome/browser/chromeos/login/error_screen.h

Issue 13553002: Managed user creation flow: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ERROR_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ERROR_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ERROR_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ERROR_SCREEN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/chromeos/login/oobe_display.h" 10 #include "chrome/browser/chromeos/login/oobe_display.h"
11 #include "chrome/browser/chromeos/login/oobe_display.h" 11 #include "chrome/browser/chromeos/login/oobe_display.h"
12 #include "chrome/browser/chromeos/login/wizard_screen.h" 12 #include "chrome/browser/chromeos/login/wizard_screen.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 class ErrorScreenActor; 16 class ErrorScreenActor;
17 class ScreenObserver; 17 class ScreenObserver;
18 18
19 // Controller for the error screen. 19 // Controller for the error screen.
20 class ErrorScreen : public WizardScreen { 20 class ErrorScreen : public WizardScreen {
21 public: 21 public:
22 enum UIState { 22 enum UIState {
23 UI_STATE_UNKNOWN = 0, 23 UI_STATE_UNKNOWN = 0,
24 UI_STATE_UPDATE, 24 UI_STATE_UPDATE,
25 UI_STATE_SIGNIN 25 UI_STATE_SIGNIN,
26 UI_STATE_MANAGED
Nikita (slow) 2013/04/03 17:25:41 nit: UI_STATE_LOCALLY_MANAGED
26 }; 27 };
27 28
28 enum ErrorState { 29 enum ErrorState {
29 ERROR_STATE_UNKNOWN = 0, 30 ERROR_STATE_UNKNOWN = 0,
30 ERROR_STATE_PORTAL, 31 ERROR_STATE_PORTAL,
31 ERROR_STATE_OFFLINE, 32 ERROR_STATE_OFFLINE,
32 ERROR_STATE_PROXY, 33 ERROR_STATE_PROXY,
33 ERROR_STATE_AUTH_EXT_TIMEOUT 34 ERROR_STATE_AUTH_EXT_TIMEOUT
34 }; 35 };
35 36
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ErrorScreenActor* actor_; 68 ErrorScreenActor* actor_;
68 69
69 OobeDisplay::Screen parent_screen_; 70 OobeDisplay::Screen parent_screen_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); 72 DISALLOW_COPY_AND_ASSIGN(ErrorScreen);
72 }; 73 };
73 74
74 } // namespace chromeos 75 } // namespace chromeos
75 76
76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ERROR_SCREEN_H_ 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ERROR_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698