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

Unified Diff: sync/internal_api/attachments/proto/attachment_store.proto

Issue 710073003: Store attachment crc in AttachmentStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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/proto/attachment_store.proto
diff --git a/sync/internal_api/attachments/proto/attachment_store.proto b/sync/internal_api/attachments/proto/attachment_store.proto
index 86f90715593464118bbf87c27637731512116fc2..7172f46d830069bedd6ea7fe82b4b57a3f5e11a3 100644
--- a/sync/internal_api/attachments/proto/attachment_store.proto
+++ b/sync/internal_api/attachments/proto/attachment_store.proto
@@ -24,4 +24,6 @@ message StoreMetadata {
message RecordMetadata {
// Size of attachment data. Useful for attachment store space management.
optional int64 attachment_size = 1;
+ // Crc of attachment data.
maniscalco 2014/11/11 00:44:54 Crc -> crc32c
pavely 2014/11/11 22:27:15 Done.
+ optional fixed32 crc32c = 2;
maniscalco 2014/11/11 00:44:54 Why use fixed32? I would have expected uint32.
pavely 2014/11/11 22:27:15 Protobuf language guide says that fixed32 "Always
maniscalco 2014/11/11 23:05:32 Wow, so many integral types! Looks like uint32 is
}

Powered by Google App Engine
This is Rietveld 408576698