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_MUTABLE_ENTRY_H_ | 5 #ifndef SYNC_SYNCABLE_MUTABLE_ENTRY_H_ |
6 #define SYNC_SYNCABLE_MUTABLE_ENTRY_H_ | 6 #define SYNC_SYNCABLE_MUTABLE_ENTRY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "sync/syncable/entry.h" | 8 #include "sync/syncable/entry.h" |
10 #include "sync/syncable/metahandle_set.h" | 9 #include "sync/syncable/metahandle_set.h" |
11 | 10 |
12 namespace syncer { | 11 namespace syncer { |
13 class WriteNode; | 12 class WriteNode; |
14 | 13 |
15 namespace syncable { | 14 namespace syncable { |
16 | 15 |
17 class WriteTransaction; | 16 class WriteTransaction; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 DISALLOW_COPY_AND_ASSIGN(MutableEntry); | 109 DISALLOW_COPY_AND_ASSIGN(MutableEntry); |
111 }; | 110 }; |
112 | 111 |
113 // This function sets only the flags needed to get this entry to sync. | 112 // This function sets only the flags needed to get this entry to sync. |
114 bool MarkForSyncing(syncable::MutableEntry* e); | 113 bool MarkForSyncing(syncable::MutableEntry* e); |
115 | 114 |
116 } // namespace syncable | 115 } // namespace syncable |
117 } // namespace syncer | 116 } // namespace syncer |
118 | 117 |
119 #endif // SYNC_SYNCABLE_MUTABLE_ENTRY_H_ | 118 #endif // SYNC_SYNCABLE_MUTABLE_ENTRY_H_ |
OLD | NEW |