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 CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
6 #define CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 6 #define CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/api/prefs/pref_member.h" |
15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
16 #include "sync/internal_api/public/base/model_type.h" | 16 #include "sync/internal_api/public/base/model_type.h" |
17 #include "sync/notifier/invalidation_state_tracker.h" | 17 #include "sync/notifier/invalidation_state_tracker.h" |
18 | 18 |
19 class PrefService; | 19 class PrefService; |
20 | 20 |
21 namespace browser_sync { | 21 namespace browser_sync { |
22 | 22 |
23 class SyncPrefObserver { | 23 class SyncPrefObserver { |
24 public: | 24 public: |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // etc. | 159 // etc. |
160 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; | 160 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; |
161 PrefGroupsMap pref_groups_; | 161 PrefGroupsMap pref_groups_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); | 163 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace browser_sync | 166 } // namespace browser_sync |
167 | 167 |
168 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 168 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
OLD | NEW |