| 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();
|
|
|