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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.cc

Issue 1128173005: Clean up ProfileManager interface. Base URL: https://chromium.googlesource.com/chromium/src@issue479309
Patch Set: sync Created 5 years, 7 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/views/app_list/win/app_list_service_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
index e08d0568470f24ece5db857b4798e06ec94333f9..2c95d9fca2db319a9f3c435623253f86348ef174 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
@@ -388,11 +388,8 @@ void AppListServiceWin::LoadProfileForWarmup() {
if (!IsWarmupNeeded())
return;
- ProfileManager* profile_manager = g_browser_process->profile_manager();
- base::FilePath profile_path(GetProfilePath(profile_manager->user_data_dir()));
-
profile_loader().LoadProfileInvalidatingOtherLoads(
- profile_path,
+ GetProfilePath(),
base::Bind(&AppListServiceWin::OnLoadProfileForWarmup,
base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698