Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ch-r] Parse ACCEPT_CH H2/3 frame and restart with new headers if needed
Part of Client Hints Reliability: https://github.com/WICG/client-hints-infrastructure/blob/master/reliability.md * `accept_ch_frame` in TransportInfo gets parsed and (if headers are found that weren't already in the request) sent to the browser process (via NetworkServiceClient::OnConnected) to generate header values and check browser-level requirements for sending client hints (e.g. JS is enabled) * If there are new headers to add, they get sent back (through URLLoader to make sure no unsafe headers were sent) to URLRequest, where the headers are added and the request is restarted. If the request isn't restarted, the callback from HttpNetworkTransaction is called to get the event loop started again. Bug: 1168489 Change-Id: I79cca460824ee2ed3f3447898940da71d2444125 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2733595 Commit-Queue: Aaron Tagliaboschi <aarontag@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Bence Béky <bnc@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#869055}
- Loading branch information
1 parent
0a7c2cd
commit 603540d
Showing
32 changed files
with
767 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.