forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add signed_exchange_utils::ShouldAdvertiseAcceptHeader
This CL introduces signed_exchange_utils::ShouldAdvertiseAcceptHeader, which can be used to query if a origin should be sent "Accept: application/signed-exchange" header. The origins list is managed by the feature "SignedHTTPExchangeAcceptHeader", and a Finch param attached to it. Note: Use the below args to test this: --enable-features=SignedHTTPExchangeAcceptHeader<AcceptHeaderStudy --force-fieldtrials=AcceptHeaderStudy/Group --force-fieldtrial-params=AcceptHeaderStudy.Group:OriginsList/www%2eexample%2ecom The subsequent CL will actually plumb this to the navigation loaders. Bug: 887201 Change-Id: I06cc991e396b28ab0d02e2bbba3a117fd53d4fe5 Reviewed-on: https://chromium-review.googlesource.com/1235473 Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#594572}
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 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