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

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

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: 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
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;

Powered by Google App Engine
This is Rietveld 408576698