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

Unified Diff: update_metadata.proto

Issue 3588015: AU: Include the old/new kernel/rootfs size/hash in the update metadata. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: no need to close negative handles Created 10 years, 2 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
« omaha_hash_calculator.cc ('K') | « omaha_hash_calculator_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_metadata.proto
diff --git a/update_metadata.proto b/update_metadata.proto
index 213e74026f64ac7341954b35c197e8fc0f401cc6..40ba24f705a150c9e039bd4ab0ff77ba5998f798 100644
--- a/update_metadata.proto
+++ b/update_metadata.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -85,6 +85,11 @@ message Signatures {
repeated Signature signatures = 1;
}
+message PartitionInfo {
+ optional uint64 size = 1;
+ optional bytes hash = 2;
+}
+
message DeltaArchiveManifest {
message InstallOperation {
enum Type {
@@ -126,4 +131,10 @@ message DeltaArchiveManifest {
// file.
optional uint64 signatures_offset = 4;
optional uint64 signatures_size = 5;
+
+ // Partition data that can be used to validate the update.
+ optional PartitionInfo old_kernel_info = 6;
+ optional PartitionInfo new_kernel_info = 7;
+ optional PartitionInfo old_rootfs_info = 8;
+ optional PartitionInfo new_rootfs_info = 9;
}
« omaha_hash_calculator.cc ('K') | « omaha_hash_calculator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698