| 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include "sync/syncable/entry.h" | 9 #include "sync/syncable/entry.h" |
| 10 #include "sync/syncable/metahandle_set.h" | 10 #include "sync/syncable/metahandle_set.h" |
| 11 | 11 |
| 12 namespace syncer { | 12 namespace syncer { |
| 13 class WriteNode; | 13 class WriteNode; |
| 14 } | |
| 15 | 14 |
| 16 namespace syncable { | 15 namespace syncable { |
| 17 | 16 |
| 18 class WriteTransaction; | 17 class WriteTransaction; |
| 19 | 18 |
| 20 enum Create { | 19 enum Create { |
| 21 CREATE | 20 CREATE |
| 22 }; | 21 }; |
| 23 | 22 |
| 24 enum CreateNewUpdateItem { | 23 enum CreateNewUpdateItem { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 protected: | 107 protected: |
| 109 MutableEntry(); | 108 MutableEntry(); |
| 110 | 109 |
| 111 DISALLOW_COPY_AND_ASSIGN(MutableEntry); | 110 DISALLOW_COPY_AND_ASSIGN(MutableEntry); |
| 112 }; | 111 }; |
| 113 | 112 |
| 114 // This function sets only the flags needed to get this entry to sync. | 113 // This function sets only the flags needed to get this entry to sync. |
| 115 bool MarkForSyncing(syncable::MutableEntry* e); | 114 bool MarkForSyncing(syncable::MutableEntry* e); |
| 116 | 115 |
| 117 } // namespace syncable | 116 } // namespace syncable |
| 117 } // namespace syncer |
| 118 | 118 |
| 119 #endif // SYNC_SYNCABLE_MUTABLE_ENTRY_H_ | 119 #endif // SYNC_SYNCABLE_MUTABLE_ENTRY_H_ |
| OLD | NEW |