OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
17 #include "sync/base/sync_export.h" | 17 #include "sync/base/sync_export.h" |
18 #include "sync/internal_api/public/base/model_type.h" | 18 #include "sync/internal_api/public/base/model_type.h" |
19 #include "sync/internal_api/public/base/model_type_invalidation_map.h" | 19 #include "sync/internal_api/public/base/model_type_invalidation_map.h" |
20 #include "sync/internal_api/public/util/syncer_error.h" | 20 #include "sync/internal_api/public/util/syncer_error.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class DictionaryValue; | 23 class DictionaryValue; |
24 } // namespace | 24 } // namespace |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 SYNC_EXPORT ModelTypeSet GetRoutingInfoTypes( | 139 SYNC_EXPORT ModelTypeSet GetRoutingInfoTypes( |
140 const ModelSafeRoutingInfo& routing_info); | 140 const ModelSafeRoutingInfo& routing_info); |
141 | 141 |
142 SYNC_EXPORT ModelSafeGroup GetGroupForModelType( | 142 SYNC_EXPORT ModelSafeGroup GetGroupForModelType( |
143 const ModelType type, | 143 const ModelType type, |
144 const ModelSafeRoutingInfo& routes); | 144 const ModelSafeRoutingInfo& routes); |
145 | 145 |
146 } // namespace syncer | 146 } // namespace syncer |
147 | 147 |
148 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ | 148 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_ |
OLD | NEW |