commit | b35cc40bd514eda8b31a5b67b28147eef8645158 | [log] [tgz] |
---|---|---|
author | Aaron Tagliaboschi <aarontag@chromium.org> | Wed Mar 10 22:23:32 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 10 22:23:32 2021 |
tree | 683b0b630ce1e48384e56af9e8bcbff023ed764c | |
parent | 04068aa8bcec1b6cfc43125d33bce48d83b1f26d [diff] |
Enable URLRequest::Delegate::OnConnected to allow ERR_IO_PENDING This will allow the URLLoader to call an off-process function to (possibly) populate the request with additional headers (specifically client hints as part of the ACCEPT_CH H2/3 frame from Client Hints Reliability). Here's the new: * HttpNetworkTransaction now has a new state (STATE_AFTER_INIT_STREAM) that always comes after STATE_INIT_STREAM_COMPLETE. * There is now a callback (HttpNetworkTransaction::ResumeAfterConnected) that is passed into the connected_callback_ (up through to URLRequest) that will restart the transaction event loop. * The TransportInfo that's passed in the same callback carries information from an ACCEPT_CH frame up to URLLoader::OnConnected. And of course, new unit tests and piping everything together. Bug: 591068, 1168489 Change-Id: I92f1f95e0969793818a8a0b35aaa768032705c31 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690027 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Aaron Tagliaboschi <aarontag@chromium.org> Cr-Commit-Position: refs/heads/master@{#861732}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.