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

Unified Diff: components/policy/core/common/policy_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/policy/core/common/policy_service.h
diff --git a/components/policy/core/common/policy_service.h b/components/policy/core/common/policy_service.h
index a9e3b818ad9abff5df667cc11251350dd741e351..eae58d56f64088d17ebfaf248b714c4604468ff1 100644
--- a/components/policy/core/common/policy_service.h
+++ b/components/policy/core/common/policy_service.h
@@ -88,7 +88,7 @@ class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer {
PolicyChangeRegistrar(PolicyService* policy_service,
const PolicyNamespace& ns);
- virtual ~PolicyChangeRegistrar();
+ ~PolicyChangeRegistrar() override;
// Will invoke |callback| whenever |policy_name| changes its value, as long
// as this registrar exists.
@@ -97,9 +97,9 @@ class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer {
void Observe(const std::string& policy_name, const UpdateCallback& callback);
// Implementation of PolicyService::Observer:
- virtual void OnPolicyUpdated(const PolicyNamespace& ns,
- const PolicyMap& previous,
- const PolicyMap& current) override;
+ void OnPolicyUpdated(const PolicyNamespace& ns,
+ const PolicyMap& previous,
+ const PolicyMap& current) override;
private:
typedef std::map<std::string, UpdateCallback> CallbackMap;
« no previous file with comments | « components/policy/core/common/policy_loader_mac_unittest.cc ('k') | components/policy/core/common/policy_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698