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

Unified Diff: extensions/browser/updater/extension_downloader.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: extensions/browser/updater/extension_downloader.cc
diff --git a/extensions/browser/updater/extension_downloader.cc b/extensions/browser/updater/extension_downloader.cc
index a796149732bf4d5283f63581f263e5acfb8057ae..a038ebba58217419f99e5e79b5f56bd4a94de376 100644
--- a/extensions/browser/updater/extension_downloader.cc
+++ b/extensions/browser/updater/extension_downloader.cc
@@ -915,9 +915,8 @@ bool ExtensionDownloader::IterateFetchCredentialsAfterFailure(
DCHECK(identity_provider_.get());
OAuth2TokenService::ScopeSet webstore_scopes;
webstore_scopes.insert(kWebstoreOAuth2Scope);
- identity_provider_->GetTokenService()->InvalidateToken(
- identity_provider_->GetActiveAccountId(),
- webstore_scopes,
+ identity_provider_->GetTokenService()->InvalidateAccessToken(
+ identity_provider_->GetActiveAccountId(), webstore_scopes,
access_token_);
access_token_.clear();
return true;
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm ('k') | extensions/shell/app_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698