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

Unified Diff: components/history/core/browser/web_history_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
« no previous file with comments | « components/components_tests.gyp ('k') | components/invalidation/impl/gcm_invalidation_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/web_history_service.cc
diff --git a/components/history/core/browser/web_history_service.cc b/components/history/core/browser/web_history_service.cc
index c36f9fd29ad7f8d9f243a1d3c4f49141709ee48d..7a4e0ede3d2c7460afd4ee780063149988255f65 100644
--- a/components/history/core/browser/web_history_service.cc
+++ b/components/history/core/browser/web_history_service.cc
@@ -111,9 +111,8 @@ class RequestImpl : public WebHistoryService::Request,
if (response_code_ == net::HTTP_UNAUTHORIZED && ++auth_retry_count_ <= 1) {
OAuth2TokenService::ScopeSet oauth_scopes;
oauth_scopes.insert(kHistoryOAuthScope);
- token_service_->InvalidateToken(
- signin_manager_->GetAuthenticatedAccountId(),
- oauth_scopes,
+ token_service_->InvalidateAccessToken(
+ signin_manager_->GetAuthenticatedAccountId(), oauth_scopes,
access_token_);
access_token_.clear();
« no previous file with comments | « components/components_tests.gyp ('k') | components/invalidation/impl/gcm_invalidation_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698