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

Unified Diff: net/dns/host_resolver.cc

Issue 2811183003: Change Cronet's "disable_ipv6" to "disable_ipv6_on_wifi" (Closed)
Patch Set: MockNetworkChangeNotifier 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
Index: net/dns/host_resolver.cc
diff --git a/net/dns/host_resolver.cc b/net/dns/host_resolver.cc
index f0cd91b5787267edf28c757e4cb80929e0480f1e..88931ad26566d59d8350e1c4984bae3a99ec0386 100644
--- a/net/dns/host_resolver.cc
+++ b/net/dns/host_resolver.cc
@@ -140,6 +140,14 @@ AddressFamily HostResolver::GetDefaultAddressFamily() const {
return ADDRESS_FAMILY_UNSPECIFIED;
}
+void HostResolver::SetNoIPv6OnWifi() {
+ NOTREACHED();
+}
+
+bool HostResolver::GetNoIPv6OnWifi() {
+ return false;
+}
+
// static
std::unique_ptr<HostResolver> HostResolver::CreateSystemResolver(
const Options& options,

Powered by Google App Engine
This is Rietveld 408576698