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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 2365243004: QUIC/1+SPYD/3 => QUIC (Closed)
Patch Set: Rebase. Created 4 years, 2 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
Index: net/http/http_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index e797c4a53324cadcb78b5268ee0632b2c00510d8..db1ca2d1fe9b100a2a3b30e7007c95ad207c2639 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -1906,7 +1906,7 @@ TEST_P(HttpStreamFactoryBidirectionalQuicTest,
scoped_refptr<IOBuffer> buffer = new net::IOBuffer(1);
EXPECT_THAT(stream_impl->ReadData(buffer.get(), 1), IsOk());
- EXPECT_EQ(kProtoQUIC1SPDY3, stream_impl->GetProtocol());
+ EXPECT_EQ(kProtoQUIC, stream_impl->GetProtocol());
EXPECT_EQ("200", delegate.response_headers().find(":status")->second);
EXPECT_EQ(0, GetSocketPoolGroupCount(session()->GetTransportSocketPool(
HttpNetworkSession::NORMAL_SOCKET_POOL)));
@@ -2030,7 +2030,7 @@ TEST_P(HttpStreamFactoryBidirectionalQuicTest,
// Make sure the BidirectionalStream negotiated goes through QUIC.
scoped_refptr<IOBuffer> buffer = new net::IOBuffer(1);
EXPECT_THAT(stream_impl->ReadData(buffer.get(), 1), IsOk());
- EXPECT_EQ(kProtoQUIC1SPDY3, stream_impl->GetProtocol());
+ EXPECT_EQ(kProtoQUIC, stream_impl->GetProtocol());
EXPECT_EQ("200", delegate.response_headers().find(":status")->second);
// There is no Http2 socket pool.
EXPECT_EQ(0, GetSocketPoolGroupCount(session()->GetTransportSocketPool(

Powered by Google App Engine
This is Rietveld 408576698