Index: chrome/browser/profiles/profile_list.h |
diff --git a/chrome/browser/profiles/profile_list.h b/chrome/browser/profiles/profile_list.h |
index 7092d209b0c063a5489c6066afbd57779959ae33..043a372ae917ba87ee6007f8190e3a79a13f6f15 100644 |
--- a/chrome/browser/profiles/profile_list.h |
+++ b/chrome/browser/profiles/profile_list.h |
@@ -7,14 +7,14 @@ |
#include "chrome/browser/profiles/avatar_menu.h" |
-class ProfileInfoInterface; |
+class ProfileAttributesStorage; |
// This model represents the profiles added to Chrome. |
class ProfileList { |
public: |
virtual ~ProfileList() {} |
- static ProfileList* Create(ProfileInfoInterface* profile_cache); |
+ static ProfileList* Create(ProfileAttributesStorage* profile_storage); |
// Returns the number of profiles in the model. |
virtual size_t GetNumberOfItems() const = 0; |
@@ -26,7 +26,7 @@ class ProfileList { |
virtual void RebuildMenu() = 0; |
// Returns the index in the menu of the specified profile. |
- virtual size_t MenuIndexFromProfileIndex(size_t index) = 0; |
+ virtual size_t MenuIndexFromProfilePath(const base::FilePath& path) = 0; |
// Updates the path of the active browser's profile. |
virtual void ActiveProfilePathChanged(base::FilePath& path) = 0; |