Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1276)

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: Rebase+fix test compilation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698