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

Unified Diff: net/dns/host_resolver.cc

Issue 2709393007: Add back "default address family" to HostResolver (Closed)
Patch Set: another link to bug 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/host_resolver.cc
diff --git a/net/dns/host_resolver.cc b/net/dns/host_resolver.cc
index df958933d79aaff66735c840918da0e890d77618..da0c57ccc909aee8b68b97b3cf341f2a8c13f721 100644
--- a/net/dns/host_resolver.cc
+++ b/net/dns/host_resolver.cc
@@ -132,6 +132,10 @@ void HostResolver::InitializePersistence(
const PersistCallback& persist_callback,
std::unique_ptr<const base::Value> old_data) {}
+AddressFamily HostResolver::GetDefaultAddressFamily() const {
+ return ADDRESS_FAMILY_UNSPECIFIED;
+}
+
// static
std::unique_ptr<HostResolver> HostResolver::CreateSystemResolver(
const Options& options,

Powered by Google App Engine
This is Rietveld 408576698