diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-09-28 09:21:02 -0400 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-10-23 09:52:19 -0400 |
commit | 34618521d487a37d21f25812f324380f1eb394a8 (patch) | |
tree | 45107761577a19fda261d73a6dfc1bba30d2e48d /common/dynamic_partition_control_stub.h | |
parent | 19e55297ac3805c7109325ea7d536887e302403e (diff) |
Add CowWriter interface methods to DynamicPartiitonControl
Test: treehugger
Change-Id: I110c65e75a4594af51e68390e570ac31b50de8b5
Diffstat (limited to 'common/dynamic_partition_control_stub.h')
-rw-r--r-- | common/dynamic_partition_control_stub.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/dynamic_partition_control_stub.h b/common/dynamic_partition_control_stub.h index 8bff4743..a939cfbb 100644 --- a/common/dynamic_partition_control_stub.h +++ b/common/dynamic_partition_control_stub.h @@ -57,8 +57,12 @@ class DynamicPartitionControlStub : public DynamicPartitionControlInterface { uint32_t source_slot, uint32_t target_slot, const std::vector<std::string>& partitions) override; -}; + std::unique_ptr<android::snapshot::ISnapshotWriter> OpenCowWriter( + const std::string& unsuffixed_partition_name, + const std::optional<std::string>&, + bool is_append) override; +}; } // namespace chromeos_update_engine #endif // UPDATE_ENGINE_COMMON_DYNAMIC_PARTITION_CONTROL_STUB_H_ |