| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // Trigger public session auto-login. | 156 // Trigger public session auto-login. |
| 157 void OnPublicSessionAutoLoginTimerFire(); | 157 void OnPublicSessionAutoLoginTimerFire(); |
| 158 // Trigger ARC kiosk auto-login. | 158 // Trigger ARC kiosk auto-login. |
| 159 void OnArcKioskAutoLoginTimerFire(); | 159 void OnArcKioskAutoLoginTimerFire(); |
| 160 | 160 |
| 161 // LoginPerformer::Delegate implementation: | 161 // LoginPerformer::Delegate implementation: |
| 162 void OnAuthFailure(const AuthFailure& error) override; | 162 void OnAuthFailure(const AuthFailure& error) override; |
| 163 void OnAuthSuccess(const UserContext& user_context) override; | 163 void OnAuthSuccess(const UserContext& user_context) override; |
| 164 void OnOffTheRecordAuthSuccess() override; | 164 void OnOffTheRecordAuthSuccess() override; |
| 165 void OnPasswordChangeDetected() override; | 165 void OnPasswordChangeDetected() override; |
| 166 void OnOldEncryptionDetected() override; |
| 166 void WhiteListCheckFailed(const std::string& email) override; | 167 void WhiteListCheckFailed(const std::string& email) override; |
| 167 void PolicyLoadFailed() override; | 168 void PolicyLoadFailed() override; |
| 168 void SetAuthFlowOffline(bool offline) override; | 169 void SetAuthFlowOffline(bool offline) override; |
| 169 | 170 |
| 170 // UserSessionManagerDelegate implementation: | 171 // UserSessionManagerDelegate implementation: |
| 171 void OnProfilePrepared(Profile* profile, bool browser_launched) override; | 172 void OnProfilePrepared(Profile* profile, bool browser_launched) override; |
| 172 | 173 |
| 173 // Called when device settings change. | 174 // Called when device settings change. |
| 174 void DeviceSettingsChanged(); | 175 void DeviceSettingsChanged(); |
| 175 | 176 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 199 | 200 |
| 200 // Shows "enable developer features" screen. | 201 // Shows "enable developer features" screen. |
| 201 void ShowEnableDebuggingScreen(); | 202 void ShowEnableDebuggingScreen(); |
| 202 | 203 |
| 203 // Shows kiosk feature enable screen. | 204 // Shows kiosk feature enable screen. |
| 204 void ShowKioskEnableScreen(); | 205 void ShowKioskEnableScreen(); |
| 205 | 206 |
| 206 // Shows "kiosk auto-launch permission" screen. | 207 // Shows "kiosk auto-launch permission" screen. |
| 207 void ShowKioskAutolaunchScreen(); | 208 void ShowKioskAutolaunchScreen(); |
| 208 | 209 |
| 210 // Shows "filesystem encryption migration" screen. |
| 211 void ShowEncryptionMigrationScreen(); |
| 212 |
| 209 // Shows "critical TPM error" screen. | 213 // Shows "critical TPM error" screen. |
| 210 void ShowTPMError(); | 214 void ShowTPMError(); |
| 211 | 215 |
| 212 // Shows "password changed" dialog. | 216 // Shows "password changed" dialog. |
| 213 void ShowPasswordChangedDialog(); | 217 void ShowPasswordChangedDialog(); |
| 214 | 218 |
| 215 // Creates |login_performer_| if necessary and calls login() on it. | 219 // Creates |login_performer_| if necessary and calls login() on it. |
| 216 void PerformLogin(const UserContext& user_context, | 220 void PerformLogin(const UserContext& user_context, |
| 217 LoginPerformer::AuthorizationMode auth_mode); | 221 LoginPerformer::AuthorizationMode auth_mode); |
| 218 | 222 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 381 |
| 378 // Factory of callbacks. | 382 // Factory of callbacks. |
| 379 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 383 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 380 | 384 |
| 381 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 382 }; | 386 }; |
| 383 | 387 |
| 384 } // namespace chromeos | 388 } // namespace chromeos |
| 385 | 389 |
| 386 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |