From ae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 Mon Sep 17 00:00:00 2001 From: dcheng Date: Tue, 21 Oct 2014 05:36:36 -0700 Subject: Standardize usage of virtual/override/final in chrome/browser/extensions/ This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=mek@chromium.org Review URL: https://codereview.chromium.org/666153002 Cr-Commit-Position: refs/heads/master@{#300474} --- .../extensions/error_console/error_console.h | 32 ++++++++++------------ 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'chrome/browser/extensions/error_console/error_console.h') diff --git a/chrome/browser/extensions/error_console/error_console.h b/chrome/browser/extensions/error_console/error_console.h index 6f586ec..23c522b 100644 --- a/chrome/browser/extensions/error_console/error_console.h +++ b/chrome/browser/extensions/error_console/error_console.h @@ -49,7 +49,7 @@ class ErrorConsole : public content::NotificationObserver, }; explicit ErrorConsole(Profile* profile); - virtual ~ErrorConsole(); + ~ErrorConsole() override; // Convenience method to return the ErrorConsole for a given profile. static ErrorConsole* Get(Profile* profile); @@ -126,27 +126,25 @@ class ErrorConsole : public content::NotificationObserver, // ExtensionRegistry implementation. If the Apps Developer Tools app is // installed or uninstalled, we may need to turn the ErrorConsole on/off. - virtual void OnExtensionUnloaded( - content::BrowserContext* browser_context, - const Extension* extension, - UnloadedExtensionInfo::Reason reason) override; - virtual void OnExtensionLoaded(content::BrowserContext* browser_context, - const Extension* extension) override; - virtual void OnExtensionInstalled(content::BrowserContext* browser_context, - const Extension* extension, - bool is_update) override; - virtual void OnExtensionUninstalled( - content::BrowserContext* browser_context, - const Extension* extension, - extensions::UninstallReason reason) override; + void OnExtensionUnloaded(content::BrowserContext* browser_context, + const Extension* extension, + UnloadedExtensionInfo::Reason reason) override; + void OnExtensionLoaded(content::BrowserContext* browser_context, + const Extension* extension) override; + void OnExtensionInstalled(content::BrowserContext* browser_context, + const Extension* extension, + bool is_update) override; + void OnExtensionUninstalled(content::BrowserContext* browser_context, + const Extension* extension, + extensions::UninstallReason reason) override; // Add manifest errors from an extension's install warnings. void AddManifestErrorsForExtension(const Extension* extension); // content::NotificationObserver implementation. - virtual void Observe(int type, - const content::NotificationSource& source, - const content::NotificationDetails& details) override; + void Observe(int type, + const content::NotificationSource& source, + const content::NotificationDetails& details) override; // Returns the applicable bit mask of reporting preferences for the extension. int GetMaskForExtension(const std::string& extension_id) const; -- cgit v1.1