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

Unified Diff: apps/pref_names.cc

Issue 17261016: When app shortcuts are enabled, do a once-off creation of all shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: apps/pref_names.cc
diff --git a/apps/pref_names.cc b/apps/pref_names.cc
index b4d3176a594112a72114f76b23587bff3b327b81..16531bd340939b98f4d92f61b83a64c08bd3222d 100644
--- a/apps/pref_names.cc
+++ b/apps/pref_names.cc
@@ -27,6 +27,11 @@ const char kAppLauncherHasBeenEnabled[] =
const char kAppLauncherIsEnabled[] =
"apps.app_launcher.should_show_apps_page";
+// A boolean that indicates whether app shortcuts are enabled.
+// On a transition from false to true, shortcuts are created for all apps.
+const char kAppShortcutsEnabled[] =
+ "apps.app_shortcuts_enabled";
Matt Giuca 2013/06/20 10:19:18 Should fit on one line.
Matt Giuca 2013/06/20 10:19:18 "enabled" sounds like it's a choice you can turn e
jackhou1 2013/06/20 11:03:22 Done.
jackhou1 2013/06/20 11:03:22 Done.
+
// A boolean identifying if we should show the app launcher promo or not.
const char kShowAppLauncherPromo[] = "app_launcher.show_promo";

Powered by Google App Engine
This is Rietveld 408576698