diff options
Diffstat (limited to 'common/boot_control_interface.h')
-rw-r--r-- | common/boot_control_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/boot_control_interface.h b/common/boot_control_interface.h index c93de5c5..3b61add3 100644 --- a/common/boot_control_interface.h +++ b/common/boot_control_interface.h @@ -75,6 +75,11 @@ class BootControlInterface { Slot slot, std::string* device) const = 0; + virtual std::optional<PartitionDevice> GetPartitionDevice( + const std::string& partition_name, + uint32_t slot, + uint32_t current_slot, + bool not_in_payload = false) const = 0; // Returns whether the passed |slot| is marked as bootable. Returns false if // the slot is invalid. virtual bool IsSlotBootable(Slot slot) const = 0; |