diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 12:51:38 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 12:51:38 +0000 |
commit | c00fdf9a4f52aff821a9b948e68aaa678b5b2138 (patch) | |
tree | 5e76110c18389e3e0aebed9eb6b17efafa2a67f3 /apps | |
parent | 80f157fe40a89dbe790272666c59a1ad53728b17 (diff) | |
download | chromium_src-c00fdf9a4f52aff821a9b948e68aaa678b5b2138.zip chromium_src-c00fdf9a4f52aff821a9b948e68aaa678b5b2138.tar.gz chromium_src-c00fdf9a4f52aff821a9b948e68aaa678b5b2138.tar.bz2 |
Move the responsibility for enabling the app list to AppListServiceImpl.
Setting profiles is currently the job of AppListServiceImpl, but
responsibility for setting the profile _path_ is currently up to the the
platform-specific implementation. Similarly, enabling via the webstore
is accomplished in a platform-specific way.
After this CL, enabling and disabling the app list, and setting the app
list profile path, will be the responsibility of AppListServiceImpl. To
do this, prefs::kAppLauncherHasBeenEnabled moves from Windows-only to a
shared preference between "desktop" app list implementations.
BUG=138633, 261363
TEST=No functional changes
Review URL: https://chromiumcodereview.appspot.com/19091003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r-- | apps/prefs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/prefs.cc b/apps/prefs.cc index 878ec85..311d663 100644 --- a/apps/prefs.cc +++ b/apps/prefs.cc @@ -20,11 +20,11 @@ void RegisterPrefs(PrefRegistrySimple* registry) { // Anything that needs to know the absolute truth should call // GetIsAppLauncherEnabled(). registry->RegisterBooleanPref(prefs::kAppLauncherIsEnabled, false); + registry->RegisterBooleanPref(prefs::kAppLauncherHasBeenEnabled, false); #if defined(OS_WIN) registry->RegisterStringPref(prefs::kAppLaunchForMetroRestart, ""); registry->RegisterStringPref(prefs::kAppLaunchForMetroRestartProfile, ""); - registry->RegisterBooleanPref(prefs::kAppLauncherHasBeenEnabled, false); #endif // Identifies whether we should show the app launcher promo or not. |