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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.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: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
index 7a7575c1977487ba4b9d357a6d2bf2e7e0db32b3..522d17ab5a2de76a6b2c9be825f75377b7c9d6ec 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
@@ -53,6 +53,9 @@ struct GaiaContext {
// GAIA ID of the current user.
std::string gaia_id;
+ // GAPS cookie.
+ std::string gaps_cookie;
+
// Whether consumer management enrollment is in progress.
bool is_enrolling_consumer_management;
};
@@ -115,7 +118,8 @@ class GaiaScreenHandler : public BaseScreenHandler {
const std::string& email,
const std::string& password,
const std::string& auth_code,
- bool using_saml);
+ bool using_saml,
+ const std::string& gaps_cookie);
void HandleCompleteAuthenticationAuthCodeOnly(const std::string& auth_code);
void HandleCompleteLogin(const std::string& gaia_id,
const std::string& typed_email,

Powered by Google App Engine
This is Rietveld 408576698