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

Unified Diff: chrome/browser/content_settings/content_settings_override_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_override_provider.h
diff --git a/chrome/browser/content_settings/content_settings_override_provider.h b/chrome/browser/content_settings/content_settings_override_provider.h
index 38d8eb186b921cf825629efb052f2f6c7041867d..98ddbe27caff947afbdfbbdc80c9ce381958480f 100644
--- a/chrome/browser/content_settings/content_settings_override_provider.h
+++ b/chrome/browser/content_settings/content_settings_override_provider.h
@@ -27,25 +27,22 @@ class OverrideProvider : public ProviderInterface {
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
OverrideProvider(PrefService* prefs, bool incognito);
- virtual ~OverrideProvider();
+ ~OverrideProvider() override;
// ProviderInterface implementations.
- virtual RuleIterator* GetRuleIterator(
- ContentSettingsType content_type,
- const ResourceIdentifier& resource_identifier,
- bool incognito) const override;
-
- virtual void ClearAllContentSettingsRules(
- ContentSettingsType content_type) 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 ShutdownOnUIThread() override;
+ RuleIterator* GetRuleIterator(ContentSettingsType content_type,
+ const ResourceIdentifier& resource_identifier,
+ bool incognito) const override;
+
+ void ClearAllContentSettingsRules(ContentSettingsType content_type) override;
+
+ bool SetWebsiteSetting(const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
+ ContentSettingsType content_type,
+ const ResourceIdentifier& resource_identifier,
+ base::Value* value) override;
+
+ void ShutdownOnUIThread() override;
// Sets if a given |content_type| is |enabled|.
void SetOverrideSetting(ContentSettingsType content_type, bool enabled);

Powered by Google App Engine
This is Rietveld 408576698