Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: sync/syncable/syncable.h

Issue 10389103: Sync: Clear IS_UNSYNCED for deleted local items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix check_deps issue by moving ChangeEntryIDAndUpdateChildren Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/syncable/syncable.h
diff --git a/sync/syncable/syncable.h b/sync/syncable/syncable.h
index d568a01de5c4e7f30dc7cfa062e947d9c7dcbc2d..b4ad8beffab36172225fb9a4366e25fe9b56b37c 100644
--- a/sync/syncable/syncable.h
+++ b/sync/syncable/syncable.h
@@ -1345,6 +1345,11 @@ bool IsLegalNewParent(BaseTransaction* trans, const Id& id, const Id& parentid);
// This function sets only the flags needed to get this entry to sync.
bool MarkForSyncing(syncable::MutableEntry* e);
+void ChangeEntryIDAndUpdateChildren(syncable::WriteTransaction* trans,
+ syncable::MutableEntry* entry,
+ const syncable::Id& new_id);
+
+
} // namespace syncable
std::ostream& operator <<(std::ostream&, const syncable::Blob&);

Powered by Google App Engine
This is Rietveld 408576698