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

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 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/profile_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index 9d1e03f7be98e6f2588722ed9ca352026de91515..8c884dd4266ce3388efa3b29f283b83fe94f3fcf 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -101,6 +101,10 @@ class ProfileManager : public base::NonThreadSafe,
// Same as instance method but provides the default user_data_dir as well.
static Profile* GetLastUsedProfile();
+ // Get the path of the last used profile, or if that's undefined, the default
+ // profile.
+ FilePath GetLastUsedProfilePath(const FilePath& user_data_dir);
+
// Get the Profiles which are currently open, i.e., have open browsers, or
// were open the last time Chrome was running. The Profiles appear in the
// order they were opened. The last used profile will be on the list, but its

Powered by Google App Engine
This is Rietveld 408576698