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

Unified Diff: net/base/host_resolver_impl.h

Issue 660073: Revert 39996 - Refine IPv6 probe to require that the client has an IPv6 addre... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 10 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
Index: net/base/host_resolver_impl.h
===================================================================
--- net/base/host_resolver_impl.h (revision 39997)
+++ net/base/host_resolver_impl.h (working copy)
@@ -88,13 +88,10 @@
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);
+ virtual void SetDefaultAddressFamily(AddressFamily address_family) {
+ default_address_family_ = address_family;
+ }
- // Continuously observe whether IPv6 is supported, and set the allowable
- // address family to IPv4 iff IPv6 is not supported.
- void ProbeIPv6Support();
-
virtual HostResolverImpl* GetAsHostResolverImpl() { return this; }
// TODO(eroman): hack for http://crbug.com/15513
@@ -247,11 +244,6 @@
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);

Powered by Google App Engine
This is Rietveld 408576698