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

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: 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: components/invalidation/ticl_invalidation_service.cc
diff --git a/components/invalidation/ticl_invalidation_service.cc b/components/invalidation/ticl_invalidation_service.cc
index e60902c0764dfc961593ceff0297cde1e92e9590..8abce9fa10bcb1a3d96bff3f914056ac1c2ad31d 100644
--- a/components/invalidation/ticl_invalidation_service.cc
+++ b/components/invalidation/ticl_invalidation_service.cc
@@ -193,7 +193,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