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

Unified Diff: components/signin/core/browser/profile_oauth2_token_service.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/signin/core/browser/profile_oauth2_token_service.h
diff --git a/components/signin/core/browser/profile_oauth2_token_service.h b/components/signin/core/browser/profile_oauth2_token_service.h
index fbc1fccc5a4ef8ffa0c49cb4fe462c2ea77c7f37..13210c1fcfe5ba4f087972a943d54bd36ab79aba 100644
--- a/components/signin/core/browser/profile_oauth2_token_service.h
+++ b/components/signin/core/browser/profile_oauth2_token_service.h
@@ -37,16 +37,16 @@ class SigninClient;
class ProfileOAuth2TokenService : public OAuth2TokenService,
public KeyedService {
public:
- virtual ~ProfileOAuth2TokenService();
+ ~ProfileOAuth2TokenService() override;
// Initializes this token service with the SigninClient.
virtual void Initialize(SigninClient* client);
// KeyedService implementation.
- virtual void Shutdown() override;
+ void Shutdown() override;
// Lists account IDs of all accounts with a refresh token.
- virtual std::vector<std::string> GetAccounts() override;
+ std::vector<std::string> GetAccounts() override;
// Loads credentials from a backing persistent store to make them available
// after service is used between profile restarts.
@@ -85,13 +85,12 @@ class ProfileOAuth2TokenService : public OAuth2TokenService,
// concrete class.
// Simply returns NULL and should be overriden by subsclasses.
- virtual net::URLRequestContextGetter* GetRequestContext() override;
+ net::URLRequestContextGetter* GetRequestContext() override;
// Updates the internal cache of the result from the most-recently-completed
// auth request (used for reporting errors to the user).
- virtual void UpdateAuthError(
- const std::string& account_id,
- const GoogleServiceAuthError& error) override;
+ void UpdateAuthError(const std::string& account_id,
+ const GoogleServiceAuthError& error) override;
// Validate that the account_id argument is valid. This method DCHECKs
// when invalid.

Powered by Google App Engine
This is Rietveld 408576698