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

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: Minor edits. Fix one typo in variable name. Created 8 years, 5 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 13aa0bf8ed1183320180b4482110a15540df6e93..07407f0279cc13023e06aa667ab062253080702c 100644
--- a/net/dns/dns_client.h
+++ b/net/dns/dns_client.h
@@ -10,6 +10,7 @@
namespace net {
+class AddressSorter;
struct DnsConfig;
class DnsTransactionFactory;
class NetLog;
@@ -29,6 +30,8 @@ class NET_EXPORT DnsClient {
// Returns NULL if the current config is not valid.
virtual DnsTransactionFactory* GetTransactionFactory() = 0;
+ virtual AddressSorter* GetAddressSorter() = 0;
cbentzel 2012/07/30 15:53:43 Should this clarify how long the returned pointer
szym 2012/07/30 16:28:45 As long as GetTransactionFactory. I'll add explici
+
// Creates default client.
static scoped_ptr<DnsClient> CreateClient(NetLog* net_log);
};

Powered by Google App Engine
This is Rietveld 408576698