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

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

Issue 143873012: Add local state flag to force online login for a user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation. Created 6 years, 11 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 | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h
index 8b7025e05b7d8ece5a0eaa1cf97c86899ba4006a..95e3449e028a94e507f76d54d8c1d58b745d946b 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_manager_impl.h
@@ -93,6 +93,8 @@ class UserManagerImpl
virtual void SaveUserOAuthStatus(
const std::string& user_id,
User::OAuthTokenStatus oauth_token_status) OVERRIDE;
+ virtual void SaveForceOnlineSignin(const std::string& user_id,
+ bool force_online_signin) OVERRIDE;
virtual void SaveUserDisplayName(const std::string& user_id,
const base::string16& display_name) OVERRIDE;
virtual base::string16 GetUserDisplayName(
@@ -249,6 +251,10 @@ class UserManagerImpl
// Reads user's oauth token status from local state preferences.
User::OAuthTokenStatus LoadUserOAuthStatus(const std::string& user_id) const;
+ // Read a flag indicating whether online authentication against GAIA should
+ // be enforced during the user's next sign-in from local state preferences.
+ bool LoadForceOnlineSignin(const std::string& user_id) const;
+
void SetCurrentUserIsOwner(bool is_current_user_owner);
// Updates current user ownership on UI thread.
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698