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

Unified Diff: net/dns/dns_client.cc

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/dns_client.h ('k') | net/dns/dns_response.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_client.cc
===================================================================
--- net/dns/dns_client.cc (revision 151600)
+++ net/dns/dns_client.cc (working copy)
@@ -7,7 +7,6 @@
#include "base/bind.h"
#include "base/rand_util.h"
#include "net/base/net_log.h"
-#include "net/dns/address_sorter.h"
#include "net/dns/dns_config_service.h"
#include "net/dns/dns_session.h"
#include "net/dns/dns_transaction.h"
@@ -19,9 +18,7 @@
class DnsClientImpl : public DnsClient {
public:
- explicit DnsClientImpl(NetLog* net_log)
- : address_sorter_(AddressSorter::CreateAddressSorter()),
- net_log_(net_log) {}
+ explicit DnsClientImpl(NetLog* net_log) : net_log_(net_log) {}
virtual void SetConfig(const DnsConfig& config) OVERRIDE {
factory_.reset();
@@ -43,14 +40,9 @@
return session_.get() ? factory_.get() : NULL;
}
- virtual AddressSorter* GetAddressSorter() OVERRIDE {
- return address_sorter_.get();
- }
-
private:
scoped_refptr<DnsSession> session_;
scoped_ptr<DnsTransactionFactory> factory_;
- scoped_ptr<AddressSorter> address_sorter_;
NetLog* net_log_;
};
Property changes on: net/dns/dns_client.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « net/dns/dns_client.h ('k') | net/dns/dns_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698