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

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 final comments Created 5 years, 6 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 f30a4e798b07711970fbfb3d4bd05620d5669a2b..bc3c6f5b9d833a1713f61017cddb9e547ec450f5 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -2138,8 +2138,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();
« no previous file with comments | « chrome/browser/sync/profile_sync_auth_provider_unittest.cc ('k') | chrome/browser/sync/startup_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698