Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index d06f700cdd8d1a09658ada2c1643f98a4a2ee655..fe9f8b6fa7a08d8c548fe5cd8b6d82028e62208d 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -62,6 +62,11 @@ class ProfileManager : public base::NonThreadSafe, |
// otherwise it will create and manage it. |
Profile* GetProfile(const FilePath& profile_dir); |
+ // Multi-profile support. |
+ size_t GetNumberOfProfiles(); |
+ string16 GetNameOfProfileAtIndex(size_t index); |
+ FilePath GetFilePathOfProfileAtIndex(size_t index, FilePath user_data_dir); |
sky
2011/06/10 16:24:14
const FilePath&
sail
2011/06/11 01:27:37
Done.
|
+ |
// Explicit asynchronous creation of the profile. |observer| is called |
// when profile is created. If profile has already been created, observer |
// is called immediately. Should be called on the UI thread. |
@@ -173,6 +178,9 @@ class ProfileManager : public base::NonThreadSafe, |
// entry. |
ProfileInfo* RegisterProfile(Profile* profile, bool created); |
+ std::vector<std::pair<FilePath, string16> > |
sky
2011/06/10 16:24:14
How about a typedef. And document what the string1
sail
2011/06/11 01:27:37
Done.
|
+ GetSortedProfilesFromDirectoryMap(); |
+ |
NotificationRegistrar registrar_; |
// Indicates that a user has logged in and that the profile specified |