| Index: chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h
|
| diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h b/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h
|
| index 7d03d257ee28f52ae1fa1003632dfaf766cb6ca0..f2a865aa863e2745a7f2bb1a8984c77aed0636fb 100644
|
| --- a/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h
|
| +++ b/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/observer_list.h"
|
| #include "components/sync_preferences/pref_service_syncable_observer.h"
|
| +#include "components/user_manager/user_manager.h"
|
| #include "content/public/browser/notification_observer.h"
|
|
|
| class PrefChangeRegistrar;
|
| @@ -37,7 +38,8 @@ namespace chromeos {
|
| // image saved in syncable preference.
|
| class UserImageSyncObserver
|
| : public sync_preferences::PrefServiceSyncableObserver,
|
| - public content::NotificationObserver {
|
| + public content::NotificationObserver,
|
| + public user_manager::UserManager::Observer {
|
| public:
|
| class Observer {
|
| public:
|
| @@ -72,6 +74,9 @@ class UserImageSyncObserver
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) override;
|
|
|
| + // user_manager::UserManager::Observer implementation.
|
| + void OnUserImageChanged(const user_manager::User& user) override;
|
| +
|
| // Called after user profile was loaded.
|
| void OnProfileGained(Profile* profile);
|
|
|
|
|