summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_stub.cc
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-01-13 18:33:00 -0800
committerYifan Hong <elsk@google.com>2020-01-22 03:13:12 +0000
commit2257ee178b66938bb8b166342727c429297acae2 (patch)
treee8e0e606e805138ee25d4221da6169d923c2ce16 /common/dynamic_partition_control_stub.cc
parent0850bcab2bc7fe14de3b16fe5b6603d586a8597a (diff)
Add DynamicPartitionControlInterface::CleanupSuccessfulUpdate
This is a wrapper over SnapshotManager::WaitForMerge. It waits until the previous update is merged, then return. Bug: 138808328 Test: manual with update_engine_client Change-Id: If44854810f37dd959ffdf3f62f26528867a71fc8
Diffstat (limited to 'common/dynamic_partition_control_stub.cc')
-rw-r--r--common/dynamic_partition_control_stub.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/dynamic_partition_control_stub.cc b/common/dynamic_partition_control_stub.cc
index 974cd1b4..cc36c5c9 100644
--- a/common/dynamic_partition_control_stub.cc
+++ b/common/dynamic_partition_control_stub.cc
@@ -52,4 +52,8 @@ bool DynamicPartitionControlStub::FinishUpdate() {
return true;
}
+ErrorCode DynamicPartitionControlStub::CleanupSuccessfulUpdate() {
+ return ErrorCode::kError;
+}
+
} // namespace chromeos_update_engine