| 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/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 void OnSigninScreenReady() override; | 86 void OnSigninScreenReady() override; |
| 87 void OnStartEnterpriseEnrollment() override; | 87 void OnStartEnterpriseEnrollment() override; |
| 88 void OnStartEnableDebuggingScreen() override; | 88 void OnStartEnableDebuggingScreen() override; |
| 89 void OnStartKioskEnableScreen() override; | 89 void OnStartKioskEnableScreen() override; |
| 90 void OnStartKioskAutolaunchScreen() override; | 90 void OnStartKioskAutolaunchScreen() override; |
| 91 void ResetPublicSessionAutoLoginTimer() override; | 91 void ResetPublicSessionAutoLoginTimer() override; |
| 92 void ResyncUserData() override; | 92 void ResyncUserData() override; |
| 93 void SetDisplayEmail(const std::string& email) override; | 93 void SetDisplayEmail(const std::string& email) override; |
| 94 void ShowWrongHWIDScreen() override; | 94 void ShowWrongHWIDScreen() override; |
| 95 void Signout() override; | 95 void Signout() override; |
| 96 bool IsUserWhitelisted(const std::string& user_id) override; |
| 96 | 97 |
| 97 // content::NotificationObserver implementation. | 98 // content::NotificationObserver implementation. |
| 98 void Observe(int type, | 99 void Observe(int type, |
| 99 const content::NotificationSource& source, | 100 const content::NotificationSource& source, |
| 100 const content::NotificationDetails& details) override; | 101 const content::NotificationDetails& details) override; |
| 101 | 102 |
| 102 // Set a delegate that we will pass AuthStatusConsumer events to. | 103 // Set a delegate that we will pass AuthStatusConsumer events to. |
| 103 // Used for testing. | 104 // Used for testing. |
| 104 void set_login_status_consumer(AuthStatusConsumer* consumer) { | 105 void set_login_status_consumer(AuthStatusConsumer* consumer) { |
| 105 auth_status_consumer_ = consumer; | 106 auth_status_consumer_ = consumer; |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 | 336 |
| 336 // Factory of callbacks. | 337 // Factory of callbacks. |
| 337 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 338 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 338 | 339 |
| 339 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 340 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 340 }; | 341 }; |
| 341 | 342 |
| 342 } // namespace chromeos | 343 } // namespace chromeos |
| 343 | 344 |
| 344 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 345 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |