commit | bf91e2a4caa82be64eaa92c18d7b97f6c275589e | [log] [tgz] |
---|---|---|
author | Cammie Smith Barnes <[email protected]> | Wed Dec 23 20:49:04 2020 |
committer | Chromium LUCI CQ <[email protected]> | Wed Dec 23 20:49:04 2020 |
tree | f404a06d70d831346ac65c563001273159eded72 | |
parent | aab70850ce71e95e899a4490482828ba896ccb91 [diff] |
Net: Plumb CNAME aliases to URLResponseHead to expose to ad-tagging. The overall project aims to expose CNAME aliases to the SubresourceFilter to aid in ad tagging and blocking. A previous CL added an accessor to net::HttpBasicState as well as one to net::HttpStream. This change continues the plumbing by adding a field to net::HttpResponseInfo to store the alias list in the HttpCache and the code to net::HttpNetworkTransaction and net::HttpCache::Transaction to save the aliases to this field. We moreover add the code to network::URLLoader to set the field `dns_aliases` in network::mojom::URLResponseHead. Relevant tests: net:net_unittests out/Default/net_unittests --gtest_filter=*Dns*Alias* services/network:tests out/Default/services_unittests --gtest_filter=*Dns*Alias* Bug: 1151047 Change-Id: I9adebfcc5fa811ece4d55e70f3d624d495ca6d1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569956 Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Maksim Orlovich <[email protected]> Commit-Queue: Cammie Smith Barnes <[email protected]> Cr-Commit-Position: refs/heads/master@{#839172}
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.