summaryrefslogtreecommitdiffstats
path: root/extensions/browser/runtime_data.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/runtime_data.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/runtime_data.h')
-rw-r--r--extensions/browser/runtime_data.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/browser/runtime_data.h b/extensions/browser/runtime_data.h
index 78e3d41..9d74041 100644
--- a/extensions/browser/runtime_data.h
+++ b/extensions/browser/runtime_data.h
@@ -25,7 +25,7 @@ class RuntimeData : public ExtensionRegistryObserver {
// Observes |registry| to clean itself up when extensions change state.
// |registry| must not be NULL.
explicit RuntimeData(ExtensionRegistry* registry);
- virtual ~RuntimeData();
+ ~RuntimeData() override;
// Whether the persistent background page, if any, is ready. We don't load
// other components until then. If there is no background page, or if it is
@@ -51,10 +51,9 @@ class RuntimeData : public ExtensionRegistryObserver {
void ClearAll();
// ExtensionRegistryObserver overrides. Public for testing.
- 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;
private:
// Bitmasks for runtime states.