summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/host_resolver_impl.h')
-rw-r--r--net/base/host_resolver_impl.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h
index b92b78b..3e273cd 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -88,12 +88,9 @@ class HostResolverImpl : public HostResolver,
virtual void AddObserver(HostResolver::Observer* observer);
virtual void RemoveObserver(HostResolver::Observer* observer);
- // Set address family, and disable IPv6 probe support.
- virtual void SetDefaultAddressFamily(AddressFamily address_family);
-
- // Continuously observe whether IPv6 is supported, and set the allowable
- // address family to IPv4 iff IPv6 is not supported.
- void ProbeIPv6Support();
+ virtual void SetDefaultAddressFamily(AddressFamily address_family) {
+ default_address_family_ = address_family;
+ }
virtual HostResolverImpl* GetAsHostResolverImpl() { return this; }
@@ -247,11 +244,6 @@ class HostResolverImpl : public HostResolver,
NetworkChangeNotifier* const network_change_notifier_;
- // Indicate if probing is done after each network change event to set address
- // family.
- // When false, explicit setting of address family is used.
- bool ipv6_probe_monitoring_;
-
scoped_refptr<RequestsTrace> requests_trace_;
DISALLOW_COPY_AND_ASSIGN(HostResolverImpl);