Index: chrome/browser/chromeos/profiles/profile_list_chromeos.h |
diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos.h b/chrome/browser/chromeos/profiles/profile_list_chromeos.h |
index 65e3bd744901ee46ceeca8e87f97c3750c0b414c..01a48c5910c2ee14f3356d03a9923500ea9d5c80 100644 |
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos.h |
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos.h |
@@ -9,21 +9,21 @@ |
#include <vector> |
-class ProfileInfoInterface; |
+class ProfileAttributesStorage; |
namespace chromeos { |
// This model represents profiles corresponding to logged-in ChromeOS users. |
class ProfileListChromeOS : public ProfileList { |
public: |
- explicit ProfileListChromeOS(ProfileInfoInterface* profile_cache); |
+ explicit ProfileListChromeOS(ProfileAttributesStorage* profile_storage); |
~ProfileListChromeOS() override; |
// ProfileList overrides: |
size_t GetNumberOfItems() const override; |
const AvatarMenu::Item& GetItemAt(size_t index) const override; |
void RebuildMenu() override; |
- size_t MenuIndexFromProfileIndex(size_t index) override; |
+ size_t MenuIndexFromProfilePath(const base::FilePath& path) override; |
void ActiveProfilePathChanged(base::FilePath& path) override; |
private: |
@@ -31,7 +31,7 @@ class ProfileListChromeOS : public ProfileList { |
void SortMenu(); |
// The cache that provides the profile information. Weak. |
- ProfileInfoInterface* profile_info_; |
+ ProfileAttributesStorage* profile_storage_; |
// The path of the currently active profile. |
base::FilePath active_profile_path_; |