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_GLUE_SYNC_BACKEND_REGISTRAR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
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/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "chrome/browser/sync/internal_api/sync_manager.h" | |
17 #include "sync/engine/model_safe_worker.h" | 16 #include "sync/engine/model_safe_worker.h" |
| 17 #include "sync/internal_api/sync_manager.h" |
18 #include "sync/syncable/model_type.h" | 18 #include "sync/syncable/model_type.h" |
19 | 19 |
20 class MessageLoop; | 20 class MessageLoop; |
21 class Profile; | 21 class Profile; |
22 | 22 |
23 namespace sync_api { | 23 namespace sync_api { |
24 struct UserShare; | 24 struct UserShare; |
25 } // namespace sync_api | 25 } // namespace sync_api |
26 | 26 |
27 namespace browser_sync { | 27 namespace browser_sync { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 // The change processors that handle the different data types. | 155 // The change processors that handle the different data types. |
156 std::map<syncable::ModelType, ChangeProcessor*> processors_; | 156 std::map<syncable::ModelType, ChangeProcessor*> processors_; |
157 | 157 |
158 DISALLOW_COPY_AND_ASSIGN(SyncBackendRegistrar); | 158 DISALLOW_COPY_AND_ASSIGN(SyncBackendRegistrar); |
159 }; | 159 }; |
160 | 160 |
161 } // namespace browser_sync | 161 } // namespace browser_sync |
162 | 162 |
163 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ | 163 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ |
OLD | NEW |