diff options
| author | Yifan Hong <elsk@google.com> | 2020-02-24 18:34:49 -0800 |
|---|---|---|
| committer | Yifan Hong <elsk@google.com> | 2020-03-05 08:48:54 -0800 |
| commit | 0f9dbb1a3d33dc485c79d814dcb6e2e5c65cb7ef (patch) | |
| tree | 6fc6d28e49dba9e08d705b980df157c98e92d971 /common/boot_control_interface.h | |
| parent | f971bade3aa75c7d9d3dac7287ee7a8ff74e738b (diff) | |
BootControl: is slot marked successful
Test: update_engine_unittests
Bug: 147696014
Change-Id: I316efda7a0936e2dee0f766efb5c18ff30790274
Merged-In: 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; |
