diff options
Diffstat (limited to 'dynamic_partition_control_interface.h')
| -rw-r--r-- | dynamic_partition_control_interface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dynamic_partition_control_interface.h b/dynamic_partition_control_interface.h index 0ccfcd6b..9c4c2e82 100644 --- a/dynamic_partition_control_interface.h +++ b/dynamic_partition_control_interface.h @@ -92,10 +92,11 @@ class DynamicPartitionControlInterface { // 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 DeltaArchiveManifest& manifest) = 0; + // If |update| is set, create snapshots and writes super partition metadata. + virtual bool PreparePartitionsForUpdate(uint32_t source_slot, + uint32_t target_slot, + const DeltaArchiveManifest& manifest, + bool update) = 0; // Return a possible location for devices listed by name. virtual bool GetDeviceDir(std::string* path) = 0; |
