Chromium Code Reviews| 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 c47e79f5783646d58a381f34c4f07bbc35d9a681..a3ac8b5e5cb886c98c46deef23ea6a9e9ded2ab9 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 |
|
xiyuan
2017/04/21 14:48:14
nit: Follow the style in line 37-39 for forward de
Roman Sorokin (ftl)
2017/04/24 16:21:28
Done.
|
| + |
| namespace chromeos { |
| +class AuthPolicyLoginHelper; |
| class BootstrapUserContextInitializer; |
| class CrosSettings; |
| class LoginDisplayHost; |
| @@ -284,6 +291,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_; |
| @@ -299,6 +311,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; |