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

Unified Diff: chrome/browser/ui/views/profiles/user_manager_view.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
« no previous file with comments | « chrome/browser/ui/views/message_center/web_notification_tray_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profiles/user_manager_view.cc
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc
index 47331b92f982a14a0e178eb8f481247c34435607..e719524264ddcc617f84c2703fc64ea2c8a99389 100644
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc
@@ -148,7 +148,7 @@ void UserManagerView::Init(Profile* system_profile, const GURL& url) {
gfx::Rect bounds;
ProfileManager* profile_manager = g_browser_process->profile_manager();
const base::FilePath& last_used_profile_path =
- profile_manager->GetLastUsedProfileDir(profile_manager->user_data_dir());
+ profile_manager->GetLastUsedProfileDir();
Profile* profile = profile_manager->GetProfileByPath(last_used_profile_path);
if (profile) {
Browser* browser = chrome::FindLastActiveWithProfile(profile,
« no previous file with comments | « chrome/browser/ui/views/message_center/web_notification_tray_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698