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

Unified Diff: net/curvecp/test_client.cc

Issue 8549004: base::Bind: Convert HostResolver::Resolve. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 1 month 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/single_request_host_resolver_unittest.cc ('k') | net/dns/async_host_resolver.h » ('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 abf5957c74a03ab75510aa4a6695537cbde415c4..d57a13f6b9ff2839f1b048c8d20b2dc992aaff46 100644
--- a/net/curvecp/test_client.cc
+++ b/net/curvecp/test_client.cc
@@ -57,7 +57,8 @@ bool TestClient::Start(const HostPortPair& server_host_port_pair,
SingleRequestHostResolver host_resolver(system_host_resolver.get());
HostResolver::RequestInfo request(server_host_port_pair);
AddressList addresses;
- int rv = host_resolver.Resolve(request, &addresses, NULL, BoundNetLog());
+ int rv = host_resolver.Resolve(request, &addresses, CompletionCallback(),
+ BoundNetLog());
if (rv != OK) {
LOG(ERROR) << "Could not resolve host";
return false;
« no previous file with comments | « net/base/single_request_host_resolver_unittest.cc ('k') | net/dns/async_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698