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

Side by Side Diff: sync/internal_api/events/commit_request_event.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/internal_api/delete_journal.cc ('k') | sync/internal_api/http_bridge.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 "sync/internal_api/public/events/commit_request_event.h" 5 #include "sync/internal_api/public/events/commit_request_event.h"
6 6
7 #include <stddef.h>
8
7 #include "base/format_macros.h" 9 #include "base/format_macros.h"
8 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
9 #include "sync/protocol/proto_value_conversions.h" 11 #include "sync/protocol/proto_value_conversions.h"
10 12
11 namespace syncer { 13 namespace syncer {
12 14
13 CommitRequestEvent::CommitRequestEvent( 15 CommitRequestEvent::CommitRequestEvent(
14 base::Time timestamp, 16 base::Time timestamp,
15 size_t num_items, 17 size_t num_items,
16 ModelTypeSet contributing_types, 18 ModelTypeSet contributing_types,
(...skipping 28 matching lines...) Expand all
45 47
46 scoped_ptr<ProtocolEvent> CommitRequestEvent::Clone() const { 48 scoped_ptr<ProtocolEvent> CommitRequestEvent::Clone() const {
47 return scoped_ptr<ProtocolEvent>( 49 return scoped_ptr<ProtocolEvent>(
48 new CommitRequestEvent(timestamp_, 50 new CommitRequestEvent(timestamp_,
49 num_items_, 51 num_items_,
50 contributing_types_, 52 contributing_types_,
51 request_)); 53 request_));
52 } 54 }
53 55
54 } // namespace syncer 56 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/delete_journal.cc ('k') | sync/internal_api/http_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698