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

Unified Diff: google_apis/gaia/fake_gaia.cc

Issue 473153002: Inline sign in extracts gaia id from HTTP header and seeds account tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 2 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: google_apis/gaia/fake_gaia.cc
diff --git a/google_apis/gaia/fake_gaia.cc b/google_apis/gaia/fake_gaia.cc
index 7ba1c585f4d1cde1a527f9b502e20ac121478341..d7217fd48412bf5c26205f150cc6c549f2aecf59 100644
--- a/google_apis/gaia/fake_gaia.cc
+++ b/google_apis/gaia/fake_gaia.cc
@@ -432,7 +432,9 @@ void FakeGaia::HandleServiceLoginAuth(const HttpRequest& request,
http_response->set_code(net::HTTP_TEMPORARY_REDIRECT);
http_response->AddCustomHeader("Location", redirect_url);
http_response->AddCustomHeader("google-accounts-signin",
- base::StringPrintf("email=\"%s\", sessionindex=0", email.c_str()));
+ base::StringPrintf(
+ "email=\"%s\", obfuscatedid=\"12345\", sessionindex=0",
bartfab (slow) 2014/10/14 17:12:38 Nit: Move "12345" to a constant like kTestObfuscat
Roger Tawa OOO till Jul 10th 2014/10/16 02:39:32 Done.
+ email.c_str()));
}
void FakeGaia::HandleSSO(const HttpRequest& request,

Powered by Google App Engine
This is Rietveld 408576698