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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 12213110: Implemented screen notifying users about malformed HWID. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Implemented wizard controller test. Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wizard_controller.h
diff --git a/chrome/browser/chromeos/login/wizard_controller.h b/chrome/browser/chromeos/login/wizard_controller.h
index 8279f6433668f1198cb0371cd2a8d04467acabc1..3e13b18a6fdb7036128c64c710468e999f5de7a9 100644
--- a/chrome/browser/chromeos/login/wizard_controller.h
+++ b/chrome/browser/chromeos/login/wizard_controller.h
@@ -38,6 +38,7 @@ class TermsOfServiceScreen;
class UpdateScreen;
class UserImageScreen;
class WizardScreen;
+class WrongHWIDScreen;
// Class that manages control flow between wizard screens. Wizard controller
// interacts with screen controllers to move the user between screens.
@@ -141,6 +142,7 @@ class WizardController : public ScreenObserver {
EnterpriseEnrollmentScreen* GetEnterpriseEnrollmentScreen();
ResetScreen* GetResetScreen();
TermsOfServiceScreen* GetTermsOfServiceScreen();
+ WrongHWIDScreen* GetWrongHWIDScreen();
// Returns a pointer to the current screen or NULL if there's no such
// screen.
@@ -161,6 +163,7 @@ class WizardController : public ScreenObserver {
static const char kEnterpriseEnrollmentScreenName[];
static const char kResetScreenName[];
static const char kTermsOfServiceScreenName[];
+ static const char kWrongHWIDScreenName[];
private:
// Show specific screen.
@@ -173,6 +176,7 @@ class WizardController : public ScreenObserver {
void ShowEnterpriseEnrollmentScreen();
void ShowResetScreen();
void ShowTermsOfServiceScreen();
+ void ShowWrongHWIDScreen();
// Shows images login screen.
void ShowLoginScreen();
@@ -195,6 +199,7 @@ class WizardController : public ScreenObserver {
void OnEnterpriseEnrollmentDone();
void OnEnterpriseAutoEnrollmentDone();
void OnResetCanceled();
+ void OnWrongHWIDWarningSkipped();
void OnOOBECompleted();
void OnTermsOfServiceDeclined();
void OnTermsOfServiceAccepted();
@@ -253,6 +258,7 @@ class WizardController : public ScreenObserver {
scoped_ptr<EnterpriseEnrollmentScreen>
enterprise_enrollment_screen_;
scoped_ptr<TermsOfServiceScreen> terms_of_service_screen_;
+ scoped_ptr<WrongHWIDScreen> wrong_hwid_screen_;
// Screen that's currently active.
WizardScreen* current_screen_;
« no previous file with comments | « chrome/browser/chromeos/login/webui_screen_locker.cc ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698