| 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_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // Sign in into guest session. | 57 // Sign in into guest session. |
| 58 virtual void LoginAsGuest() = 0; | 58 virtual void LoginAsGuest() = 0; |
| 59 | 59 |
| 60 // Decrypt cryptohome using user provided |old_password| | 60 // Decrypt cryptohome using user provided |old_password| |
| 61 // and migrate to new password. | 61 // and migrate to new password. |
| 62 virtual void MigrateUserData(const std::string& old_password) = 0; | 62 virtual void MigrateUserData(const std::string& old_password) = 0; |
| 63 | 63 |
| 64 // Sign in into the public account identified by |username|. | 64 // Sign in into the public account identified by |username|. |
| 65 virtual void LoginAsPublicAccount(const std::string& username) = 0; | 65 virtual void LoginAsPublicAccount(const std::string& username) = 0; |
| 66 | 66 |
| 67 // Login to kiosk mode for app with |app_id|. |
| 68 virtual void LoginAsKioskApp(const std::string& app_id) = 0; |
| 69 |
| 67 // Notify the delegate when the sign-in UI is finished loading. | 70 // Notify the delegate when the sign-in UI is finished loading. |
| 68 virtual void OnSigninScreenReady() = 0; | 71 virtual void OnSigninScreenReady() = 0; |
| 69 | 72 |
| 70 // Called when existing user pod is selected in the UI. | 73 // Called when existing user pod is selected in the UI. |
| 71 virtual void OnUserSelected(const std::string& username) = 0; | 74 virtual void OnUserSelected(const std::string& username) = 0; |
| 72 | 75 |
| 73 // Called when the user requests enterprise enrollment. | 76 // Called when the user requests enterprise enrollment. |
| 74 virtual void OnStartEnterpriseEnrollment() = 0; | 77 virtual void OnStartEnterpriseEnrollment() = 0; |
| 75 | 78 |
| 76 // Called when the user requests kiosk enable screen. | 79 // Called when the user requests kiosk enable screen. |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // in redesigned login stack. | 194 // in redesigned login stack. |
| 192 // Login stack (and this object) will be recreated for next user sign in. | 195 // Login stack (and this object) will be recreated for next user sign in. |
| 193 bool is_signin_completed_; | 196 bool is_signin_completed_; |
| 194 | 197 |
| 195 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 198 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
| 196 }; | 199 }; |
| 197 | 200 |
| 198 } // namespace chromeos | 201 } // namespace chromeos |
| 199 | 202 |
| 200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 203 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
| OLD | NEW |