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