| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "sync/syncable/entry_kernel.h" | 9 #include "sync/syncable/entry_kernel.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 class ReadNode; | 12 class ReadNode; |
| 13 } | |
| 14 | 13 |
| 15 namespace syncable { | 14 namespace syncable { |
| 16 | 15 |
| 17 class Directory; | 16 class Directory; |
| 18 class BaseTransaction; | 17 class BaseTransaction; |
| 19 | 18 |
| 20 // A read-only meta entry | 19 // A read-only meta entry |
| 21 // Instead of: | 20 // Instead of: |
| 22 // Entry e = transaction.GetById(id); | 21 // Entry e = transaction.GetById(id); |
| 23 // use: | 22 // use: |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 friend class Directory; | 142 friend class Directory; |
| 144 friend class syncer::ReadNode; | 143 friend class syncer::ReadNode; |
| 145 friend std::ostream& operator << (std::ostream& s, const Entry& e); | 144 friend std::ostream& operator << (std::ostream& s, const Entry& e); |
| 146 | 145 |
| 147 DISALLOW_COPY_AND_ASSIGN(Entry); | 146 DISALLOW_COPY_AND_ASSIGN(Entry); |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 std::ostream& operator<<(std::ostream& os, const Entry& entry); | 149 std::ostream& operator<<(std::ostream& os, const Entry& entry); |
| 151 | 150 |
| 152 } // namespace syncable | 151 } // namespace syncable |
| 152 } // namespace syncer |
| 153 | 153 |
| 154 #endif // SYNC_SYNCABLE_ENTRY_H_ | 154 #endif // SYNC_SYNCABLE_ENTRY_H_ |
| OLD | NEW |