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

Unified Diff: chrome/browser/signin/mutable_profile_oauth2_token_service.h

Issue 101633009: Move RevokeCredentialsOnServer to MutableProfileOAuth2TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address code review. Created 7 years 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/signin/mutable_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service.h b/chrome/browser/signin/mutable_profile_oauth2_token_service.h
index a2760ea902811f5f109524c4bdf097e3375c3a8d..81e332c0b314f319cdf9ce52404476b4a67330f7 100644
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service.h
@@ -26,6 +26,9 @@ class MutableProfileOAuth2TokenService : public ProfileOAuth2TokenService,
MutableProfileOAuth2TokenService();
virtual ~MutableProfileOAuth2TokenService();
+ // OAuth2TokenService implementation.
+ virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
+
private:
FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceTest,
TokenServiceUpdateClearsCache);
@@ -57,6 +60,10 @@ class MutableProfileOAuth2TokenService : public ProfileOAuth2TokenService,
virtual void ClearPersistedCredentials(
const std::string& account_id) OVERRIDE;
+ // Revokes the refresh token on the server.
+ virtual void RevokeCredentialsOnServer(
+ const std::string& refresh_token) OVERRIDE;
+
// Handle to the request reading tokens from database.
WebDataServiceBase::Handle web_data_service_request_;

Powered by Google App Engine
This is Rietveld 408576698