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

Unified Diff: chromeos/login/auth/user_context.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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc ('k') | chromeos/login/auth/user_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/user_context.h
diff --git a/chromeos/login/auth/user_context.h b/chromeos/login/auth/user_context.h
index 727df7f484649b5759be9fdac81eb0bd310f0d45..4dbd71b272a698111f1a76abf808937ff33599cf 100644
--- a/chromeos/login/auth/user_context.h
+++ b/chromeos/login/auth/user_context.h
@@ -56,6 +56,7 @@ class CHROMEOS_EXPORT UserContext {
const std::string& GetPublicSessionLocale() const;
const std::string& GetPublicSessionInputMethod() const;
const std::string& GetDeviceId() const;
+ const std::string& GetGAPSCookie() const;
bool HasCredentials() const;
@@ -72,6 +73,7 @@ class CHROMEOS_EXPORT UserContext {
void SetPublicSessionLocale(const std::string& locale);
void SetPublicSessionInputMethod(const std::string& input_method);
void SetDeviceId(const std::string& device_id);
+ void SetGAPSCookie(const std::string& gaps_cookie);
void ClearSecrets();
@@ -89,6 +91,7 @@ class CHROMEOS_EXPORT UserContext {
std::string public_session_locale_;
std::string public_session_input_method_;
std::string device_id_;
+ std::string gaps_cookie_;
};
} // namespace chromeos
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc ('k') | chromeos/login/auth/user_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698