AU: delta compress the kernel partition
Add kernel partition to proto buf. Change delta generator to compress
the kernel partition and the delta performer to perform operations to
update the kernel partition. Update unittests to test it.
Also, remove checksums from the protobuf while we're at it, since the
partitions themselves will contains checksums.
BUG=None
TEST=Attached unittest
Review URL: http://codereview.chromium.org/1819002
diff --git a/download_action_unittest.cc b/download_action_unittest.cc
index 014d3b7..d2c5cb1 100644
--- a/download_action_unittest.cc
+++ b/download_action_unittest.cc
@@ -174,7 +174,7 @@
}
// 1 or 0 chunks should have come through
- const off_t resulting_file_size(FileSize(path));
+ const off_t resulting_file_size(utils::FileSize(path));
if (resulting_file_size != 0)
EXPECT_EQ(kMockHttpFetcherChunkSize, resulting_file_size);
}