| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 void OnSigninScreenReady() override; | 85 void OnSigninScreenReady() override; |
| 86 void OnStartEnterpriseEnrollment() override; | 86 void OnStartEnterpriseEnrollment() override; |
| 87 void OnStartEnableDebuggingScreen() override; | 87 void OnStartEnableDebuggingScreen() override; |
| 88 void OnStartKioskEnableScreen() override; | 88 void OnStartKioskEnableScreen() override; |
| 89 void OnStartKioskAutolaunchScreen() override; | 89 void OnStartKioskAutolaunchScreen() override; |
| 90 void ResetPublicSessionAutoLoginTimer() override; | 90 void ResetPublicSessionAutoLoginTimer() override; |
| 91 void ResyncUserData() override; | 91 void ResyncUserData() override; |
| 92 void SetDisplayEmail(const std::string& email) override; | 92 void SetDisplayEmail(const std::string& email) override; |
| 93 void ShowWrongHWIDScreen() override; | 93 void ShowWrongHWIDScreen() override; |
| 94 void Signout() override; | 94 void Signout() override; |
| 95 bool IsUserWhitelisted(const std::string& user_id) override; | 95 bool IsUserWhitelisted(const AccountId& account_id) override; |
| 96 | 96 |
| 97 // content::NotificationObserver implementation. | 97 // content::NotificationObserver implementation. |
| 98 void Observe(int type, | 98 void Observe(int type, |
| 99 const content::NotificationSource& source, | 99 const content::NotificationSource& source, |
| 100 const content::NotificationDetails& details) override; | 100 const content::NotificationDetails& details) override; |
| 101 | 101 |
| 102 // Set a delegate that we will pass AuthStatusConsumer events to. | 102 // Set a delegate that we will pass AuthStatusConsumer events to. |
| 103 // Used for testing. | 103 // Used for testing. |
| 104 void set_login_status_consumer(AuthStatusConsumer* consumer) { | 104 void set_login_status_consumer(AuthStatusConsumer* consumer) { |
| 105 auth_status_consumer_ = consumer; | 105 auth_status_consumer_ = consumer; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 // Factory of callbacks. | 326 // Factory of callbacks. |
| 327 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 327 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 329 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace chromeos | 332 } // namespace chromeos |
| 333 | 333 |
| 334 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 334 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |