Index: chrome/browser/ui/views/profiles/new_avatar_button.h |
diff --git a/chrome/browser/ui/views/profiles/new_avatar_button.h b/chrome/browser/ui/views/profiles/new_avatar_button.h |
index 2a06e3f19f237938a0cdca21c8afc53c0520f09e..36c28b4b3bf2358f0623b3612361b9a7c408901f 100644 |
--- a/chrome/browser/ui/views/profiles/new_avatar_button.h |
+++ b/chrome/browser/ui/views/profiles/new_avatar_button.h |
@@ -6,7 +6,7 @@ |
#define CHROME_BROWSER_UI_VIEWS_PROFILES_NEW_AVATAR_BUTTON_H_ |
#include "base/macros.h" |
-#include "chrome/browser/profiles/profile_info_cache_observer.h" |
+#include "chrome/browser/profiles/profile_attributes_storage.h" |
#include "chrome/browser/ui/views/profiles/avatar_button_style.h" |
#include "components/signin/core/browser/signin_error_controller.h" |
#include "ui/views/controls/button/label_button.h" |
@@ -15,7 +15,7 @@ class Browser; |
// Avatar button that displays the active profile's name in the caption area. |
class NewAvatarButton : public views::LabelButton, |
- public ProfileInfoCacheObserver, |
+ public ProfileAttributesStorage::Observer, |
public SigninErrorController::Observer { |
public: |
NewAvatarButton(views::ButtonListener* listener, |
@@ -33,7 +33,7 @@ class NewAvatarButton : public views::LabelButton, |
private: |
friend class ProfileChooserViewExtensionsTest; |
- // ProfileInfoCacheObserver: |
+ // ProfileAttributesStorage::Observer: |
void OnProfileAdded(const base::FilePath& profile_path) override; |
void OnProfileWasRemoved(const base::FilePath& profile_path, |
const base::string16& profile_name) override; |