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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address roger's comments 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
Index: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 2ac3deed199641b1b73d1e363b6f6284ebfac33c..71c8de5b5d454d608b77d01ab65fa7ab6df8120c 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -2106,8 +2106,8 @@ void ProfileSyncService::RequestAccessToken() {
// token again.
const std::string& account_id = signin_->GetAccountIdToUse();
if (!access_token_.empty()) {
- oauth2_token_service_->InvalidateToken(
- account_id, oauth2_scopes, access_token_);
+ oauth2_token_service_->InvalidateAccessToken(account_id, oauth2_scopes,
+ access_token_);
}
access_token_.clear();

Powered by Google App Engine
This is Rietveld 408576698