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

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

Issue 1098303002: Fix crash on Enrollment screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compilation. Created 5 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
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_WIZARD_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void EnableUserImageScreenReturnToPreviousHack(); 126 void EnableUserImageScreenReturnToPreviousHack();
127 127
128 // Returns a pointer to the current screen or NULL if there's no such 128 // Returns a pointer to the current screen or NULL if there's no such
129 // screen. 129 // screen.
130 BaseScreen* current_screen() const { return current_screen_; } 130 BaseScreen* current_screen() const { return current_screen_; }
131 131
132 // Returns true if the current wizard instance has reached the login screen. 132 // Returns true if the current wizard instance has reached the login screen.
133 bool login_screen_started() const { return login_screen_started_; } 133 bool login_screen_started() const { return login_screen_started_; }
134 134
135 // ScreenManager implementation. 135 // ScreenManager implementation.
136 BaseScreen* GetScreen(const std::string& screen_name) override;
136 BaseScreen* CreateScreen(const std::string& screen_name) override; 137 BaseScreen* CreateScreen(const std::string& screen_name) override;
137 138
138 static const char kNetworkScreenName[]; 139 static const char kNetworkScreenName[];
139 static const char kLoginScreenName[]; 140 static const char kLoginScreenName[];
140 static const char kUpdateScreenName[]; 141 static const char kUpdateScreenName[];
141 static const char kUserImageScreenName[]; 142 static const char kUserImageScreenName[];
142 static const char kOutOfBoxScreenName[]; 143 static const char kOutOfBoxScreenName[];
143 static const char kTestNoScreenName[]; 144 static const char kTestNoScreenName[];
144 static const char kEulaScreenName[]; 145 static const char kEulaScreenName[];
145 static const char kEnableDebuggingScreenName[]; 146 static const char kEnableDebuggingScreenName[];
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 BaseScreen* hid_screen_; 428 BaseScreen* hid_screen_;
428 429
429 base::WeakPtrFactory<WizardController> weak_factory_; 430 base::WeakPtrFactory<WizardController> weak_factory_;
430 431
431 DISALLOW_COPY_AND_ASSIGN(WizardController); 432 DISALLOW_COPY_AND_ASSIGN(WizardController);
432 }; 433 };
433 434
434 } // namespace chromeos 435 } // namespace chromeos
435 436
436 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 437 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/oobe_display.h ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698