summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/host_resolver_impl.h')
-rw-r--r--net/base/host_resolver_impl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h
index 36f6fc54..7f8c0b5 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -115,9 +115,6 @@ class NET_EXPORT HostResolverImpl
// address family to IPv4 iff IPv6 is not supported.
void ProbeIPv6Support();
- // Returns the cache this resolver uses, or NULL if caching is disabled.
- HostCache* cache() { return cache_.get(); }
-
// Applies a set of constraints for requests that belong to the specified
// pool. NOTE: Don't call this after requests have been already been started.
//
@@ -151,6 +148,7 @@ class NET_EXPORT HostResolverImpl
virtual AddressFamily GetDefaultAddressFamily() const OVERRIDE;
virtual HostResolverImpl* GetAsHostResolverImpl() OVERRIDE;
+ virtual HostCache* GetHostCache() OVERRIDE;
private:
// Allow tests to access our innards for testing purposes.