diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-11-16 15:47:28 -0500 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-11-17 10:51:51 -0500 |
commit | eb9de160773d1277a6c3447ebedcfe27d2a45a77 (patch) | |
tree | b014da1ef32bd31a967871fd3b0929d75398390a /common/dynamic_partition_control_stub.h | |
parent | 7010853f447ffbf09cf541fa2287f8f418055509 (diff) |
Add IsDynamicPartition API to easily check if a partition is dynamic
Test: treehugger
Change-Id: I655e4d6114a25c58857679985cd5e08581c0faab
Diffstat (limited to 'common/dynamic_partition_control_stub.h')
-rw-r--r-- | common/dynamic_partition_control_stub.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/dynamic_partition_control_stub.h b/common/dynamic_partition_control_stub.h index 94540f49..0f428ab7 100644 --- a/common/dynamic_partition_control_stub.h +++ b/common/dynamic_partition_control_stub.h @@ -68,6 +68,8 @@ class DynamicPartitionControlStub : public DynamicPartitionControlInterface { bool MapAllPartitions() override; bool UnmapAllPartitions() override; + + bool IsDynamicPartition(const std::string& part_name) override; }; } // namespace chromeos_update_engine |