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: sync/syncable/write_transaction_info.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/syncable/write_transaction_info.h ('k') | sync/test/callback_counter.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/syncable/write_transaction_info.h" 5 #include "sync/syncable/write_transaction_info.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
8 11
9 namespace syncer { 12 namespace syncer {
10 namespace syncable { 13 namespace syncable {
11 14
12 WriteTransactionInfo::WriteTransactionInfo( 15 WriteTransactionInfo::WriteTransactionInfo(
13 int64 id, 16 int64_t id,
14 tracked_objects::Location location, 17 tracked_objects::Location location,
15 WriterTag writer, 18 WriterTag writer,
16 ImmutableEntryKernelMutationMap mutations) 19 ImmutableEntryKernelMutationMap mutations)
17 : id(id), 20 : id(id),
18 location_string(location.ToString()), 21 location_string(location.ToString()),
19 writer(writer), 22 writer(writer),
20 mutations(mutations) {} 23 mutations(mutations) {}
21 24
22 WriteTransactionInfo::WriteTransactionInfo() 25 WriteTransactionInfo::WriteTransactionInfo()
23 : id(-1), writer(INVALID) {} 26 : id(-1), writer(INVALID) {}
(...skipping 14 matching lines...) Expand all
38 mutations_value = 41 mutations_value =
39 new base::StringValue( 42 new base::StringValue(
40 base::SizeTToString(mutations_size) + " mutations"); 43 base::SizeTToString(mutations_size) + " mutations");
41 } 44 }
42 dict->Set("mutations", mutations_value); 45 dict->Set("mutations", mutations_value);
43 return dict; 46 return dict;
44 } 47 }
45 48
46 } // namespace syncable 49 } // namespace syncable
47 } // namespace syncer 50 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/syncable/write_transaction_info.h ('k') | sync/test/callback_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698