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

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

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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 #include "components/sync/engine_impl/model_type_worker.h" 5 #include "components/sync/engine_impl/model_type_worker.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h> 7 #include <stdint.h>
9 8
10 #include <utility> 9 #include <utility>
11 #include <vector> 10 #include <vector>
12 11
13 #include "base/bind.h" 12 #include "base/bind.h"
14 #include "base/format_macros.h" 13 #include "base/format_macros.h"
15 #include "base/guid.h" 14 #include "base/guid.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
18 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
19 #include "components/sync/base/cryptographer.h"
20 #include "components/sync/base/time.h" 18 #include "components/sync/base/time.h"
21 #include "components/sync/core/model_type_processor.h" 19 #include "components/sync/core/model_type_processor.h"
22 #include "components/sync/engine_impl/commit_contribution.h" 20 #include "components/sync/engine_impl/commit_contribution.h"
23 #include "components/sync/engine_impl/non_blocking_type_commit_contribution.h" 21 #include "components/sync/engine_impl/non_blocking_type_commit_contribution.h"
24 #include "components/sync/engine_impl/worker_entity_tracker.h" 22 #include "components/sync/engine_impl/worker_entity_tracker.h"
25 #include "components/sync/syncable/syncable_util.h" 23 #include "components/sync/syncable/syncable_util.h"
26 24
27 namespace syncer_v2 { 25 namespace syncer_v2 {
28 26
29 using syncer::CommitContribution; 27 using syncer::CommitContribution;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 return entity_ptr; 412 return entity_ptr;
415 } 413 }
416 414
417 WorkerEntityTracker* ModelTypeWorker::GetOrCreateEntityTracker( 415 WorkerEntityTracker* ModelTypeWorker::GetOrCreateEntityTracker(
418 const EntityData& data) { 416 const EntityData& data) {
419 WorkerEntityTracker* entity = GetEntityTracker(data.client_tag_hash); 417 WorkerEntityTracker* entity = GetEntityTracker(data.client_tag_hash);
420 return entity ? entity : CreateEntityTracker(data); 418 return entity ? entity : CreateEntityTracker(data);
421 } 419 }
422 420
423 } // namespace syncer_v2 421 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/engine_impl/get_updates_processor.cc ('k') | components/sync/engine_impl/net/server_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698