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

Unified Diff: net/dns/host_resolver.h

Issue 2811183003: Change Cronet's "disable_ipv6" to "disable_ipv6_on_wifi" (Closed)
Patch Set: more comments Created 3 years, 8 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
« no previous file with comments | « net/dns/fuzzed_host_resolver.cc ('k') | net/dns/host_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/host_resolver.h
diff --git a/net/dns/host_resolver.h b/net/dns/host_resolver.h
index 33cdd34e7200a59b7a5b25dbefbde49a6ca36ce9..ba5078705d4ff78ff1a6bc590c79524f1cb32c57 100644
--- a/net/dns/host_resolver.h
+++ b/net/dns/host_resolver.h
@@ -221,6 +221,11 @@ class NET_EXPORT HostResolver {
virtual void SetDefaultAddressFamily(AddressFamily address_family);
virtual AddressFamily GetDefaultAddressFamily() const;
+ // Sets the HostResolver to assume that IPv6 is unreachable when on a wifi
+ // connection. See https://crbug.com/696569 for further context.
+ virtual void SetNoIPv6OnWifi(bool no_ipv6_on_wifi);
+ virtual bool GetNoIPv6OnWifi();
+
// Creates a HostResolver implementation that queries the underlying system.
// (Except if a unit-test has changed the global HostResolverProc using
// ScopedHostResolverProc to intercept requests to the system).
« no previous file with comments | « net/dns/fuzzed_host_resolver.cc ('k') | net/dns/host_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698