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

Unified Diff: components/policy/core/common/schema_registry.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
« no previous file with comments | « components/policy/core/common/preferences_mock_mac.h ('k') | components/power/origin_power_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/schema_registry.h
diff --git a/components/policy/core/common/schema_registry.h b/components/policy/core/common/schema_registry.h
index c0e492fe7a8114473914ba45a716f50e987125cc..931cbef6c52f24caf5796c38f72adfea7551cb53 100644
--- a/components/policy/core/common/schema_registry.h
+++ b/components/policy/core/common/schema_registry.h
@@ -102,21 +102,21 @@ class POLICY_EXPORT CombinedSchemaRegistry
public SchemaRegistry::InternalObserver {
public:
CombinedSchemaRegistry();
- virtual ~CombinedSchemaRegistry();
+ ~CombinedSchemaRegistry() override;
void Track(SchemaRegistry* registry);
// SchemaRegistry:
- virtual void RegisterComponents(PolicyDomain domain,
- const ComponentMap& components) override;
- virtual void UnregisterComponent(const PolicyNamespace& ns) override;
+ void RegisterComponents(PolicyDomain domain,
+ const ComponentMap& components) override;
+ void UnregisterComponent(const PolicyNamespace& ns) override;
// SchemaRegistry::Observer:
- virtual void OnSchemaRegistryUpdated(bool has_new_schemas) override;
- virtual void OnSchemaRegistryReady() override;
+ void OnSchemaRegistryUpdated(bool has_new_schemas) override;
+ void OnSchemaRegistryReady() override;
// SchemaRegistry::InternalObserver:
- virtual void OnSchemaRegistryShuttingDown(SchemaRegistry* registry) override;
+ void OnSchemaRegistryShuttingDown(SchemaRegistry* registry) override;
private:
void Combine(bool has_new_schemas);
@@ -136,19 +136,19 @@ class POLICY_EXPORT ForwardingSchemaRegistry
// This registry will stop updating its SchemaMap when |wrapped| is
// destroyed.
explicit ForwardingSchemaRegistry(SchemaRegistry* wrapped);
- virtual ~ForwardingSchemaRegistry();
+ ~ForwardingSchemaRegistry() override;
// SchemaRegistry:
- virtual void RegisterComponents(PolicyDomain domain,
- const ComponentMap& components) override;
- virtual void UnregisterComponent(const PolicyNamespace& ns) override;
+ void RegisterComponents(PolicyDomain domain,
+ const ComponentMap& components) override;
+ void UnregisterComponent(const PolicyNamespace& ns) override;
// SchemaRegistry::Observer:
- virtual void OnSchemaRegistryUpdated(bool has_new_schemas) override;
- virtual void OnSchemaRegistryReady() override;
+ void OnSchemaRegistryUpdated(bool has_new_schemas) override;
+ void OnSchemaRegistryReady() override;
// SchemaRegistry::InternalObserver:
- virtual void OnSchemaRegistryShuttingDown(SchemaRegistry* registry) override;
+ void OnSchemaRegistryShuttingDown(SchemaRegistry* registry) override;
private:
SchemaRegistry* wrapped_;
« no previous file with comments | « components/policy/core/common/preferences_mock_mac.h ('k') | components/power/origin_power_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698