summaryrefslogtreecommitdiffstats
path: root/apps/prefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/prefs.cc')
-rw-r--r--apps/prefs.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/prefs.cc b/apps/prefs.cc
index edaf119..2685860 100644
--- a/apps/prefs.cc
+++ b/apps/prefs.cc
@@ -20,11 +20,15 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
// GetIsAppLauncherEnabled().
registry->RegisterBooleanPref(prefs::kAppLauncherIsEnabled,
MaybeIsAppLauncherEnabled());
-
#if defined(OS_WIN)
registry->RegisterStringPref(prefs::kAppLaunchForMetroRestart, "");
registry->RegisterStringPref(prefs::kAppLaunchForMetroRestartProfile, "");
#endif
+
+ // Identifies whether we should show the app launcher promo or not.
+ // Now that a field trial also controls the showing, so the promo won't show
+ // unless the pref is set AND the field trial is set to a proper group.
+ registry->RegisterBooleanPref(prefs::kShowAppLauncherPromo, true);
}
} // namespace apps