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