diff options
author | Yifan Hong <elsk@google.com> | 2020-02-24 18:34:49 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-05 16:41:12 +0000 |
commit | f141594db05c9aa0fa9f234969c29a62adb448a6 (patch) | |
tree | 0ef3cc537cee5444fbba9ba66af907481fb029d9 /common/boot_control_interface.h | |
parent | bfa39621e0e2c7fd7fd453e3e8aa5e616f08fb95 (diff) |
BootControl: is slot marked successful
Test: update_engine_unittests
Bug: 147696014
Change-Id: I316efda7a0936e2dee0f766efb5c18ff30790274
Diffstat (limited to 'common/boot_control_interface.h')
-rw-r--r-- | common/boot_control_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/boot_control_interface.h b/common/boot_control_interface.h index 41fe4eaf..3906e2f5 100644 --- a/common/boot_control_interface.h +++ b/common/boot_control_interface.h @@ -85,6 +85,9 @@ class BootControlInterface { // of the operation. virtual bool MarkBootSuccessfulAsync(base::Callback<void(bool)> callback) = 0; + // Check if |slot| is marked boot successfully. + virtual bool IsSlotMarkedSuccessful(Slot slot) const = 0; + // Return the dynamic partition control interface. virtual DynamicPartitionControlInterface* GetDynamicPartitionControl() = 0; |