| 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 OnOldEncryptionDetected(const UserContext& user_context) override; |
| 167 void WhiteListCheckFailed(const std::string& email) override; | 167 void WhiteListCheckFailed(const std::string& email) override; |
| 168 void PolicyLoadFailed() override; | 168 void PolicyLoadFailed() override; |
| 169 void SetAuthFlowOffline(bool offline) override; | 169 void SetAuthFlowOffline(bool offline) override; |
| 170 | 170 |
| 171 // UserSessionManagerDelegate implementation: | 171 // UserSessionManagerDelegate implementation: |
| 172 void OnProfilePrepared(Profile* profile, bool browser_launched) override; | 172 void OnProfilePrepared(Profile* profile, bool browser_launched) override; |
| 173 | 173 |
| 174 // Called when device settings change. | 174 // Called when device settings change. |
| 175 void DeviceSettingsChanged(); | 175 void DeviceSettingsChanged(); |
| 176 | 176 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 201 // Shows "enable developer features" screen. | 201 // Shows "enable developer features" screen. |
| 202 void ShowEnableDebuggingScreen(); | 202 void ShowEnableDebuggingScreen(); |
| 203 | 203 |
| 204 // Shows kiosk feature enable screen. | 204 // Shows kiosk feature enable screen. |
| 205 void ShowKioskEnableScreen(); | 205 void ShowKioskEnableScreen(); |
| 206 | 206 |
| 207 // Shows "kiosk auto-launch permission" screen. | 207 // Shows "kiosk auto-launch permission" screen. |
| 208 void ShowKioskAutolaunchScreen(); | 208 void ShowKioskAutolaunchScreen(); |
| 209 | 209 |
| 210 // Shows "filesystem encryption migration" screen. | 210 // Shows "filesystem encryption migration" screen. |
| 211 void ShowEncryptionMigrationScreen(); | 211 void ShowEncryptionMigrationScreen(const UserContext& user_context); |
| 212 | 212 |
| 213 // Shows "critical TPM error" screen. | 213 // Shows "critical TPM error" screen. |
| 214 void ShowTPMError(); | 214 void ShowTPMError(); |
| 215 | 215 |
| 216 // Shows "password changed" dialog. | 216 // Shows "password changed" dialog. |
| 217 void ShowPasswordChangedDialog(); | 217 void ShowPasswordChangedDialog(); |
| 218 | 218 |
| 219 // Creates |login_performer_| if necessary and calls login() on it. | 219 // Creates |login_performer_| if necessary and calls login() on it. |
| 220 void PerformLogin(const UserContext& user_context, | 220 void PerformLogin(const UserContext& user_context, |
| 221 LoginPerformer::AuthorizationMode auth_mode); | 221 LoginPerformer::AuthorizationMode auth_mode); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 381 |
| 382 // Factory of callbacks. | 382 // Factory of callbacks. |
| 383 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 383 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 384 | 384 |
| 385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 385 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 } // namespace chromeos | 388 } // namespace chromeos |
| 389 | 389 |
| 390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 390 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |