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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
13 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
14 #include "base/time.h" | 13 #include "base/time.h" |
15 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/prefs/pref_member.h" |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "sync/internal_api/public/base/model_type.h" | 16 #include "sync/internal_api/public/base/model_type.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // etc. | 151 // etc. |
153 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; | 152 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; |
154 PrefGroupsMap pref_groups_; | 153 PrefGroupsMap pref_groups_; |
155 | 154 |
156 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); | 155 DISALLOW_COPY_AND_ASSIGN(SyncPrefs); |
157 }; | 156 }; |
158 | 157 |
159 } // namespace browser_sync | 158 } // namespace browser_sync |
160 | 159 |
161 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ | 160 #endif // CHROME_BROWSER_SYNC_SYNC_PREFS_H_ |
OLD | NEW |