Chromium Code Reviews| Index: components/cronet/url_request_context_config_unittest.cc |
| diff --git a/components/cronet/url_request_context_config_unittest.cc b/components/cronet/url_request_context_config_unittest.cc |
| index bbff7005a7929341bfffd5e619fe49bd7d18bd36..3b726f7eee1c6b117da808040ba6062725141271 100644 |
| --- a/components/cronet/url_request_context_config_unittest.cc |
| +++ b/components/cronet/url_request_context_config_unittest.cc |
| @@ -54,7 +54,7 @@ TEST(URLRequestContextConfigTest, TestExperimentalOptionParsing) { |
| "\"HostResolverRules\":{\"host_resolver_rules\":" |
| "\"MAP * 127.0.0.1\"}," |
| // See http://crbug.com/696569. |
| - "\"disable_ipv6\":true}", |
| + "\"disable_ipv6_on_wifi\":true}", |
| // Data reduction proxy key. |
| "", |
| // Data reduction proxy. |
| @@ -115,9 +115,8 @@ TEST(URLRequestContextConfigTest, TestExperimentalOptionParsing) { |
| // Check AsyncDNS resolver is enabled. |
| EXPECT_TRUE(context->host_resolver()->GetDnsConfigAsValue()); |
| - // Check IPv6 is disabled. |
| - EXPECT_EQ(net::ADDRESS_FAMILY_IPV4, |
| - context->host_resolver()->GetDefaultAddressFamily()); |
| + // Check IPv6 is disabled when on wifi. |
| + EXPECT_EQ(true, context->host_resolver()->GetNoIPv6OnWifi()); |
|
pauljensen
2017/04/13 17:17:01
EXPECT_TRUE
mgersh
2017/04/13 19:07:20
Done.
|
| net::HostResolver::RequestInfo info(net::HostPortPair("abcde", 80)); |
| net::AddressList addresses; |