| 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/prefs/pref_service_syncable_observer.h" | 12 #include "components/syncable_prefs/pref_service_syncable_observer.h" |
| 13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
| 14 | 14 |
| 15 class PrefChangeRegistrar; | 15 class PrefChangeRegistrar; |
| 16 class PrefServiceSyncable; | 16 class PrefServiceSyncable; |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class NotificationRegistrar; | 20 class NotificationRegistrar; |
| 21 } | 21 } |
| 22 namespace user_prefs { | 22 namespace user_prefs { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 bool is_synced_; | 96 bool is_synced_; |
| 97 // Indicates if local user image changed during initialization. | 97 // Indicates if local user image changed during initialization. |
| 98 bool local_image_changed_; | 98 bool local_image_changed_; |
| 99 base::ObserverList<Observer> observer_list_; | 99 base::ObserverList<Observer> observer_list_; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace chromeos | 102 } // namespace chromeos |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H
_ | 104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H
_ |
| 105 | 105 |
| OLD | NEW |