Chromium Code Reviews| 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..574cd8f30e34179916c0aa0c5f0fabf77f10fdf4 100644 |
| --- a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
| +++ b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
| @@ -52,10 +52,8 @@ void OAuth2LoginVerifier::VerifyUserCookies(Profile* profile) { |
| void OAuth2LoginVerifier::VerifyProfileTokens(Profile* profile) { |
| DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| - |
| - // TODO(xiyuan,mlerman): Use |access_token_| to cut down one round trip. |
| - // See http://crbug.com/483596 |
| - cookie_manager_service_->AddAccountToCookie(primary_account_id_); |
| + cookie_manager_service_->AddAccountToCookieWithToken(primary_account_id_, |
| + access_token_); |
|
xiyuan
2015/05/19 20:15:30
Sorry, missed this.
|access_token_| could be empt
Mike Lerman
2015/05/20 15:33:07
Ah, I thought there always was one. Thanks! Done.
|
| } |
| void OAuth2LoginVerifier::OnAddAccountToCookieCompleted( |