[Blobs] Add AsDataPipeGetter method to Blob mojo interface.
This makes it simpler to create a DataPipeGetter out of a Blob, and also ensures that a blob that is used as the body of a request can still be read even after the process that created the DataPipeGetter (i.e. the renderer that initiated the fetch) dies. Bug: 821878, 761117 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I519a6061900f4cb29b786b8445dc14f034959e27 Reviewed-on: https://chromium-review.googlesource.com/963088 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#543807}
Showing
Please register or sign in to comment