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

Unified Diff: chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc

Issue 1129463004: Let Ubertoken Fetch be primed with an access token. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeOS sends access token to GCMS Created 5 years, 7 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 | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc
index a9dbd356fb5924e588b6b4393a3704f2cc0d9c47..831cd136ca143124171aa4caf19ed278cca4b0a2 100644
--- a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc
@@ -55,7 +55,8 @@ void OAuth2LoginVerifier::VerifyProfileTokens(Profile* profile) {
// TODO(xiyuan,mlerman): Use |access_token_| to cut down one round trip.
// See http://crbug.com/483596
xiyuan 2015/05/06 18:43:16 nit: Remove the TODO?
Mike Lerman 2015/05/06 19:24:02 Done.
- cookie_manager_service_->AddAccountToCookie(primary_account_id_);
+ cookie_manager_service_->AddAccountToCookieWithToken(primary_account_id_,
+ access_token_);
}
void OAuth2LoginVerifier::OnAddAccountToCookieCompleted(
« no previous file with comments | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698