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.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/net/base/mock_host_resolver.cc b/net/base/mock_host_resolver.cc
index 6eae712..f8c53a6 100644
--- a/net/base/mock_host_resolver.cc
+++ b/net/base/mock_host_resolver.cc
@@ -50,8 +50,6 @@ MockHostResolverBase::MockHostResolverBase(bool use_caching)
Reset(NULL);
}
-MockHostResolverBase::~MockHostResolverBase() {}
-
int MockHostResolverBase::Resolve(const RequestInfo& info,
AddressList* addresses,
CompletionCallback* callback,
@@ -260,29 +258,6 @@ int RuleBasedHostResolverProc::Resolve(const std::string& host,
//-----------------------------------------------------------------------------
-WaitingHostResolverProc::WaitingHostResolverProc(HostResolverProc* previous)
- : HostResolverProc(previous), event_(false, false) {}
-
-void WaitingHostResolverProc::Signal() {
- event_.Signal();
-}
-
-int WaitingHostResolverProc::Resolve(const std::string& host,
- AddressFamily address_family,
- HostResolverFlags host_resolver_flags,
- AddressList* addrlist,
- int* os_error) {
- event_.Wait();
- return ResolveUsingPrevious(host, address_family, host_resolver_flags,
- addrlist, os_error);
-}
-
-WaitingHostResolverProc::~WaitingHostResolverProc() {}
-
-//-----------------------------------------------------------------------------
-
-ScopedDefaultHostResolverProc::ScopedDefaultHostResolverProc() {}
-
ScopedDefaultHostResolverProc::ScopedDefaultHostResolverProc(
HostResolverProc* proc) {
Init(proc);