Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1543)

Unified Diff: chrome/browser/ui/app_list/recommended_apps.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/recommended_apps.h
diff --git a/chrome/browser/ui/app_list/recommended_apps.h b/chrome/browser/ui/app_list/recommended_apps.h
index 7e4b13b339967a4324438207571439543e5b2309..a75275791646abca34bb6178d657f5fca2edfca7 100644
--- a/chrome/browser/ui/app_list/recommended_apps.h
+++ b/chrome/browser/ui/app_list/recommended_apps.h
@@ -31,7 +31,7 @@ class RecommendedApps : public extensions::ExtensionRegistryObserver {
typedef std::vector<scoped_refptr<const extensions::Extension> > Apps;
explicit RecommendedApps(Profile* profile);
- virtual ~RecommendedApps();
+ ~RecommendedApps() override;
void AddObserver(RecommendedAppsObserver* observer);
void RemoveObserver(RecommendedAppsObserver* observer);
@@ -42,23 +42,20 @@ class RecommendedApps : public extensions::ExtensionRegistryObserver {
void Update();
// extensions::ExtensionRegistryObserver overrides:
- virtual void OnExtensionWillBeInstalled(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- bool is_update,
- bool from_ephemeral,
- const std::string& old_name) override;
- virtual void OnExtensionLoaded(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension) override;
- virtual void OnExtensionUnloaded(
+ void OnExtensionWillBeInstalled(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ bool is_update,
+ bool from_ephemeral,
+ const std::string& old_name) override;
+ void OnExtensionLoaded(content::BrowserContext* browser_context,
+ const extensions::Extension* extension) override;
+ void OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
extensions::UnloadedExtensionInfo::Reason reason) override;
- virtual void OnExtensionUninstalled(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- extensions::UninstallReason reason) override;
+ void OnExtensionUninstalled(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ extensions::UninstallReason reason) override;
Profile* profile_;
PrefChangeRegistrar pref_change_registrar_;

Powered by Google App Engine
This is Rietveld 408576698