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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 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: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 1cf05832dd7d8f0ab00f1df073182d5fad97eeea..a92d8ab15e2918e5c560d91c093591f57d5a822c 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -59,6 +59,7 @@
#include "chrome/browser/task_manager/task_manager.h"
#include "chrome/browser/translate/translate_prefs.h"
#include "chrome/browser/ui/alternate_error_tab_observer.h"
+#include "chrome/browser/ui/app_list/app_list_util.h"
#include "chrome/browser/ui/browser_instant_controller.h"
#include "chrome/browser/ui/browser_ui_prefs.h"
#include "chrome/browser/ui/network_profile_bubble.h"
@@ -220,6 +221,10 @@ void RegisterLocalState(PrefServiceSimple* local_state) {
#if defined(OS_MACOSX)
confirm_quit::RegisterLocalState(local_state);
#endif
+
+#if defined(ENABLE_SETTINGS_APP)
+ chrome::RegisterAppListPrefs(local_state);
+#endif
}
void RegisterUserPrefs(PrefServiceSyncable* user_prefs) {

Powered by Google App Engine
This is Rietveld 408576698