| 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_SYNCABLE_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_H_ |
| 6 #define SYNC_SYNCABLE_SYNCABLE_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1338 EntryKernelMutationMap mutations_; | 1338 EntryKernelMutationMap mutations_; |
| 1339 | 1339 |
| 1340 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); | 1340 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); |
| 1341 }; | 1341 }; |
| 1342 | 1342 |
| 1343 bool IsLegalNewParent(BaseTransaction* trans, const Id& id, const Id& parentid); | 1343 bool IsLegalNewParent(BaseTransaction* trans, const Id& id, const Id& parentid); |
| 1344 | 1344 |
| 1345 // This function sets only the flags needed to get this entry to sync. | 1345 // This function sets only the flags needed to get this entry to sync. |
| 1346 bool MarkForSyncing(syncable::MutableEntry* e); | 1346 bool MarkForSyncing(syncable::MutableEntry* e); |
| 1347 | 1347 |
| 1348 void ChangeEntryIDAndUpdateChildren(syncable::WriteTransaction* trans, |
| 1349 syncable::MutableEntry* entry, |
| 1350 const syncable::Id& new_id); |
| 1351 |
| 1352 |
| 1348 } // namespace syncable | 1353 } // namespace syncable |
| 1349 | 1354 |
| 1350 std::ostream& operator <<(std::ostream&, const syncable::Blob&); | 1355 std::ostream& operator <<(std::ostream&, const syncable::Blob&); |
| 1351 | 1356 |
| 1352 #endif // SYNC_SYNCABLE_SYNCABLE_H_ | 1357 #endif // SYNC_SYNCABLE_SYNCABLE_H_ |
| OLD | NEW |