commit | 28e779303ba5c598a75dc00352b26d1b82056d14 | [log] [tgz] |
---|---|---|
author | Leon Han <leon.han@intel.com> | Thu Dec 27 06:57:24 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 27 06:57:24 2018 |
tree | 77bcfa2b47deb2c7d3fdd6177826f7ed996dc4e4 | |
parent | 56df86d96488cf5646f470349f95818f250a0b69 [diff] |
[OnionSoup] Use FetchAPIRequest.body instead of FetchAPIRequest.blob in SW code Previously, in non-S13nServiceWorker case, a network::ResourceRequestBody was being converted to a blob as FetchAPIRequest.blob to transfer data for FetchEvent#request#body dispatched to service workers. With crrev.com/c/1367365 introducing a new field FetchAPIRequest.body of type network::mojom::URLRequestBody which has a typemap to network::ResourceRequestBody, now we can use it instead to avoid the data conversion above. After this CL, FetchAPIRequest.blob has only one user left: Background Fetch API implementation. BUG=911930 Change-Id: I034e3cc539e19f5cf7b9d35809f12a54a110ac8f Reviewed-on: https://chromium-review.googlesource.com/c/1390323 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Makoto Shimazu <shimazu@chromium.org> Commit-Queue: Leon Han <leon.han@intel.com> Cr-Commit-Position: refs/heads/master@{#619010}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .