Chromium Code Reviews

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/webui/ntp/app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
index 8fdc3b3641ed9cca6bbc21e2c8cb57b677bbfe52..617389f0c8f5a40b8be76605d70a49d645ca503a 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
@@ -39,7 +39,7 @@ class AppLauncherHandler
public content::NotificationObserver {
public:
explicit AppLauncherHandler(ExtensionService* extension_service);
- virtual ~AppLauncherHandler();
+ ~AppLauncherHandler() override;
// Populate a dictionary with the information from an extension.
static void CreateAppInfo(
@@ -48,12 +48,12 @@ class AppLauncherHandler
base::DictionaryValue* value);
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
// content::NotificationObserver
- 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;
// Populate the given dictionary with all installed app info.
void FillAppDictionary(base::DictionaryValue* value);
@@ -124,12 +124,12 @@ class AppLauncherHandler
void PromptToEnableApp(const std::string& extension_id);
// ExtensionUninstallDialog::Delegate:
- virtual void ExtensionUninstallAccepted() override;
- virtual void ExtensionUninstallCanceled() override;
+ void ExtensionUninstallAccepted() override;
+ void ExtensionUninstallCanceled() override;
// ExtensionEnableFlowDelegate:
- virtual void ExtensionEnableFlowFinished() override;
- virtual void ExtensionEnableFlowAborted(bool user_initiated) override;
+ void ExtensionEnableFlowFinished() override;
+ void ExtensionEnableFlowAborted(bool user_initiated) override;
// Returns the ExtensionUninstallDialog object for this class, creating it if
// needed.

Powered by Google App Engine