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

Unified Diff: net/dns/mapped_host_resolver.h

Issue 2711153007: Add Cronet experimental option to disable ipv6 (Closed)
Patch Set: comments Created 3 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/dns/mapped_host_resolver.h
diff --git a/net/dns/mapped_host_resolver.h b/net/dns/mapped_host_resolver.h
index ddc753bed1cf38aa6e4311d98b497065f2ef8c2b..54342e2d9c1b1c94730d94b76d99f29a67c5e583 100644
--- a/net/dns/mapped_host_resolver.h
+++ b/net/dns/mapped_host_resolver.h
@@ -57,6 +57,8 @@ class NET_EXPORT MappedHostResolver : public HostResolver {
void SetDnsClientEnabled(bool enabled) override;
HostCache* GetHostCache() override;
std::unique_ptr<base::Value> GetDnsConfigAsValue() const override;
+ void SetDefaultAddressFamily(AddressFamily address_family) override;
+ AddressFamily GetDefaultAddressFamily() const override;
private:
// Modify the request |info| according to |rules_|. Returns either OK or

Powered by Google App Engine
This is Rietveld 408576698