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

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

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 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
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_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/model_type_registry_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