commit | 9c89e8499abeac3894718120d12b41301ffa3fc1 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Fri Feb 02 13:51:21 2018 -0800 |
committer | Sen Jiang <senj@google.com> | Tue Feb 06 13:45:34 2018 -0800 |
tree | 19a008649238f8f77a92ba01572aebc44f518217 | |
parent | 07fbb1b7dff86d8b26bf976b72f2722fde66b603 [diff] |
Split payload metadata logic from DeltaPerformer into its own class. DeltaPerformer have code for both parsing payload and performing operations. This change moves parsing payload header and validating metadata signature to a new class PayloadMetadata so that DeltaPerformer can focus on performing. We will also have new code in another class that will use the new PayloadMetadata class to parse payload metadata. Bug: 65283633 Test: update_engine_unittests Change-Id: Ie20b84713a0c66867a1de9d3d0cc29d0189b3c97