Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Unified Diff: net/quic/quic_reliable_client_stream_test.cc

Issue 185203003: Killing off QUICv12, including cleaning out all of the code for handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted unused StripUint32 Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_reliable_client_stream_test.cc
diff --git a/net/quic/quic_reliable_client_stream_test.cc b/net/quic/quic_reliable_client_stream_test.cc
index 0c4ae564f0764bdc98c7854d71e158741b2f2d07..124513b58b52b0239584561e819116cdaea7583f 100644
--- a/net/quic/quic_reliable_client_stream_test.cc
+++ b/net/quic/quic_reliable_client_stream_test.cc
@@ -95,17 +95,8 @@ TEST_P(QuicReliableClientStreamTest, OnFinRead) {
EXPECT_CALL(delegate_, OnDataReceived(StrEq(uncompressed_headers.data()),
uncompressed_headers.size()));
QuicStreamOffset offset = 0;
- if (GetParam() > QUIC_VERSION_12) {
- stream_->OnStreamHeaders(uncompressed_headers);
- stream_->OnStreamHeadersComplete(false, uncompressed_headers.length());
- } else {
- QuicSpdyCompressor compressor;
- string compressed_headers = compressor.CompressHeaders(headers_);
- QuicStreamFrame frame1(kStreamId, false, 0,
- MakeIOVector(compressed_headers));
- stream_->OnStreamFrame(frame1);
- offset = compressed_headers.length();
- }
+ stream_->OnStreamHeaders(uncompressed_headers);
+ stream_->OnStreamHeadersComplete(false, uncompressed_headers.length());
IOVector iov;
QuicStreamFrame frame2(kStreamId, true, offset, iov);
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698