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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.cc

Issue 12207104: Refactor app_list_util.h into AppListService abstract base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DEPS, split service providers. next: check cocoa, chromeos Created 7 years, 10 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/ui/webui/options/manage_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
index b19cb7e56a1a74d8418e7a2ee1f5f206ed82db36..07d00ca199aace182ad583f65e7b1d5b5bbfb692 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
@@ -29,7 +29,7 @@
#include "ui/webui/web_ui_util.h"
#if defined(ENABLE_SETTINGS_APP)
-#include "chrome/browser/ui/app_list/app_list_util.h"
+#include "chrome/browser/ui/app_list/app_list_service.h"
#include "content/public/browser/web_contents.h"
#endif
@@ -318,7 +318,7 @@ void ManageProfileHandler::SwitchAppListProfile(const ListValue* args) {
!base::GetValueAsFilePath(*file_path_value, &profile_file_path))
return;
- chrome::SetAppListProfile(profile_file_path);
+ AppListService::Get()->SetAppListProfile(profile_file_path);
// Close the settings app, since it will now be for the wrong profile.
web_ui()->GetWebContents()->Close();
}

Powered by Google App Engine
This is Rietveld 408576698