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

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

Issue 263403002: Replace OnceOffCreateShortcuts with UpdateShortcutsForAllAppsIfNeeded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/apps/shortcut_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/shortcut_manager.h
diff --git a/chrome/browser/apps/shortcut_manager.h b/chrome/browser/apps/shortcut_manager.h
index 8cec583c312b47aaea70b5a3ca33bd76eb1c7385..f47a90f332106d9ea485cbcafa935437b6146672 100644
--- a/chrome/browser/apps/shortcut_manager.h
+++ b/chrome/browser/apps/shortcut_manager.h
@@ -34,9 +34,9 @@ class AppShortcutManager : public KeyedService,
virtual ~AppShortcutManager();
- // Checks if kShortcutsEnabled is set in prefs. If not, this sets it and
- // creates shortcuts for all apps.
- void OnceOffCreateShortcuts();
+ // Updates all shortcuts if kAppShortcutsVersion in prefs is less than
+ // kCurrentAppShortcutsVersion.
+ void UpdateShortcutsForAllAppsIfNeeded();
// extensions::ExtensionRegistryObserver.
virtual void OnExtensionWillBeInstalled(
« no previous file with comments | « no previous file | chrome/browser/apps/shortcut_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698