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

Unified Diff: components/policy/core/common/cloud/cloud_policy_refresh_scheduler.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_refresh_scheduler.h
diff --git a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h
index 0febc4827c129d3ba0f6f8d01e9fa4cda480471d..9a1eb7521e3c6da9c69aebd6b21b122a6917e2f7 100644
--- a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h
+++ b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h
@@ -43,7 +43,7 @@ class POLICY_EXPORT CloudPolicyRefreshScheduler
CloudPolicyClient* client,
CloudPolicyStore* store,
const scoped_refptr<base::SequencedTaskRunner>& task_runner);
- virtual ~CloudPolicyRefreshScheduler();
+ ~CloudPolicyRefreshScheduler() override;
base::Time last_refresh() const { return last_refresh_; }
int64 refresh_delay() const { return refresh_delay_ms_; }
@@ -68,16 +68,16 @@ class POLICY_EXPORT CloudPolicyRefreshScheduler
}
// CloudPolicyClient::Observer:
- 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;
// CloudPolicyStore::Observer:
- virtual void OnStoreLoaded(CloudPolicyStore* store) override;
- virtual void OnStoreError(CloudPolicyStore* store) override;
+ void OnStoreLoaded(CloudPolicyStore* store) override;
+ void OnStoreError(CloudPolicyStore* store) override;
// net::NetworkChangeNotifier::IPAddressObserver:
- virtual void OnIPAddressChanged() override;
+ void OnIPAddressChanged() override;
private:
// Initializes |last_refresh_| to the policy timestamp from |store_| in case

Powered by Google App Engine
This is Rietveld 408576698