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

Unified Diff: chrome/browser/content_settings/content_settings_custom_extension_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_custom_extension_provider.h
diff --git a/chrome/browser/content_settings/content_settings_custom_extension_provider.h b/chrome/browser/content_settings/content_settings_custom_extension_provider.h
index 27a32879fd865a4fe47cacf2eb5a65143961c7f5..4107803ef11885f51a651975ffb1d420d80a6b77 100644
--- a/chrome/browser/content_settings/content_settings_custom_extension_provider.h
+++ b/chrome/browser/content_settings/content_settings_custom_extension_provider.h
@@ -21,29 +21,27 @@ class CustomExtensionProvider : public ObservableProvider,
extensions_settings,
bool incognito);
- virtual ~CustomExtensionProvider();
+ ~CustomExtensionProvider() override;
// ProviderInterface methods:
- virtual RuleIterator* GetRuleIterator(
- ContentSettingsType content_type,
- const ResourceIdentifier& resource_identifier,
- bool incognito) const override;
+ 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;
+ 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 {}
+ void ClearAllContentSettingsRules(ContentSettingsType content_type) override {
+ }
- virtual void ShutdownOnUIThread() override;
+ void ShutdownOnUIThread() override;
// extensions::ContentSettingsStore::Observer methods:
- virtual void OnContentSettingChanged(const std::string& extension_id,
- bool incognito) override;
+ void OnContentSettingChanged(const std::string& extension_id,
+ bool incognito) override;
private:
// Specifies whether this provider manages settings for incognito or regular

Powered by Google App Engine
This is Rietveld 408576698