update_engine: Fix comments in update_metadata.proto
The comments in update_metadata.proto about the supported operations in
different minor versions are not accurate. This patch fixes it.
BUG=none
TEST=none
Change-Id: Ied523304730d21c94b054138ac8c055978e72d2c
Reviewed-on: https://chromium-review.googlesource.com/815176
Commit-Ready: Amin Hassani <ahassani@chromium.org>
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
diff --git a/update_metadata.proto b/update_metadata.proto
index 9175c42..ad377c7 100644
--- a/update_metadata.proto
+++ b/update_metadata.proto
@@ -164,11 +164,11 @@
// On minor version 3 or newer and on major version 2 or newer, these
// operations are supported:
- ZERO = 6; // Write zeros in the destination.
- DISCARD = 7; // Discard the destination blocks, reading as undefined.
REPLACE_XZ = 8; // Replace destination extents w/ attached xz data.
// On minor version 4 or newer, these operations are supported:
+ ZERO = 6; // Write zeros in the destination.
+ DISCARD = 7; // Discard the destination blocks, reading as undefined.
PUFFDIFF = 9; // The data is in puffdiff format.
BROTLI_BSDIFF = 10; // Like SOURCE_BSDIFF, but compressed with brotli.
}