IsLegalNewParent 240 sync/engine/syncer_util.cc if (!entry->GetIsDel() && !IsLegalNewParent(trans, id, new_parent)) { IsLegalNewParent 1080 sync/syncable/syncable_unittest.cc return IsLegalNewParent(a.trans(), a.GetId(), b.GetId()); IsLegalNewParent 1125 sync/syncable/syncable_unittest.cc ASSERT_TRUE(IsLegalNewParent(child, root)); IsLegalNewParent 1126 sync/syncable/syncable_unittest.cc ASSERT_TRUE(IsLegalNewParent(child, parent)); IsLegalNewParent 1127 sync/syncable/syncable_unittest.cc ASSERT_FALSE(IsLegalNewParent(child, child)); IsLegalNewParent 1128 sync/syncable/syncable_unittest.cc ASSERT_FALSE(IsLegalNewParent(child, grandchild)); IsLegalNewParent 1129 sync/syncable/syncable_unittest.cc ASSERT_TRUE(IsLegalNewParent(child, parent2)); IsLegalNewParent 1130 sync/syncable/syncable_unittest.cc ASSERT_TRUE(IsLegalNewParent(child, grandchild2)); IsLegalNewParent 1131 sync/syncable/syncable_unittest.cc ASSERT_FALSE(IsLegalNewParent(parent, grandchild)); IsLegalNewParent 1132 sync/syncable/syncable_unittest.cc ASSERT_FALSE(IsLegalNewParent(root, grandchild)); IsLegalNewParent 1133 sync/syncable/syncable_unittest.cc ASSERT_FALSE(IsLegalNewParent(parent, grandchild)); IsLegalNewParent 32 sync/syncable/syncable_util.h SYNC_EXPORT_PRIVATE bool IsLegalNewParent(BaseTransaction* trans,