| 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 "components/sync/syncable/write_transaction_info.h" | 5 #include "components/sync/syncable/write_transaction_info.h" |
| 6 | 6 |
| 7 #include <stddef.h> | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 11 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 12 | 9 |
| 13 namespace syncer { | 10 namespace syncer { |
| 14 namespace syncable { | 11 namespace syncable { |
| 15 | 12 |
| 16 WriteTransactionInfo::WriteTransactionInfo( | 13 WriteTransactionInfo::WriteTransactionInfo( |
| 17 int64_t id, | 14 int64_t id, |
| 18 tracked_objects::Location location, | 15 tracked_objects::Location location, |
| 19 WriterTag writer, | 16 WriterTag writer, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 43 } else { | 40 } else { |
| 44 mutations_value = base::MakeUnique<base::StringValue>( | 41 mutations_value = base::MakeUnique<base::StringValue>( |
| 45 base::SizeTToString(mutations_size) + " mutations"); | 42 base::SizeTToString(mutations_size) + " mutations"); |
| 46 } | 43 } |
| 47 dict->Set("mutations", std::move(mutations_value)); | 44 dict->Set("mutations", std::move(mutations_value)); |
| 48 return dict; | 45 return dict; |
| 49 } | 46 } |
| 50 | 47 |
| 51 } // namespace syncable | 48 } // namespace syncable |
| 52 } // namespace syncer | 49 } // namespace syncer |
| OLD | NEW |