commit | a9bb469f5af15ecbeb5e215a991873c8a88087ec | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Tue Jul 09 17:29:48 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 11 15:46:25 2019 -0700 |
tree | c0f450d93248957f6e94d2ad215bfa0ee04a78bd | |
parent | 82875de9a5fbb57cac3cea971aa249b321d24d96 [diff] |
Remove HttpDecoder::set_visitor(). Since all call sites have a visitor ready when HttpDecoder is instantiated, pass that in HttpDecoder constructor instead of a set_visitor() method. Also make HttpDecoder::visitor_ member constant. Just one fewer way to hold HttpDecoder wrong. While touching this area already, use |QuicMakeUnique| instead of |new| for initializing unique_ptr<HttpDecoderVisitor> members. And add quic_ptr_util.h include to every file touched that needs it, even if no QuicMakeUnique is added with this CL. Also remove unused QuicReceiveControlStreamTest::decoder_ member. gfe-relnote: n/a, change only affects QUIC v99. PiperOrigin-RevId: 257306155 Change-Id: I6b27704dc6001f69668a36cd6072aaa24a95b389
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.
The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.