Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index a0672eb3a1870c76739245dc509ebc62a091e806..9d1e03f7be98e6f2588722ed9ca352026de91515 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -263,6 +263,10 @@ class ProfileManager : public base::NonThreadSafe, |
// entry. |
ProfileInfo* RegisterProfile(Profile* profile, bool created); |
+ // Returns ProfileInfo associated with given |path|, registred earlier with |
+ // RegisterProfile. |
+ ProfileInfo* GetProfileInfoByPath(const FilePath& path) const; |
+ |
typedef std::pair<FilePath, string16> ProfilePathAndName; |
typedef std::vector<ProfilePathAndName> ProfilePathAndNames; |
ProfilePathAndNames GetSortedProfilesFromDirectoryMap(); |