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

Unified Diff: chrome/browser/apps/ephemeral_app_service.h

Issue 668903002: Standardize usage of virtual/override/final in chrome/browser/apps/ (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/apps/ephemeral_app_service.h
diff --git a/chrome/browser/apps/ephemeral_app_service.h b/chrome/browser/apps/ephemeral_app_service.h
index 9efb4126244e4af2aa3e651ddcb63a429758f266..cf8c879c8c81a5c6ed54f91963acf8d3e967595f 100644
--- a/chrome/browser/apps/ephemeral_app_service.h
+++ b/chrome/browser/apps/ephemeral_app_service.h
@@ -35,7 +35,7 @@ class EphemeralAppService : public KeyedService,
static EphemeralAppService* Get(Profile* profile);
explicit EphemeralAppService(Profile* profile);
- virtual ~EphemeralAppService();
+ ~EphemeralAppService() override;
// Clears the ephemeral app cache. Removes all idle ephemeral apps.
void ClearCachedApps();
@@ -61,25 +61,23 @@ class EphemeralAppService : public KeyedService,
typedef std::multimap<base::Time, std::string> LaunchTimeAppMap;
// 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;
// extensions::ExtensionRegistryObserver.
- 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 OnExtensionUninstalled(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- extensions::UninstallReason reason) override;
+ void OnExtensionWillBeInstalled(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ bool is_update,
+ bool from_ephemeral,
+ const std::string& old_name) override;
+ void OnExtensionUninstalled(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ extensions::UninstallReason reason) override;
// apps::AppLifetimeMonitor::Observer implementation.
- virtual void OnAppStop(Profile* profile, const std::string& app_id) override;
- virtual void OnChromeTerminating() override;
+ void OnAppStop(Profile* profile, const std::string& app_id) override;
+ void OnChromeTerminating() override;
void Init();
void InitEphemeralAppCount();
« no previous file with comments | « chrome/browser/apps/ephemeral_app_launcher_browsertest.cc ('k') | chrome/browser/apps/ephemeral_app_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698