Allow empty read in FetchDataLoaderAsDataPipe
ByteConsumer::BeginRead() may return Result::kOK with no available read data. FetchDataLoaderAsDataPipe should handle zero read as other ByteConsumer::Client do. Bug: 807954 Change-Id: I47186ccc01d10c8ff18bdf749376598ee75342a7 Reviewed-on: https://chromium-review.googlesource.com/1096515Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#567503}
Showing
Please register or sign in to comment