OLD | NEW |
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 "base/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
8 | 8 |
9 namespace syncer { | 9 namespace syncer { |
10 namespace syncable { | 10 namespace syncable { |
11 | 11 |
12 WriteTransactionInfo::WriteTransactionInfo( | 12 WriteTransactionInfo::WriteTransactionInfo( |
13 int64 id, | 13 int64 id, |
14 tracked_objects::Location location, | 14 tracked_objects::Location location, |
15 WriterTag writer, | 15 WriterTag writer, |
16 ImmutableEntryKernelMutationMap mutations) | 16 ImmutableEntryKernelMutationMap mutations) |
17 : id(id), | 17 : id(id), |
(...skipping 21 matching lines...) Expand all Loading... |
39 new base::StringValue( | 39 new base::StringValue( |
40 base::Uint64ToString(static_cast<uint64>(mutations_size)) + | 40 base::Uint64ToString(static_cast<uint64>(mutations_size)) + |
41 " mutations"); | 41 " mutations"); |
42 } | 42 } |
43 dict->Set("mutations", mutations_value); | 43 dict->Set("mutations", mutations_value); |
44 return dict; | 44 return dict; |
45 } | 45 } |
46 | 46 |
47 } // namespace syncable | 47 } // namespace syncable |
48 } // namespace syncer | 48 } // namespace syncer |
OLD | NEW |