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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_registration_helper.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/policy/core/common/cloud/cloud_policy_client_registration_helper.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
index 26d8b539df436351d16f18e2d21e325c60ff0d6c..9b7e464b46778baa5ac08b0d6f7128bfb7f50d44 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
+++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
@@ -37,7 +37,7 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
CloudPolicyClientRegistrationHelper(
CloudPolicyClient* client,
enterprise_management::DeviceRegisterRequest::Type registration_type);
- virtual ~CloudPolicyClientRegistrationHelper();
+ ~CloudPolicyClientRegistrationHelper() override;
// Starts the client registration process. This version uses the
// supplied OAuth2TokenService to mint the new token for the userinfo
@@ -74,15 +74,13 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
void OnTokenFetched(const std::string& oauth_access_token);
// UserInfoFetcher::Delegate implementation:
- virtual void OnGetUserInfoSuccess(
- const base::DictionaryValue* response) override;
- virtual void OnGetUserInfoFailure(
- const GoogleServiceAuthError& error) override;
+ void OnGetUserInfoSuccess(const base::DictionaryValue* response) override;
+ void OnGetUserInfoFailure(const GoogleServiceAuthError& error) override;
// CloudPolicyClient::Observer implementation:
- virtual void OnPolicyFetched(CloudPolicyClient* client) override;
- virtual void OnRegistrationStateChanged(CloudPolicyClient* client) override;
- virtual void OnClientError(CloudPolicyClient* client) override;
+ void OnPolicyFetched(CloudPolicyClient* client) override;
+ void OnRegistrationStateChanged(CloudPolicyClient* client) override;
+ void OnClientError(CloudPolicyClient* client) override;
// Invoked when the registration request has been completed.
void RequestCompleted();

Powered by Google App Engine
This is Rietveld 408576698