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

Unified Diff: net/quic/chromium/quic_network_transaction_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/quic/chromium/quic_network_transaction_unittest.cc
diff --git a/net/quic/chromium/quic_network_transaction_unittest.cc b/net/quic/chromium/quic_network_transaction_unittest.cc
index fa6499b9e6559f82f929e1f645bce34aab89e976..55757b3b0a3972458256e7cb18dc6977927b3cdf 100644
--- a/net/quic/chromium/quic_network_transaction_unittest.cc
+++ b/net/quic/chromium/quic_network_transaction_unittest.cc
@@ -490,7 +490,7 @@ class QuicNetworkTransactionTest
EXPECT_EQ("HTTP/1.1 200 OK", response->headers->GetStatusLine());
EXPECT_TRUE(response->was_fetched_via_spdy);
EXPECT_TRUE(response->was_alpn_negotiated);
- EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3,
+ EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC,
response->connection_info);
}
@@ -2104,8 +2104,7 @@ TEST_P(QuicNetworkTransactionTest, RstSteamErrorHandling) {
EXPECT_EQ("HTTP/1.1 200 OK", response->headers->GetStatusLine());
EXPECT_TRUE(response->was_fetched_via_spdy);
EXPECT_TRUE(response->was_alpn_negotiated);
- EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3,
- response->connection_info);
+ EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC, response->connection_info);
std::string response_data;
ASSERT_EQ(ERR_QUIC_PROTOCOL_ERROR, ReadTransaction(&trans, &response_data));
@@ -3053,7 +3052,7 @@ class QuicNetworkTransactionWithDestinationTest
EXPECT_EQ("HTTP/1.1 200 OK", response->headers->GetStatusLine());
EXPECT_TRUE(response->was_fetched_via_spdy);
EXPECT_TRUE(response->was_alpn_negotiated);
- EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3,
+ EXPECT_EQ(HttpResponseInfo::CONNECTION_INFO_QUIC,
response->connection_info);
EXPECT_EQ(443, response->socket_address.port());
}

Powered by Google App Engine
This is Rietveld 408576698