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

Unified Diff: chrome/browser/apps/shortcut_manager.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/shortcut_manager.h
diff --git a/chrome/browser/apps/shortcut_manager.h b/chrome/browser/apps/shortcut_manager.h
index ebc651b1a63d1d29adec84be20c0fabb41e5bc2b..fb662d39ebc0dc69c8d4ad427ab21e395ce2c665 100644
--- a/chrome/browser/apps/shortcut_manager.h
+++ b/chrome/browser/apps/shortcut_manager.h
@@ -32,27 +32,24 @@ class AppShortcutManager : public KeyedService,
explicit AppShortcutManager(Profile* profile);
- virtual ~AppShortcutManager();
+ ~AppShortcutManager() override;
// Updates all shortcuts if kAppShortcutsVersion in prefs is less than
// kCurrentAppShortcutsVersion.
void UpdateShortcutsForAllAppsIfNeeded();
// 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;
// ProfileInfoCacheObserver.
- virtual void OnProfileWillBeRemoved(
- const base::FilePath& profile_path) override;
+ void OnProfileWillBeRemoved(const base::FilePath& profile_path) override;
private:
void DeleteApplicationShortcuts(const extensions::Extension* extension);
« no previous file with comments | « chrome/browser/apps/per_app_settings_service_factory.h ('k') | chrome/browser/apps/shortcut_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698