OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ |
6 #define COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "components/sync/base/cryptographer.h" | 16 #include "components/sync/base/cryptographer.h" |
17 #include "components/sync/base/model_type.h" | 17 #include "components/sync/base/model_type.h" |
18 #include "components/sync/core/non_blocking_sync_common.h" | |
19 #include "components/sync/core/sync_encryption_handler.h" | |
20 #include "components/sync/engine/commit_queue.h" | 18 #include "components/sync/engine/commit_queue.h" |
| 19 #include "components/sync/engine/non_blocking_sync_common.h" |
| 20 #include "components/sync/engine/sync_encryption_handler.h" |
21 #include "components/sync/engine_impl/commit_contributor.h" | 21 #include "components/sync/engine_impl/commit_contributor.h" |
22 #include "components/sync/engine_impl/nudge_handler.h" | 22 #include "components/sync/engine_impl/nudge_handler.h" |
23 #include "components/sync/engine_impl/update_handler.h" | 23 #include "components/sync/engine_impl/update_handler.h" |
24 #include "components/sync/protocol/model_type_state.pb.h" | 24 #include "components/sync/protocol/model_type_state.pb.h" |
25 #include "components/sync/protocol/sync.pb.h" | 25 #include "components/sync/protocol/sync.pb.h" |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class SingleThreadTaskRunner; | 28 class SingleThreadTaskRunner; |
29 } | 29 } |
30 | 30 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // they can all be sent to the processor at once. | 173 // they can all be sent to the processor at once. |
174 UpdateResponseDataList pending_updates_; | 174 UpdateResponseDataList pending_updates_; |
175 | 175 |
176 base::ThreadChecker thread_checker_; | 176 base::ThreadChecker thread_checker_; |
177 base::WeakPtrFactory<ModelTypeWorker> weak_ptr_factory_; | 177 base::WeakPtrFactory<ModelTypeWorker> weak_ptr_factory_; |
178 }; | 178 }; |
179 | 179 |
180 } // namespace syncer | 180 } // namespace syncer |
181 | 181 |
182 #endif // COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ | 182 #endif // COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_ |
OLD | NEW |