commit | eb9de160773d1277a6c3447ebedcfe27d2a45a77 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Mon Nov 16 15:47:28 2020 -0500 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Tue Nov 17 10:51:51 2020 -0500 |
tree | b014da1ef32bd31a967871fd3b0929d75398390a | |
parent | 7010853f447ffbf09cf541fa2287f8f418055509 [diff] [blame] |
Add IsDynamicPartition API to easily check if a partition is dynamic Test: treehugger Change-Id: I655e4d6114a25c58857679985cd5e08581c0faab
diff --git a/common/dynamic_partition_control_stub.h b/common/dynamic_partition_control_stub.h index 94540f4..0f428ab 100644 --- a/common/dynamic_partition_control_stub.h +++ b/common/dynamic_partition_control_stub.h
@@ -68,6 +68,8 @@ bool MapAllPartitions() override; bool UnmapAllPartitions() override; + + bool IsDynamicPartition(const std::string& part_name) override; }; } // namespace chromeos_update_engine