commit | 0f9dbb1a3d33dc485c79d814dcb6e2e5c65cb7ef | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Feb 24 18:34:49 2020 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Mar 05 08:48:54 2020 -0800 |
tree | 6fc6d28e49dba9e08d705b980df157c98e92d971 | |
parent | f971bade3aa75c7d9d3dac7287ee7a8ff74e738b [diff] [blame] |
BootControl: is slot marked successful Test: update_engine_unittests Bug: 147696014 Change-Id: I316efda7a0936e2dee0f766efb5c18ff30790274 Merged-In: I316efda7a0936e2dee0f766efb5c18ff30790274
diff --git a/common/boot_control_interface.h b/common/boot_control_interface.h index 41fe4ea..3906e2f 100644 --- a/common/boot_control_interface.h +++ b/common/boot_control_interface.h
@@ -85,6 +85,9 @@ // 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;