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

Unified Diff: chrome/browser/content_settings/content_settings_policy_provider.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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: chrome/browser/content_settings/content_settings_policy_provider.h
diff --git a/chrome/browser/content_settings/content_settings_policy_provider.h b/chrome/browser/content_settings/content_settings_policy_provider.h
index b9f07c90c28772a2beb790ddc69c40f734cb6b28..e59c91b0d9ad438cacff710311930eefe845f80d 100644
--- a/chrome/browser/content_settings/content_settings_policy_provider.h
+++ b/chrome/browser/content_settings/content_settings_policy_provider.h
@@ -27,26 +27,23 @@ namespace content_settings {
class PolicyProvider : public ObservableProvider {
public:
explicit PolicyProvider(PrefService* prefs);
- virtual ~PolicyProvider();
+ ~PolicyProvider() override;
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
// ProviderInterface implementations.
- virtual RuleIterator* GetRuleIterator(
- ContentSettingsType content_type,
- const ResourceIdentifier& resource_identifier,
- bool incognito) const override;
-
- virtual bool SetWebsiteSetting(
- const ContentSettingsPattern& primary_pattern,
- const ContentSettingsPattern& secondary_pattern,
- ContentSettingsType content_type,
- const ResourceIdentifier& resource_identifier,
- base::Value* value) override;
-
- virtual void ClearAllContentSettingsRules(
- ContentSettingsType content_type) override;
-
- virtual void ShutdownOnUIThread() override;
+ RuleIterator* GetRuleIterator(ContentSettingsType content_type,
+ const ResourceIdentifier& resource_identifier,
+ bool incognito) const override;
+
+ bool SetWebsiteSetting(const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
+ ContentSettingsType content_type,
+ const ResourceIdentifier& resource_identifier,
+ base::Value* value) override;
+
+ void ClearAllContentSettingsRules(ContentSettingsType content_type) override;
+
+ void ShutdownOnUIThread() override;
private:
// Reads the policy managed default settings.

Powered by Google App Engine
This is Rietveld 408576698