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

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

Issue 322533002: Restart Chrome on ChromeOS as early as possible to speed up restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win build. Created 6 years, 6 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 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_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | chrome/browser/chromeos/login/login_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698