Index: google_apis/gaia/fake_oauth2_token_service.h |
diff --git a/google_apis/gaia/fake_oauth2_token_service.h b/google_apis/gaia/fake_oauth2_token_service.h |
index 79f9f8414d5a88b6267526a1deb5d69dfcf32f6d..ffe7b6abb31e58ba3ea21b61fd3526b6b5c4a60b 100644 |
--- a/google_apis/gaia/fake_oauth2_token_service.h |
+++ b/google_apis/gaia/fake_oauth2_token_service.h |
@@ -20,9 +20,9 @@ class URLRequestContextGetter; |
class FakeOAuth2TokenService : public OAuth2TokenService { |
public: |
FakeOAuth2TokenService(); |
- virtual ~FakeOAuth2TokenService(); |
+ ~FakeOAuth2TokenService() override; |
- virtual std::vector<std::string> GetAccounts() override; |
+ std::vector<std::string> GetAccounts() override; |
void AddAccount(const std::string& account_id); |
void RemoveAccount(const std::string& account_id); |
@@ -42,20 +42,19 @@ class FakeOAuth2TokenService : public OAuth2TokenService { |
protected: |
// OAuth2TokenService overrides. |
- virtual void FetchOAuth2Token(RequestImpl* request, |
- const std::string& account_id, |
- net::URLRequestContextGetter* getter, |
- const std::string& client_id, |
- const std::string& client_secret, |
- const ScopeSet& scopes) override; |
+ void FetchOAuth2Token(RequestImpl* request, |
+ const std::string& account_id, |
+ net::URLRequestContextGetter* getter, |
+ const std::string& client_id, |
+ const std::string& client_secret, |
+ const ScopeSet& scopes) override; |
- virtual void InvalidateOAuth2Token(const std::string& account_id, |
- const std::string& client_id, |
- const ScopeSet& scopes, |
- const std::string& access_token) override; |
+ void InvalidateOAuth2Token(const std::string& account_id, |
+ const std::string& client_id, |
+ const ScopeSet& scopes, |
+ const std::string& access_token) override; |
- virtual bool RefreshTokenIsAvailable(const std::string& account_id) const |
- override; |
+ bool RefreshTokenIsAvailable(const std::string& account_id) const override; |
private: |
struct PendingRequest { |
@@ -70,9 +69,9 @@ class FakeOAuth2TokenService : public OAuth2TokenService { |
}; |
// OAuth2TokenService overrides. |
- virtual net::URLRequestContextGetter* GetRequestContext() override; |
+ net::URLRequestContextGetter* GetRequestContext() override; |
- virtual OAuth2AccessTokenFetcher* CreateAccessTokenFetcher( |
+ OAuth2AccessTokenFetcher* CreateAccessTokenFetcher( |
const std::string& account_id, |
net::URLRequestContextGetter* getter, |
OAuth2AccessTokenConsumer* consumer) override; |