| Index: net/http/http_server_properties_impl_unittest.cc
|
| diff --git a/net/http/http_server_properties_impl_unittest.cc b/net/http/http_server_properties_impl_unittest.cc
|
| index cce7d6c99458a00f6de8e55807947b51a8ce9d34..00a4da9640817914e75c75870b09864e503ba5aa 100644
|
| --- a/net/http/http_server_properties_impl_unittest.cc
|
| +++ b/net/http/http_server_properties_impl_unittest.cc
|
| @@ -265,7 +265,7 @@ TEST_F(AlternateProtocolServerPropertiesTest, DefaultProbabilityExcluded) {
|
| }
|
|
|
| TEST_F(AlternateProtocolServerPropertiesTest, Probability) {
|
| - impl_.SetAlternateProtocolProbabilityThreshold(0.25);
|
| + impl_.SetAlternativeServiceProbabilityThreshold(0.25);
|
|
|
| HostPortPair test_host_port_pair("foo", 80);
|
| const AlternativeService alternative_service(NPN_SPDY_4, "foo", 443);
|
| @@ -281,7 +281,7 @@ TEST_F(AlternateProtocolServerPropertiesTest, Probability) {
|
| }
|
|
|
| TEST_F(AlternateProtocolServerPropertiesTest, ProbabilityExcluded) {
|
| - impl_.SetAlternateProtocolProbabilityThreshold(0.75);
|
| + impl_.SetAlternativeServiceProbabilityThreshold(0.75);
|
|
|
| HostPortPair test_host_port_pair("foo", 80);
|
| const AlternativeService alternative_service(NPN_SPDY_4, "foo", 443);
|
| @@ -433,7 +433,7 @@ TEST_F(AlternateProtocolServerPropertiesTest, CanonicalDefaultHost) {
|
| }
|
|
|
| TEST_F(AlternateProtocolServerPropertiesTest, CanonicalBelowThreshold) {
|
| - impl_.SetAlternateProtocolProbabilityThreshold(0.02);
|
| + impl_.SetAlternativeServiceProbabilityThreshold(0.02);
|
|
|
| HostPortPair test_host_port_pair("foo.c.youtube.com", 80);
|
| HostPortPair canonical_port_pair("bar.c.youtube.com", 80);
|
| @@ -445,7 +445,7 @@ TEST_F(AlternateProtocolServerPropertiesTest, CanonicalBelowThreshold) {
|
| }
|
|
|
| TEST_F(AlternateProtocolServerPropertiesTest, CanonicalAboveThreshold) {
|
| - impl_.SetAlternateProtocolProbabilityThreshold(0.02);
|
| + impl_.SetAlternativeServiceProbabilityThreshold(0.02);
|
|
|
| HostPortPair test_host_port_pair("foo.c.youtube.com", 80);
|
| HostPortPair canonical_port_pair("bar.c.youtube.com", 80);
|
|
|