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

Unified Diff: components/invalidation/ticl_invalidation_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: works for all platforms commit e75a498951318d4deb65d40ce8b2def44cd5abc0 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: components/invalidation/ticl_invalidation_service.cc
diff --git a/components/invalidation/ticl_invalidation_service.cc b/components/invalidation/ticl_invalidation_service.cc
index 1d3b594e8711d4363bd117c920c05d28049ce694..4126621f85639a3c6dad9de66f2c55b27872e04d 100644
--- a/components/invalidation/ticl_invalidation_service.cc
+++ b/components/invalidation/ticl_invalidation_service.cc
@@ -192,7 +192,8 @@ void TiclInvalidationService::RequestAccessToken() {
// token again.
const std::string& account_id = identity_provider_->GetActiveAccountId();
OAuth2TokenService* token_service = identity_provider_->GetTokenService();
- token_service->InvalidateToken(account_id, oauth2_scopes, access_token_);
+ token_service->InvalidateAccessToken(account_id, oauth2_scopes,
+ access_token_);
access_token_.clear();
access_token_request_ =
token_service->StartRequest(account_id, oauth2_scopes, this);

Powered by Google App Engine
This is Rietveld 408576698