@dcheng, can you PTAL?
This is the CL that has motivated `span`-ification of `DataPipeConsumerHandle::BeginReadData` - see https://docs.google.com/document/d/1c4NKpXwpQ9MKK1SbJ4C6MvhXI8-KJZ4jq7N4VHTHJoI/edit?usp=sharing.
FWIW, I am hoping to land the CL with OO+2. WDYT about this plan? (Unlike the `BeginReadData` change, it seems slightly more difficult to incrementally `span`-ify although I guess it may be possible if the API contains 2 methods: the span-based one that forwards to the ptr+size-based one, and the ptr-sized one with `CHECK(false)` (poor man's `= 0`).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Owners-Override | +1 |
LGTM w/nit
buffered_body_.emplace(std::vector<char>(chars.begin(), chars.end()));
IMO, may as well use insert() then.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for the review! FYI: before proceeding with this CL, I need to first investigate b/346442782 and reland https://crrev.com/c/5598233.
buffered_body_.emplace(std::vector<char>(chars.begin(), chars.end()));
IMO, may as well use insert() then.
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: third_party/blink/renderer/platform/loader/fetch/url_loader/mojo_url_loader_client.cc
Insertions: 1, Deletions: 1.
The diff is too large to show. Please review the diff.
```
`span`-ification: `mojo::DataPipeDrainer::Client::OnDataAvailable`.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |