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

Unified Diff: sync/internal_api/attachments/attachment_store_test_template.h

Issue 982883002: [Sync] Add size and crc32c to AttachmentId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master. Created 5 years, 9 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/internal_api/attachments/attachment_store_test_template.h
diff --git a/sync/internal_api/attachments/attachment_store_test_template.h b/sync/internal_api/attachments/attachment_store_test_template.h
index 0d14ca542155fecead3bb02f71dbe531c313771b..6292b012d7ce01c96ddc0ac830a91169711406aa 100644
--- a/sync/internal_api/attachments/attachment_store_test_template.h
+++ b/sync/internal_api/attachments/attachment_store_test_template.h
@@ -133,9 +133,8 @@ TYPED_TEST_CASE_P(AttachmentStoreTest);
TYPED_TEST_P(AttachmentStoreTest, Write_NoOverwriteNoError) {
// Create two attachments with the same id but different data.
Attachment attachment1 = Attachment::Create(this->some_data1);
- uint32_t crc32c = ComputeCrc32c(this->some_data2);
- Attachment attachment2 = Attachment::CreateFromParts(
- attachment1.GetId(), this->some_data2, crc32c);
+ Attachment attachment2 =
+ Attachment::CreateFromParts(attachment1.GetId(), this->some_data2);
// Write the first one.
AttachmentList some_attachments;

Powered by Google App Engine
This is Rietveld 408576698