| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "chrome/browser/chromeos/login/users/user_manager.h" | |
| 13 #include "chrome/browser/prefs/pref_service_syncable_observer.h" | 12 #include "chrome/browser/prefs/pref_service_syncable_observer.h" |
| 13 #include "components/user_manager/user_manager.h" |
| 14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
| 15 | 15 |
| 16 class PrefChangeRegistrar; | 16 class PrefChangeRegistrar; |
| 17 class PrefServiceSyncable; | 17 class PrefServiceSyncable; |
| 18 class Profile; | 18 class Profile; |
| 19 namespace chromeos { | 19 namespace chromeos { |
| 20 class User; | 20 class User; |
| 21 } | 21 } |
| 22 namespace content { | 22 namespace content { |
| 23 class NotificationRegistrar; | 23 class NotificationRegistrar; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 bool is_synced_; | 95 bool is_synced_; |
| 96 // Indicates if local user image changed during initialization. | 96 // Indicates if local user image changed during initialization. |
| 97 bool local_image_changed_; | 97 bool local_image_changed_; |
| 98 ObserverList<Observer> observer_list_; | 98 ObserverList<Observer> observer_list_; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace chromeos | 101 } // namespace chromeos |
| 102 | 102 |
| 103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H
_ | 103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H
_ |
| 104 | 104 |
| OLD | NEW |