Modify QuicDataStream to break out headers processing from data processing.
commit7dd15705ef9a86b1443cc0a3019a9007f14ee428
authorrch <rch@chromium.org>
Wed, 1 Jul 2015 18:57:57 +0000 (1 11:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 18:58:31 +0000 (1 18:58 +0000)
tree177e3ef15434918ba7bfc3c7f0e2a57b93e51c21
parent37ee006295bac67777d4a9c74d9d32f259d20482
Modify QuicDataStream to break out headers processing from data processing.

This allows callers to parse headers without needing to determine their length,
potentially getting it wrong and hence introducing bugs.

Merge internal change: 97245844

Review URL: https://codereview.chromium.org/1222473002

Cr-Commit-Position: refs/heads/master@{#337082}
12 files changed:
net/quic/quic_data_stream.cc
net/quic/quic_data_stream.h
net/quic/quic_data_stream_test.cc
net/quic/quic_http_stream.cc
net/quic/quic_http_stream.h
net/quic/quic_http_stream_test.cc
net/quic/quic_reliable_client_stream.cc
net/quic/quic_reliable_client_stream.h
net/quic/quic_reliable_client_stream_test.cc
net/tools/quic/quic_spdy_client_stream.cc
net/tools/quic/quic_spdy_server_stream.cc
net/tools/quic/quic_spdy_server_stream.h