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 "sync/internal_api/public/engine/model_safe_worker.h" | 16 #include "sync/internal_api/public/engine/model_safe_worker.h" |
| 17 #include "sync/internal_api/public/sync_manager.h" |
17 #include "sync/internal_api/public/syncable/model_type.h" | 18 #include "sync/internal_api/public/syncable/model_type.h" |
18 #include "sync/internal_api/sync_manager.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 { |
28 | 28 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 150 |
151 // The change processors that handle the different data types. | 151 // The change processors that handle the different data types. |
152 std::map<syncable::ModelType, ChangeProcessor*> processors_; | 152 std::map<syncable::ModelType, ChangeProcessor*> processors_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(SyncBackendRegistrar); | 154 DISALLOW_COPY_AND_ASSIGN(SyncBackendRegistrar); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace browser_sync | 157 } // namespace browser_sync |
158 | 158 |
159 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ | 159 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_REGISTRAR_H_ |
OLD | NEW |