summaryrefslogtreecommitdiff
path: root/common/boot_control_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/boot_control_interface.h')
-rw-r--r--common/boot_control_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/boot_control_interface.h b/common/boot_control_interface.h
index 9bf639a6..2f8e9e3e 100644
--- a/common/boot_control_interface.h
+++ b/common/boot_control_interface.h
@@ -25,6 +25,7 @@
#include <base/callback.h>
#include <base/macros.h>
+#include "update_engine/common/dynamic_partition_control_interface.h"
#include "update_engine/update_metadata.pb.h"
namespace chromeos_update_engine {
@@ -94,6 +95,9 @@ class BootControlInterface {
// Do necessary clean-up operations after the whole update.
virtual void Cleanup() = 0;
+ // Return the dynamic partition control interface.
+ virtual DynamicPartitionControlInterface* GetDynamicPartitionControl() = 0;
+
// Return a human-readable slot name used for logging.
static std::string SlotName(Slot slot) {
if (slot == kInvalidSlot)