diff options
Diffstat (limited to 'dynamic_partition_control_interface.h')
-rw-r--r-- | dynamic_partition_control_interface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dynamic_partition_control_interface.h b/dynamic_partition_control_interface.h index 9c7b8d07..a4dc5765 100644 --- a/dynamic_partition_control_interface.h +++ b/dynamic_partition_control_interface.h @@ -27,6 +27,7 @@ #include <liblp/builder.h> #include "update_engine/common/boot_control_interface.h" +#include "update_engine/update_metadata.pb.h" namespace chromeos_update_engine { @@ -88,13 +89,13 @@ class DynamicPartitionControlInterface { virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder( const std::string& super_device, uint32_t source_slot) = 0; - // Prepare all partitions for an update specified in |partition_metadata|. + // Prepare all partitions for an update specified in |manifest|. // This is needed before calling MapPartitionOnDeviceMapper(), otherwise the // device would be mapped in an inconsistent way. virtual bool PreparePartitionsForUpdate( uint32_t source_slot, uint32_t target_slot, - const BootControlInterface::PartitionMetadata& partition_metadata) = 0; + const DeltaArchiveManifest& manifest) = 0; // Return a possible location for devices listed by name. virtual bool GetDeviceDir(std::string* path) = 0; |