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

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: 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') | chrome/browser/apps/shortcut_manager.cc » ('J')
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 b94101e6542cc137ab80e3fb100b976e01b963cb..26a73ad1f0bac4f54669bd7a37c49864f3cff807 100644
--- a/chrome/browser/apps/shortcut_manager.h
+++ b/chrome/browser/apps/shortcut_manager.h
@@ -29,9 +29,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 if kAppShortcutsVersion in prefs is less than
+ // kCurrentAppShortcutsVersion.
+ void UpdateShortcutsForAllAppsIfNeeded();
// content::NotificationObserver
virtual void Observe(int type,
« no previous file with comments | « no previous file | chrome/browser/apps/shortcut_manager.cc » ('j') | chrome/browser/apps/shortcut_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698