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

Unified Diff: net/dns/dns_client.h

Issue 10855163: Revert 151586 - [net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RF… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/address_sorter_win.cc ('k') | net/dns/dns_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_client.h
===================================================================
--- net/dns/dns_client.h (revision 151600)
+++ net/dns/dns_client.h (working copy)
@@ -10,14 +10,12 @@
namespace net {
-class AddressSorter;
struct DnsConfig;
class DnsTransactionFactory;
class NetLog;
-// Convenience wrapper which allows easy injection of DnsTransaction into
-// HostResolverImpl. Pointers returned by the Get* methods are only guaranteed
-// to remain valid until next time SetConfig is called.
+// Convenience wrapper allows easy injection of DnsTransaction into
+// HostResolverImpl.
class NET_EXPORT DnsClient {
public:
virtual ~DnsClient() {}
@@ -31,9 +29,6 @@
// Returns NULL if the current config is not valid.
virtual DnsTransactionFactory* GetTransactionFactory() = 0;
- // Returns NULL if the current config is not valid.
- virtual AddressSorter* GetAddressSorter() = 0;
-
// Creates default client.
static scoped_ptr<DnsClient> CreateClient(NetLog* net_log);
};
Property changes on: net/dns/dns_client.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « net/dns/address_sorter_win.cc ('k') | net/dns/dns_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698