| Index: chrome/browser/chromeos/login/existing_user_controller.h
|
| diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
|
| index 32f8a497364c3e69c7bb2354b48da675ea897c42..53c6dfa4e38e7955a5c01ae1e6b73f275f766b8e 100644
|
| --- a/chrome/browser/chromeos/login/existing_user_controller.h
|
| +++ b/chrome/browser/chromeos/login/existing_user_controller.h
|
| @@ -38,8 +38,15 @@ namespace base {
|
| class ListValue;
|
| }
|
|
|
| +namespace authpolicy {
|
| +
|
| +class ActiveDirectoryAccountData;
|
| +
|
| +} // namespace authpolicy
|
| +
|
| namespace chromeos {
|
|
|
| +class AuthPolicyLoginHelper;
|
| class BootstrapUserContextInitializer;
|
| class CrosSettings;
|
| class LoginDisplayHost;
|
| @@ -279,6 +286,11 @@ class ExistingUserController
|
| // affect any future attempts.
|
| void ClearRecordedNames();
|
|
|
| + // Callback invoked after authentication against Active Directory server.
|
| + void OnActiveDirectoryAuth(
|
| + authpolicy::ErrorType error,
|
| + const authpolicy::ActiveDirectoryAccountData& account_data);
|
| +
|
| // Public session auto-login timer.
|
| std::unique_ptr<base::OneShotTimer> auto_login_timer_;
|
|
|
| @@ -294,6 +306,10 @@ class ExistingUserController
|
| // Used to execute login operations.
|
| std::unique_ptr<LoginPerformer> login_performer_;
|
|
|
| + // Used to execute login to AuthPolicy service. It provides authentication
|
| + // against Active Directory server.
|
| + std::unique_ptr<AuthPolicyLoginHelper> authpolicy_login_helper_;
|
| +
|
| // Delegate to forward all authentication status events to.
|
| // Tests can use this to receive authentication status events.
|
| AuthStatusConsumer* auth_status_consumer_ = nullptr;
|
|
|