summaryrefslogtreecommitdiffstats
path: root/extensions/browser/warning_service.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:38:24 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:38:39 +0000
commit9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch)
treebb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/warning_service.h
parentae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff)
downloadchromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/664933004 Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/warning_service.h')
-rw-r--r--extensions/browser/warning_service.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/browser/warning_service.h b/extensions/browser/warning_service.h
index db7da6d..283bf6d 100644
--- a/extensions/browser/warning_service.h
+++ b/extensions/browser/warning_service.h
@@ -42,7 +42,7 @@ class WarningService : public ExtensionRegistryObserver,
// |browser_context| may be NULL for testing. In this case, be sure to not
// insert any warnings.
explicit WarningService(content::BrowserContext* browser_context);
- virtual ~WarningService();
+ ~WarningService() override;
// Clears all warnings of types contained in |types| and notifies observers
// of the changed warnings.
@@ -72,10 +72,9 @@ class WarningService : public ExtensionRegistryObserver,
void NotifyWarningsChanged();
// ExtensionRegistryObserver implementation.
- virtual void OnExtensionUnloaded(content::BrowserContext* browser_context,
- const Extension* extension,
- UnloadedExtensionInfo::Reason reason)
- override;
+ void OnExtensionUnloaded(content::BrowserContext* browser_context,
+ const Extension* extension,
+ UnloadedExtensionInfo::Reason reason) override;
// Currently existing warnings.
WarningSet warnings_;