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

Unified Diff: net/dns/mapped_host_resolver.cc

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/mapped_host_resolver.h ('k') | net/quic/chromium/mock_network_change_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/mapped_host_resolver.cc
diff --git a/net/dns/mapped_host_resolver.cc b/net/dns/mapped_host_resolver.cc
index 39c313c74b33d35feeb2131d75e681edd53ebfc9..0003fbb193692e7eb6197dc87f709d8537b9d831 100644
--- a/net/dns/mapped_host_resolver.cc
+++ b/net/dns/mapped_host_resolver.cc
@@ -64,6 +64,14 @@ AddressFamily MappedHostResolver::GetDefaultAddressFamily() const {
return impl_->GetDefaultAddressFamily();
}
+void MappedHostResolver::SetNoIPv6OnWifi(bool no_ipv6_on_wifi) {
+ impl_->SetNoIPv6OnWifi(no_ipv6_on_wifi);
+}
+
+bool MappedHostResolver::GetNoIPv6OnWifi() {
+ return impl_->GetNoIPv6OnWifi();
+}
+
int MappedHostResolver::ApplyRules(RequestInfo* info) const {
HostPortPair host_port(info->host_port_pair());
if (rules_.RewriteHost(&host_port)) {
« no previous file with comments | « net/dns/mapped_host_resolver.h ('k') | net/quic/chromium/mock_network_change_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698