summaryrefslogtreecommitdiff
path: root/payload_consumer/filesystem_verifier_action.h
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-05-10 16:00:31 -0400
committerKelvin Zhang <zhangkelvin@google.com>2021-05-11 19:15:28 -0400
commite012f65a1b79f5d3a6496c5977fea4b811a7584c (patch)
tree73ba6c6d6d6a1721f428e0d5c0a0ddfc52d3276e /payload_consumer/filesystem_verifier_action.h
parent81eb0756094ae6f79d43699dd3ecd929f6def844 (diff)
Refactor get partition path and IsVABC into separate function
Test: th Change-Id: Ifb6efa1e63f5d5a047d18ac0876a1ecd860ba869
Diffstat (limited to 'payload_consumer/filesystem_verifier_action.h')
-rw-r--r--payload_consumer/filesystem_verifier_action.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/payload_consumer/filesystem_verifier_action.h b/payload_consumer/filesystem_verifier_action.h
index 78634cb3..68a94328 100644
--- a/payload_consumer/filesystem_verifier_action.h
+++ b/payload_consumer/filesystem_verifier_action.h
@@ -91,6 +91,12 @@ class FilesystemVerifierAction : public InstallPlanAction {
// remaining to be hashed, it finishes the action.
void StartPartitionHashing();
+ const std::string& GetPartitionPath() const;
+
+ bool IsVABC(const InstallPlan::Partition& partition) const;
+
+ size_t GetPartitionSize() const;
+
// Schedules the asynchronous read of the filesystem part of this
// partition(not including hashtree/verity).
void ScheduleFileSystemRead();