Net: Plumb CNAME aliases to HttpStream with aim to expose to ad-tag.
The overall project aims to expose CNAME aliases to the SubresourceFilter to aid in ad tagging and blocking. A previous CL added a base::Optional parameter to net::ConnectJob::SetSocket and a getter and setter to net::Socket. This change continues the plumbing by adding an accessor to net::HttpBasicState as well as one to net::HttpStream. All of HttpStream's derived classes receive trivial implementations except for HttpBasicStream and WebSocketBasicHandshakeStream. SPDY and QUIC support will come in later CLs. Relevant tests: net:net_unittests out/Default/net_unittests --gtest_filter=*Dns*Alias* Bug: 1151047 Change-Id: I8b38591e4b186ded8cb41f89571385eee9fe0aa6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563450 Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#838249}
Showing
Please register or sign in to comment