OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 5 #ifndef COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
6 #define COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 6 #define COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
15 #include "base/gtest_prod_util.h" | |
16 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
17 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
18 #include "components/syncable_prefs/synced_pref_observer.h" | 17 #include "components/syncable_prefs/synced_pref_observer.h" |
19 #include "sync/api/sync_data.h" | 18 #include "sync/api/sync_data.h" |
20 #include "sync/api/syncable_service.h" | 19 #include "sync/api/syncable_service.h" |
21 | 20 |
22 namespace base { | 21 namespace base { |
23 class Value; | 22 class Value; |
24 } | 23 } |
25 | 24 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 194 |
196 SyncedPrefObserverMap synced_pref_observers_; | 195 SyncedPrefObserverMap synced_pref_observers_; |
197 const PrefModelAssociatorClient* client_; // Weak. | 196 const PrefModelAssociatorClient* client_; // Weak. |
198 | 197 |
199 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); | 198 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); |
200 }; | 199 }; |
201 | 200 |
202 } // namespace syncable_prefs | 201 } // namespace syncable_prefs |
203 | 202 |
204 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 203 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
OLD | NEW |