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

Unified Diff: components/user_manager/user_manager.h

Issue 1229883003: ChromeOS: should send old user GAPS cookie to GAIA on user reauthentication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 5 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: components/user_manager/user_manager.h
diff --git a/components/user_manager/user_manager.h b/components/user_manager/user_manager.h
index 5d9268ea1f1c6cf56c8e7218a600010cb75b98b9..105125b29c5bf8775cc2263c1c427f579bee5e2c 100644
--- a/components/user_manager/user_manager.h
+++ b/components/user_manager/user_manager.h
@@ -383,6 +383,12 @@ class USER_MANAGER_EXPORT UserManager {
const std::string& device_id) = 0;
virtual std::string GetKnownUserDeviceId(const UserID& user_id) = 0;
+ // Setter and getter for GAPSCookie known user string preference.
+ virtual void SetKnownUserGAPSCookie(const UserID& user_id,
+ const std::string& gaps_cookie) = 0;
+
+ virtual std::string GetKnownUserGAPSCookie(const UserID& user_id) = 0;
+
// Saves why the user has to go through re-auth flow.
virtual void UpdateReauthReason(const UserID& user_id,
const int reauth_reason) = 0;

Powered by Google App Engine
This is Rietveld 408576698