diff options
Diffstat (limited to 'sync/internal_api/sync_manager_impl_unittest.cc')
-rw-r--r-- | sync/internal_api/sync_manager_impl_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc index 5e69ec5..75fbe10 100644 --- a/sync/internal_api/sync_manager_impl_unittest.cc +++ b/sync/internal_api/sync_manager_impl_unittest.cc @@ -676,7 +676,7 @@ TEST_F(SyncApiTest, GetTotalNodeCountMultipleChildren) { TEST_F(SyncApiTest, AttachmentLinking) { // Add an entry with an attachment. std::string tag1("some tag"); - syncer::AttachmentId attachment_id(syncer::AttachmentId::Create()); + syncer::AttachmentId attachment_id(syncer::AttachmentId::Create(0, 0)); sync_pb::AttachmentMetadata attachment_metadata; sync_pb::AttachmentMetadataRecord* record = attachment_metadata.add_record(); *record->mutable_id() = attachment_id.GetProto(); @@ -3112,7 +3112,7 @@ TEST_F(SyncManagerChangeProcessingTest, AttachmentMetadataOnlyChanges) { FROM_HERE, syncable::SYNCER, share()->directory.get()); syncable::MutableEntry article(&trans, syncable::GET_BY_HANDLE, article_id); sync_pb::AttachmentMetadata metadata; - *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(); + *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(0, 0); article.PutAttachmentMetadata(metadata); } ASSERT_EQ(1UL, GetChangeListSize()); @@ -3126,7 +3126,7 @@ TEST_F(SyncManagerChangeProcessingTest, AttachmentMetadataOnlyChanges) { FROM_HERE, syncable::SYNCER, share()->directory.get()); syncable::MutableEntry article(&trans, syncable::GET_BY_HANDLE, article_id); sync_pb::AttachmentMetadata metadata = article.GetAttachmentMetadata(); - *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(); + *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(0, 0); article.PutAttachmentMetadata(metadata); } ASSERT_EQ(1UL, GetChangeListSize()); |