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

Side by Side Diff: components/sync/engine_impl/commit.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.h" 5 #include "components/sync/engine_impl/commit.h"
6 6
7 #include <stddef.h>
8
9 #include "base/metrics/sparse_histogram.h" 7 #include "base/metrics/sparse_histogram.h"
10 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
11 #include "components/sync/base/data_type_histogram.h" 9 #include "components/sync/base/data_type_histogram.h"
12 #include "components/sync/engine/events/commit_request_event.h" 10 #include "components/sync/engine/events/commit_request_event.h"
13 #include "components/sync/engine/events/commit_response_event.h" 11 #include "components/sync/engine/events/commit_response_event.h"
14 #include "components/sync/engine_impl/commit_contribution.h"
15 #include "components/sync/engine_impl/commit_processor.h" 12 #include "components/sync/engine_impl/commit_processor.h"
16 #include "components/sync/engine_impl/commit_util.h" 13 #include "components/sync/engine_impl/commit_util.h"
17 #include "components/sync/engine_impl/cycle/sync_cycle.h" 14 #include "components/sync/engine_impl/cycle/sync_cycle.h"
18 #include "components/sync/engine_impl/syncer.h" 15 #include "components/sync/engine_impl/syncer.h"
19 #include "components/sync/engine_impl/syncer_proto_util.h" 16 #include "components/sync/engine_impl/syncer_proto_util.h"
20 17
21 namespace syncer { 18 namespace syncer {
22 19
23 Commit::Commit(ContributionMap contributions, 20 Commit::Commit(ContributionMap contributions,
24 const sync_pb::ClientToServerMessage& message, 21 const sync_pb::ClientToServerMessage& message,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 173
177 void Commit::CleanUp() { 174 void Commit::CleanUp() {
178 for (ContributionMap::const_iterator it = contributions_.begin(); 175 for (ContributionMap::const_iterator it = contributions_.begin();
179 it != contributions_.end(); ++it) { 176 it != contributions_.end(); ++it) {
180 it->second->CleanUp(); 177 it->second->CleanUp();
181 } 178 }
182 cleaned_up_ = true; 179 cleaned_up_ = true;
183 } 180 }
184 181
185 } // namespace syncer 182 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/all_status.cc ('k') | components/sync/engine_impl/commit_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698