| 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 #ifndef SYNC_SYNCABLE_ENTRY_H_ | 5 #ifndef SYNC_SYNCABLE_ENTRY_H_ |
| 6 #define SYNC_SYNCABLE_ENTRY_H_ | 6 #define SYNC_SYNCABLE_ENTRY_H_ |
| 7 | 7 |
| 8 #include "sync/syncable/entry_kernel.h" | 8 #include "sync/syncable/entry_kernel.h" |
| 9 | 9 |
| 10 namespace syncer { | 10 namespace syncer { |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 : basetrans_(trans), | 132 : basetrans_(trans), |
| 133 kernel_(NULL) { } | 133 kernel_(NULL) { } |
| 134 | 134 |
| 135 protected: | 135 protected: |
| 136 BaseTransaction* const basetrans_; | 136 BaseTransaction* const basetrans_; |
| 137 | 137 |
| 138 EntryKernel* kernel_; | 138 EntryKernel* kernel_; |
| 139 | 139 |
| 140 private: | 140 private: |
| 141 friend class Directory; | 141 friend class Directory; |
| 142 friend class syncer::ReadNode; | 142 friend class ReadNode; |
| 143 friend std::ostream& operator << (std::ostream& s, const Entry& e); | 143 friend std::ostream& operator << (std::ostream& s, const Entry& e); |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(Entry); | 145 DISALLOW_COPY_AND_ASSIGN(Entry); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 std::ostream& operator<<(std::ostream& os, const Entry& entry); | 148 std::ostream& operator<<(std::ostream& os, const Entry& entry); |
| 149 | 149 |
| 150 } // namespace syncable | 150 } // namespace syncable |
| 151 } // namespace syncer | 151 } // namespace syncer |
| 152 | 152 |
| 153 #endif // SYNC_SYNCABLE_ENTRY_H_ | 153 #endif // SYNC_SYNCABLE_ENTRY_H_ |
| OLD | NEW |