Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698