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

Unified Diff: components/policy/core/browser/configuration_policy_handler.h

Issue 623133002: replace OVERRIDE and FINAL with override and 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/browser/configuration_policy_handler.h
diff --git a/components/policy/core/browser/configuration_policy_handler.h b/components/policy/core/browser/configuration_policy_handler.h
index 60314b04dfe584363a4d48c8f7153facd14c1a32..16cf7f46563f5709968cf089787ca325c0c9d3d3 100644
--- a/components/policy/core/browser/configuration_policy_handler.h
+++ b/components/policy/core/browser/configuration_policy_handler.h
@@ -82,7 +82,7 @@ class POLICY_EXPORT TypeCheckingPolicyHandler
// ConfigurationPolicyHandler methods:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
const char* policy_name() const;
@@ -115,7 +115,7 @@ class POLICY_EXPORT IntRangePolicyHandlerBase
// ConfigurationPolicyHandler:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
protected:
virtual ~IntRangePolicyHandlerBase();
@@ -151,7 +151,7 @@ class POLICY_EXPORT SimplePolicyHandler : public TypeCheckingPolicyHandler {
// ConfigurationPolicyHandler methods:
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
// The DictionaryValue path of the preference the policy maps to.
@@ -186,9 +186,9 @@ class POLICY_EXPORT StringMappingListPolicyHandler
// ConfigurationPolicyHandler methods:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
// Attempts to convert the list in |input| to |output| according to the table,
@@ -227,7 +227,7 @@ class POLICY_EXPORT IntRangePolicyHandler : public IntRangePolicyHandlerBase {
// ConfigurationPolicyHandler:
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
// Name of the pref to write.
@@ -250,7 +250,7 @@ class POLICY_EXPORT IntPercentageToDoublePolicyHandler
// ConfigurationPolicyHandler:
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
// Name of the pref to write.
@@ -272,7 +272,7 @@ class POLICY_EXPORT SchemaValidatingPolicyHandler
// ConfigurationPolicyHandler:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
const char* policy_name() const;
@@ -313,9 +313,9 @@ class POLICY_EXPORT SimpleSchemaValidatingPolicyHandler
// ConfigurationPolicyHandler:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
const char* pref_path_;
@@ -338,9 +338,9 @@ class POLICY_EXPORT LegacyPoliciesDeprecatingPolicyHandler
// ConfigurationPolicyHandler:
virtual bool CheckPolicySettings(const PolicyMap& policies,
- PolicyErrorMap* errors) OVERRIDE;
+ PolicyErrorMap* errors) override;
virtual void ApplyPolicySettings(const PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ PrefValueMap* prefs) override;
private:
ScopedVector<ConfigurationPolicyHandler> legacy_policy_handlers_;

Powered by Google App Engine
This is Rietveld 408576698