OLD | NEW |
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_EXISTING_USER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const std::string& password) OVERRIDE; | 75 const std::string& password) OVERRIDE; |
76 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; | 76 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; |
77 virtual void LoginAsRetailModeUser() OVERRIDE; | 77 virtual void LoginAsRetailModeUser() OVERRIDE; |
78 virtual void LoginAsGuest() OVERRIDE; | 78 virtual void LoginAsGuest() OVERRIDE; |
79 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; | 79 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; |
80 virtual void OnUserSelected(const std::string& username) OVERRIDE; | 80 virtual void OnUserSelected(const std::string& username) OVERRIDE; |
81 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 81 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
82 virtual void OnStartDeviceReset() OVERRIDE; | 82 virtual void OnStartDeviceReset() OVERRIDE; |
83 virtual void ResyncUserData() OVERRIDE; | 83 virtual void ResyncUserData() OVERRIDE; |
84 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 84 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
| 85 virtual void ShowWrongHWIDScreen() OVERRIDE; |
85 virtual void Signout() OVERRIDE; | 86 virtual void Signout() OVERRIDE; |
86 | 87 |
87 // content::NotificationObserver implementation. | 88 // content::NotificationObserver implementation. |
88 virtual void Observe(int type, | 89 virtual void Observe(int type, |
89 const content::NotificationSource& source, | 90 const content::NotificationSource& source, |
90 const content::NotificationDetails& details) OVERRIDE; | 91 const content::NotificationDetails& details) OVERRIDE; |
91 | 92 |
92 // Set a delegate that we will pass LoginStatusConsumer events to. | 93 // Set a delegate that we will pass LoginStatusConsumer events to. |
93 // Used for testing. | 94 // Used for testing. |
94 void set_login_status_consumer(LoginStatusConsumer* consumer) { | 95 void set_login_status_consumer(LoginStatusConsumer* consumer) { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 base::OneShotTimer<ExistingUserController> reboot_timer_; | 269 base::OneShotTimer<ExistingUserController> reboot_timer_; |
269 | 270 |
270 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); | 271 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); |
271 | 272 |
272 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 273 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
273 }; | 274 }; |
274 | 275 |
275 } // namespace chromeos | 276 } // namespace chromeos |
276 | 277 |
277 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 278 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
OLD | NEW |