| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/entry.h" | 5 #include "components/sync/syncable/entry.h" |
| 6 | 6 |
| 7 #include <stdint.h> | |
| 8 | |
| 9 #include <iomanip> | 7 #include <iomanip> |
| 10 | 8 |
| 11 #include "components/sync/syncable/directory.h" | 9 #include "components/sync/syncable/directory.h" |
| 12 #include "components/sync/syncable/syncable_base_transaction.h" | 10 #include "components/sync/syncable/syncable_base_transaction.h" |
| 13 | 11 |
| 14 namespace syncer { | 12 namespace syncer { |
| 15 namespace syncable { | 13 namespace syncable { |
| 16 | 14 |
| 17 Entry::Entry(BaseTransaction* trans, GetById, const Id& id) | 15 Entry::Entry(BaseTransaction* trans, GetById, const Id& id) |
| 18 : basetrans_(trans) { | 16 : basetrans_(trans) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 return kernel_->ShouldMaintainHierarchy(); | 128 return kernel_->ShouldMaintainHierarchy(); |
| 131 } | 129 } |
| 132 | 130 |
| 133 std::ostream& operator<<(std::ostream& os, const Entry& entry) { | 131 std::ostream& operator<<(std::ostream& os, const Entry& entry) { |
| 134 os << *(entry.kernel_); | 132 os << *(entry.kernel_); |
| 135 return os; | 133 return os; |
| 136 } | 134 } |
| 137 | 135 |
| 138 } // namespace syncable | 136 } // namespace syncable |
| 139 } // namespace syncer | 137 } // namespace syncer |
| OLD | NEW |