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

Unified Diff: chrome/browser/profiles/profiles_state.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/profiles/profiles_state.cc
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc
index b819c3f5b40cdb876ceeec0bc8c911b3e00783ec..01d1b93feb5fa12411f63006dcc005d96b4f737f 100644
--- a/chrome/browser/profiles/profiles_state.cc
+++ b/chrome/browser/profiles/profiles_state.cc
@@ -202,7 +202,7 @@ bool SetActiveProfileToGuestIfLocked() {
ProfileManager* profile_manager = g_browser_process->profile_manager();
const base::FilePath& active_profile_path =
- profile_manager->GetLastUsedProfileDir(profile_manager->user_data_dir());
+ profile_manager->GetLastUsedProfileDir();
const base::FilePath& guest_path = ProfileManager::GetGuestProfilePath();
if (active_profile_path == guest_path)
return true;
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/status_icons/desktop_notification_balloon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698