| 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 9ea8df492aa43761889b4caeea35f66c7f7f098f..db1ca2d1fe9b100a2a3b30e7007c95ad207c2639 100644
|
| --- a/net/http/http_stream_factory_impl_unittest.cc
|
| +++ b/net/http/http_stream_factory_impl_unittest.cc
|
| @@ -1109,7 +1109,7 @@
|
|
|
| // Set up QUIC as alternative_service.
|
| HttpServerPropertiesImpl http_server_properties;
|
| - const AlternativeService alternative_service(kProtoQUIC, url.host().c_str(),
|
| + const AlternativeService alternative_service(QUIC, url.host().c_str(),
|
| url.IntPort());
|
| AlternativeServiceInfoVector alternative_service_info_vector;
|
| base::Time expiration = base::Time::Now() + base::TimeDelta::FromDays(1);
|
| @@ -1164,8 +1164,7 @@
|
|
|
| // Set up QUIC as alternative_service.
|
| HttpServerPropertiesImpl http_server_properties;
|
| - const AlternativeService alternative_service(kProtoQUIC, "www.google.com",
|
| - 443);
|
| + const AlternativeService alternative_service(QUIC, "www.google.com", 443);
|
| AlternativeServiceInfoVector alternative_service_info_vector;
|
| base::Time expiration = base::Time::Now() + base::TimeDelta::FromDays(1);
|
| alternative_service_info_vector.push_back(
|
| @@ -1795,8 +1794,7 @@
|
| }
|
|
|
| void AddQuicAlternativeService() {
|
| - const AlternativeService alternative_service(kProtoQUIC, "www.example.org",
|
| - 443);
|
| + const AlternativeService alternative_service(QUIC, "www.example.org", 443);
|
| AlternativeServiceInfoVector alternative_service_info_vector;
|
| base::Time expiration = base::Time::Now() + base::TimeDelta::FromDays(1);
|
| alternative_service_info_vector.push_back(
|
| @@ -2240,7 +2238,7 @@
|
| session->http_server_properties()->SetAlternativeService(
|
| url::SchemeHostPort(request_info.url.scheme(), host_port_pair.host(),
|
| host_port_pair.port()),
|
| - AlternativeService(kProtoHTTP2, "www.google.com", 9999), expiration);
|
| + AlternativeService(NPN_HTTP_2, "www.google.com", 9999), expiration);
|
|
|
| SSLConfig ssl_config;
|
| StreamRequestWaiter waiter;
|
|
|