Introduce ResponseBodyLoader
ResponseBodyLoader is needed to provide a way to drain data pipe from the resource loader, with the following restrictions: - We are going to provide a hook point on blink::Resource. Not every Resource loading body is associated with a ResourceLoader (e.g., when MHTML is involved), so we need an abstraction layer. - Passing a broad interface is misleading and dangerous, so we want to pass an object with only "drain" function(s). Bug: 894819 Change-Id: Ia3e849d1e100e2e6936fa88a5724a7adc3b07517 Reviewed-on: https://chromium-review.googlesource.com/c/1433662 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Leszek Swirski <leszeks@chromium.org> Reviewed-by:
Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#626991}
Showing
This diff is collapsed.
Please register or sign in to comment