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

Side by Side Diff: sync/engine/commit.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « sync/engine/commit.h ('k') | sync/engine/commit_contribution.h » ('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 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 "sync/engine/commit.h" 5 #include "sync/engine/commit.h"
6 6
7 #include <stddef.h>
8
7 #include "base/metrics/sparse_histogram.h" 9 #include "base/metrics/sparse_histogram.h"
8 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
9 #include "sync/engine/commit_contribution.h" 11 #include "sync/engine/commit_contribution.h"
10 #include "sync/engine/commit_processor.h" 12 #include "sync/engine/commit_processor.h"
11 #include "sync/engine/commit_util.h" 13 #include "sync/engine/commit_util.h"
12 #include "sync/engine/syncer.h" 14 #include "sync/engine/syncer.h"
13 #include "sync/engine/syncer_proto_util.h" 15 #include "sync/engine/syncer_proto_util.h"
14 #include "sync/internal_api/public/events/commit_request_event.h" 16 #include "sync/internal_api/public/events/commit_request_event.h"
15 #include "sync/internal_api/public/events/commit_response_event.h" 17 #include "sync/internal_api/public/events/commit_response_event.h"
16 #include "sync/sessions/sync_session.h" 18 #include "sync/sessions/sync_session.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 184
183 void Commit::CleanUp() { 185 void Commit::CleanUp() {
184 for (ContributionMap::const_iterator it = contributions_.begin(); 186 for (ContributionMap::const_iterator it = contributions_.begin();
185 it != contributions_.end(); ++it) { 187 it != contributions_.end(); ++it) {
186 it->second->CleanUp(); 188 it->second->CleanUp();
187 } 189 }
188 cleaned_up_ = true; 190 cleaned_up_ = true;
189 } 191 }
190 192
191 } // namespace syncer 193 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/commit.h ('k') | sync/engine/commit_contribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698