OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_USER_IMAGE_SYNC_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_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/user_manager.h" | 12 #include "chrome/browser/chromeos/login/users/user_manager.h" |
13 #include "chrome/browser/prefs/pref_service_syncable_observer.h" | 13 #include "chrome/browser/prefs/pref_service_syncable_observer.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 { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_ptr<content::NotificationRegistrar> notification_registrar_; | 93 scoped_ptr<content::NotificationRegistrar> notification_registrar_; |
94 PrefServiceSyncable* prefs_; | 94 PrefServiceSyncable* prefs_; |
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_USER_IMAGE_SYNC_OBSERVER_H_ | 103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_SYNC_OBSERVER_H
_ |
104 | 104 |
OLD | NEW |