Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: components/sync/engine_impl/model_type_worker.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 SYNC_ENGINE_MODEL_TYPE_WORKER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_
6 #define SYNC_ENGINE_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/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "sync/base/sync_export.h" 16 #include "components/sync/base/cryptographer.h"
17 #include "sync/engine/commit_contributor.h" 17 #include "components/sync/base/model_type.h"
18 #include "sync/engine/commit_queue.h" 18 #include "components/sync/base/sync_export.h"
19 #include "sync/engine/nudge_handler.h" 19 #include "components/sync/core/non_blocking_sync_common.h"
20 #include "sync/engine/update_handler.h" 20 #include "components/sync/core/sync_encryption_handler.h"
21 #include "sync/internal_api/public/base/model_type.h" 21 #include "components/sync/engine_impl/commit_contributor.h"
22 #include "sync/internal_api/public/non_blocking_sync_common.h" 22 #include "components/sync/engine_impl/commit_queue.h"
23 #include "sync/internal_api/public/sync_encryption_handler.h" 23 #include "components/sync/engine_impl/nudge_handler.h"
24 #include "sync/protocol/data_type_state.pb.h" 24 #include "components/sync/engine_impl/update_handler.h"
25 #include "sync/protocol/sync.pb.h" 25 #include "components/sync/protocol/data_type_state.pb.h"
26 #include "sync/util/cryptographer.h" 26 #include "components/sync/protocol/sync.pb.h"
27 27
28 namespace base { 28 namespace base {
29 class SingleThreadTaskRunner; 29 class SingleThreadTaskRunner;
30 } 30 }
31 31
32 namespace syncer_v2 { 32 namespace syncer_v2 {
33 33
34 class ModelTypeProcessor; 34 class ModelTypeProcessor;
35 class WorkerEntityTracker; 35 class WorkerEntityTracker;
36 36
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // Accumulates all the updates from a single GetUpdates cycle in memory so 179 // Accumulates all the updates from a single GetUpdates cycle in memory so
180 // they can all be sent to the processor at once. 180 // they can all be sent to the processor at once.
181 UpdateResponseDataList pending_updates_; 181 UpdateResponseDataList pending_updates_;
182 182
183 base::WeakPtrFactory<ModelTypeWorker> weak_ptr_factory_; 183 base::WeakPtrFactory<ModelTypeWorker> weak_ptr_factory_;
184 }; 184 };
185 185
186 } // namespace syncer_v2 186 } // namespace syncer_v2
187 187
188 #endif // SYNC_ENGINE_MODEL_TYPE_WORKER_H_ 188 #endif // COMPONENTS_SYNC_ENGINE_IMPL_MODEL_TYPE_WORKER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/get_updates_processor_unittest.cc ('k') | components/sync/engine_impl/model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698