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 963a077cf1dd350ea1944b7a7c1e176f94c74460..73486e6c6502ff1850f5082bfb1cb4db14170428 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.h |
+++ b/chrome/browser/chromeos/login/existing_user_controller.h |
@@ -121,6 +121,14 @@ class ExistingUserController : public LoginDisplay::Delegate, |
return host_; |
} |
+ // Returns value of LoginPerformer::auth_mode() (cached if performer is |
+ // destroyed). |
+ LoginPerformer::AuthorizationMode auth_mode() const; |
+ |
+ // Returns value of LoginPerformer::password_changed() (cached if performer is |
+ // destroyed). |
+ bool password_changed() const; |
+ |
private: |
friend class ExistingUserControllerTest; |
friend class ExistingUserControllerAutoLoginTest; |
@@ -281,6 +289,10 @@ class ExistingUserController : public LoginDisplay::Delegate, |
// Set in OnLoginSuccess. Before that use LoginPerformer::password_changed(). |
bool password_changed_; |
+ // Set in OnLoginSuccess. Before that use LoginPerformer::auth_mode(). |
+ // Initialized with AUTH_MODE_EXTENSION as more restricted mode. |
+ LoginPerformer::AuthorizationMode auth_mode_; |
+ |
// True if auto-enrollment should be performed before starting the user's |
// session. |
bool do_auto_enrollment_; |