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

Unified Diff: net/tools/fetch/fetch_client.cc

Issue 149511: Refactorings surrounding HostResolver:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Merge in socks5_client_socket_unittest.cc Created 11 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
« no previous file with comments | « net/socket/tcp_pinger_unittest.cc ('k') | net/url_request/url_request_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/fetch/fetch_client.cc
===================================================================
--- net/tools/fetch/fetch_client.cc (revision 20760)
+++ net/tools/fetch/fetch_client.cc (working copy)
@@ -127,7 +127,9 @@
// Do work here.
MessageLoop loop;
- scoped_refptr<net::HostResolver> host_resolver(new net::HostResolver);
+ scoped_refptr<net::HostResolver> host_resolver(
+ net::CreateSystemHostResolver());
+
scoped_ptr<net::ProxyService> proxy_service(net::ProxyService::CreateNull());
net::HttpTransactionFactory* factory = NULL;
if (use_cache) {
« no previous file with comments | « net/socket/tcp_pinger_unittest.cc ('k') | net/url_request/url_request_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698