diff options
author | 2020-05-27 04:49:11 +0000 | |
---|---|---|
committer | 2020-05-27 04:49:11 +0000 | |
commit | fa6c8aee668fa493505900398bc1996e61aa63de (patch) | |
tree | 69401eebc96c421994344a0f84925b95d4292e85 /services/incremental/ServiceWrappers.h | |
parent | aec214b9f32e18214b52938a03dc7229b9be31c2 (diff) | |
parent | d1de4941b56c0f236c35c57ce1abe2dd03d9b8c0 (diff) |
Merge "Lifecycle: detecting blocked and unhealthy." into rvc-dev am: 4e5ff2eb7d am: 1ad652187c am: d1de4941b5
Change-Id: I2f099f41419d4232470094c2f7fa29ad5cc616a9
Diffstat (limited to 'services/incremental/ServiceWrappers.h')
-rw-r--r-- | services/incremental/ServiceWrappers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/incremental/ServiceWrappers.h b/services/incremental/ServiceWrappers.h index abbf2f4c4424..a935ab99267e 100644 --- a/services/incremental/ServiceWrappers.h +++ b/services/incremental/ServiceWrappers.h @@ -69,6 +69,7 @@ public: using Control = incfs::Control; using FileId = incfs::FileId; using ErrorCode = incfs::ErrorCode; + using WaitResult = incfs::WaitResult; using ExistingMountCallback = std::function<void(std::string_view root, std::string_view backingDir, @@ -90,6 +91,9 @@ public: virtual ErrorCode unlink(const Control& control, std::string_view path) const = 0; virtual base::unique_fd openForSpecialOps(const Control& control, FileId id) const = 0; virtual ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const = 0; + virtual WaitResult waitForPendingReads( + const Control& control, std::chrono::milliseconds timeout, + std::vector<incfs::ReadInfo>* pendingReadsBuffer) const = 0; }; class AppOpsManagerWrapper { |