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

Side by Side Diff: components/sync/engine_impl/commit_processor.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
« no previous file with comments | « components/sync/engine_impl/commit.cc ('k') | components/sync/engine_impl/commit_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/commit_processor.h" 5 #include "components/sync/engine_impl/commit_processor.h"
6 6
7 #include <stddef.h>
8
9 #include <utility> 7 #include <utility>
10 8
11 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
12 #include "components/sync/engine_impl/commit_contribution.h" 10 #include "components/sync/engine_impl/commit_contribution.h"
13 #include "components/sync/engine_impl/commit_contributor.h" 11 #include "components/sync/engine_impl/commit_contributor.h"
14 #include "components/sync/protocol/sync.pb.h" 12 #include "components/sync/protocol/sync.pb.h"
15 13
16 namespace syncer { 14 namespace syncer {
17 15
18 typedef std::map<ModelType, size_t> TypeToIndexMap; 16 typedef std::map<ModelType, size_t> TypeToIndexMap;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 53 }
56 if (num_entries >= max_entries) { 54 if (num_entries >= max_entries) {
57 DCHECK_EQ(num_entries, max_entries) 55 DCHECK_EQ(num_entries, max_entries)
58 << "Number of commit entries exceeeds maximum"; 56 << "Number of commit entries exceeeds maximum";
59 break; 57 break;
60 } 58 }
61 } 59 }
62 } 60 }
63 61
64 } // namespace syncer 62 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/commit.cc ('k') | components/sync/engine_impl/commit_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698