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

Unified Diff: net/dns/dns_client.h

Issue 10442098: [net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working AddressSorterWin + measurements. Created 8 years, 6 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/dns_client.h
diff --git a/net/dns/dns_client.h b/net/dns/dns_client.h
index c5461ec3fdc0911440285f887a238fa62e441dd4..d79cb126f566c7f0c78fb3c1ef29b19c7aef7981 100644
--- a/net/dns/dns_client.h
+++ b/net/dns/dns_client.h
@@ -11,6 +11,7 @@
namespace net {
+class AddressSorter;
struct DnsConfig;
class DnsTransactionFactory;
class NetLog;
@@ -30,6 +31,8 @@ class NET_EXPORT DnsClient {
// Returns NULL if the current config is not valid.
virtual DnsTransactionFactory* GetTransactionFactory() = 0;
+ virtual AddressSorter* GetAddressSorter() = 0;
+
// Creates default client.
static scoped_ptr<DnsClient> CreateClient(NetLog* net_log);
};

Powered by Google App Engine
This is Rietveld 408576698