| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual void OnSigninScreenReady() OVERRIDE; | 91 virtual void OnSigninScreenReady() OVERRIDE; |
| 92 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 92 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
| 93 virtual void OnStartKioskEnableScreen() OVERRIDE; | 93 virtual void OnStartKioskEnableScreen() OVERRIDE; |
| 94 virtual void OnStartKioskAutolaunchScreen() OVERRIDE; | 94 virtual void OnStartKioskAutolaunchScreen() OVERRIDE; |
| 95 virtual void ResetPublicSessionAutoLoginTimer() OVERRIDE; | 95 virtual void ResetPublicSessionAutoLoginTimer() OVERRIDE; |
| 96 virtual void ResyncUserData() OVERRIDE; | 96 virtual void ResyncUserData() OVERRIDE; |
| 97 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 97 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
| 98 virtual void ShowWrongHWIDScreen() OVERRIDE; | 98 virtual void ShowWrongHWIDScreen() OVERRIDE; |
| 99 virtual void Signout() OVERRIDE; | 99 virtual void Signout() OVERRIDE; |
| 100 | 100 |
| 101 void LoginAsRetailModeUser(); | |
| 102 void LoginAsGuest(); | 101 void LoginAsGuest(); |
| 103 void LoginAsPublicSession(const UserContext& user_context); | 102 void LoginAsPublicSession(const UserContext& user_context); |
| 104 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode); | 103 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode); |
| 105 | 104 |
| 106 // content::NotificationObserver implementation. | 105 // content::NotificationObserver implementation. |
| 107 virtual void Observe(int type, | 106 virtual void Observe(int type, |
| 108 const content::NotificationSource& source, | 107 const content::NotificationSource& source, |
| 109 const content::NotificationDetails& details) OVERRIDE; | 108 const content::NotificationDetails& details) OVERRIDE; |
| 110 | 109 |
| 111 // Set a delegate that we will pass AuthStatusConsumer events to. | 110 // Set a delegate that we will pass AuthStatusConsumer events to. |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 | 333 |
| 335 // Factory of callbacks. | 334 // Factory of callbacks. |
| 336 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 335 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 337 | 336 |
| 338 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 337 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 339 }; | 338 }; |
| 340 | 339 |
| 341 } // namespace chromeos | 340 } // namespace chromeos |
| 342 | 341 |
| 343 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 342 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |