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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 1904483004: Change SupportsSpdy dict, SpdySettingsMap, ServerNetworkStatsMap, AlternativeServiceMap and disk da… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile after sync code, introduced by commit 388755 Created 4 years, 8 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_stream_factory.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory_test.cc
diff --git a/net/quic/quic_stream_factory_test.cc b/net/quic/quic_stream_factory_test.cc
index 428d6779a1cd83dcc8bf0fbdfeae36367ccc15bf..fb4997718db4f4405ba85e64076fd1ac95d29825 100644
--- a/net/quic/quic_stream_factory_test.cc
+++ b/net/quic/quic_stream_factory_test.cc
@@ -2661,8 +2661,11 @@ TEST_P(QuicStreamFactoryTest, RacingConnections) {
alternative_service_info_vector.push_back(
AlternativeServiceInfo(alternative_service1, expiration));
+ url::SchemeHostPort server("https", kDefaultServerHostName,
+ kDefaultServerPort);
+
http_server_properties_.SetAlternativeServices(
- host_port_pair_, alternative_service_info_vector);
+ server, alternative_service_info_vector);
crypto_client_stream_factory_.set_handshake_mode(
MockCryptoClientStream::ZERO_RTT);
@@ -3678,7 +3681,9 @@ TEST_P(QuicStreamFactoryTest, EnableDelayTcpRace) {
ServerNetworkStats stats1;
stats1.srtt = base::TimeDelta::FromMicroseconds(10);
- http_server_properties_.SetServerNetworkStats(host_port_pair_, stats1);
+ url::SchemeHostPort server("https", kDefaultServerHostName,
+ kDefaultServerPort);
+ http_server_properties_.SetServerNetworkStats(server, stats1);
crypto_client_stream_factory_.set_handshake_mode(
MockCryptoClientStream::ZERO_RTT);
@@ -3732,18 +3737,20 @@ TEST_P(QuicStreamFactoryTest, MaybeInitialize) {
base::Time expiration = base::Time::Now() + base::TimeDelta::FromDays(1);
alternative_service_info_vector.push_back(
AlternativeServiceInfo(alternative_service1, expiration));
-
+ url::SchemeHostPort server("https", kDefaultServerHostName,
+ kDefaultServerPort);
http_server_properties_.SetAlternativeServices(
- host_port_pair_, alternative_service_info_vector);
+ server, alternative_service_info_vector);
HostPortPair host_port_pair2(kServer2HostName, kDefaultServerPort);
+ url::SchemeHostPort server2("https", kServer2HostName, kDefaultServerPort);
const AlternativeService alternative_service2(QUIC, host_port_pair2.host(),
host_port_pair2.port());
AlternativeServiceInfoVector alternative_service_info_vector2;
alternative_service_info_vector2.push_back(
AlternativeServiceInfo(alternative_service2, expiration));
http_server_properties_.SetAlternativeServices(
- host_port_pair2, alternative_service_info_vector2);
+ server2, alternative_service_info_vector2);
http_server_properties_.SetMaxServerConfigsStoredInProperties(
kMaxQuicServersToPersist);
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698