summaryrefslogtreecommitdiffstats
path: root/net/base/mock_host_resolver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/mock_host_resolver.cc')
-rw-r--r--net/base/mock_host_resolver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/mock_host_resolver.cc b/net/base/mock_host_resolver.cc
index 6b2aa4c5..2e38dd9 100644
--- a/net/base/mock_host_resolver.cc
+++ b/net/base/mock_host_resolver.cc
@@ -97,11 +97,11 @@ void MockHostResolverBase::Reset(HostResolverProc* interceptor) {
int MockHostResolverBase::Resolve(const RequestInfo& info,
AddressList* addresses,
- CompletionCallback* callback,
+ OldCompletionCallback* callback,
RequestHandle* out_req,
const BoundNetLog& net_log) {
if (synchronous_mode_) {
- TestCompletionCallback sync_callback;
+ TestOldCompletionCallback sync_callback;
int rv = impl_->Resolve(info, addresses, &sync_callback, out_req, net_log);
if (rv == ERR_IO_PENDING) {
MessageLoop::ScopedNestableTaskAllower nestable(MessageLoop::current());