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