Chromium Code Reviews| 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); |
|
sail
2013/01/23 16:55:24
The profile manager class is way to big right now.
koz (OOO until 15th September)
2013/01/25 00:32:46
I think the existence of these related functions i
sail
2013/01/25 18:22:34
Argh. I'd like to avoid this. If you can't figure
koz (OOO until 15th September)
2013/01/29 00:34:11
Unfortunately a better way doesn't jump out at me,
|
| + |
| // 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 |