diff options
Diffstat (limited to 'net/base/host_resolver_impl_unittest.cc')
-rw-r--r-- | net/base/host_resolver_impl_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/base/host_resolver_impl_unittest.cc b/net/base/host_resolver_impl_unittest.cc index fd35d88..eee6fd1 100644 --- a/net/base/host_resolver_impl_unittest.cc +++ b/net/base/host_resolver_impl_unittest.cc @@ -46,13 +46,15 @@ class CapturingHostResolverProc : public HostResolverProc { event_.Signal(); } - virtual int Resolve(const std::string& host, AddressList* addrlist) { + virtual int Resolve(const std::string& host, + AddressFamily address_family, + AddressList* addrlist) { event_.Wait(); { AutoLock l(lock_); capture_list_.push_back(host); } - return ResolveUsingPrevious(host, addrlist); + return ResolveUsingPrevious(host, address_family, addrlist); } std::vector<std::string> GetCaptureList() const { |