diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-16 18:58:29 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-16 18:58:29 +0000 |
commit | aa22b24e681201499f9dc82c3d62d66e682bf118 (patch) | |
tree | 0760db471972868a35219a2fd28a0a733cfac2d8 /net/test | |
parent | 66ad7faacf401592f814b73ec8d670a552f4c61e (diff) | |
download | chromium_src-aa22b24e681201499f9dc82c3d62d66e682bf118.zip chromium_src-aa22b24e681201499f9dc82c3d62d66e682bf118.tar.gz chromium_src-aa22b24e681201499f9dc82c3d62d66e682bf118.tar.bz2 |
base::Bind: Convert HostResolver::Resolve.
BUG=none
TEST=none
R=willchan@chromium.org
Review URL: http://codereview.chromium.org/8549004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/test/test_server.cc b/net/test/test_server.cc index 4850f4f..c27f73b 100644 --- a/net/test/test_server.cc +++ b/net/test/test_server.cc @@ -196,8 +196,8 @@ bool TestServer::GetAddressList(AddressList* address_list) const { HostResolver::kDefaultRetryAttempts, NULL)); HostResolver::RequestInfo info(host_port_pair_); - TestOldCompletionCallback callback; - int rv = resolver->Resolve(info, address_list, &callback, NULL, + TestCompletionCallback callback; + int rv = resolver->Resolve(info, address_list, callback.callback(), NULL, BoundNetLog()); if (rv == ERR_IO_PENDING) rv = callback.WaitForResult(); |