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

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

Issue 1686833003: Remove HostDesktopType from profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-16
Patch Set: desktop linux and mac Created 4 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 30b15e2aad0a74414c838dc2d23841cc79b8faa8..d24ace2377b687cf1428d6353bd9356427a7417d 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
@@ -423,8 +423,8 @@ void ManageProfileHandler::SwitchAppListProfile(const base::ListValue* args) {
!base::GetValueAsFilePath(*file_path_value, &profile_file_path))
return;
- AppListService* app_list_service = AppListService::Get(
- options::helper::GetDesktopType(web_ui()));
+ AppListService* app_list_service =
+ AppListService::Get(chrome::HOST_DESKTOP_TYPE_NATIVE);
app_list_service->SetProfilePath(profile_file_path);
app_list_service->Show();
« no previous file with comments | « chrome/browser/ui/webui/options/create_profile_handler.cc ('k') | chrome/browser/ui/webui/options/options_handlers_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698