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

Unified Diff: net/curvecp/test_client.cc

Issue 10831277: [net] Change factory methods for HostResolver and HostCache to return a scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary initialization; respond to review Created 8 years, 2 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/base/mapped_host_resolver_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/curvecp/test_client.cc
diff --git a/net/curvecp/test_client.cc b/net/curvecp/test_client.cc
index f5ad5ca288132593911b2e85d77810f493679f00..67bd7b8d4c00626804f07e3e2490a855fa5b040e 100644
--- a/net/curvecp/test_client.cc
+++ b/net/curvecp/test_client.cc
@@ -46,7 +46,7 @@ bool TestClient::Start(const HostPortPair& server_host_port_pair,
bytes_to_read_ = bytes_to_send_ = bytes_to_send;
scoped_ptr<HostResolver> system_host_resolver(
- CreateSystemHostResolver(1, 0, NULL));
+ HostResolver::CreateDefaultResolver(NULL));
SingleRequestHostResolver host_resolver(system_host_resolver.get());
HostResolver::RequestInfo request(server_host_port_pair);
AddressList addresses;
« no previous file with comments | « net/base/mapped_host_resolver_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698