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
[email protected]
Review URL: https://codereview.chromium.org/664933004
Cr-Commit-Position: refs/heads/master@{#300475}
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 @@
// 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 @@
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.