diff options
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index 0bcbbe8..6ce3c67 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -147,10 +147,6 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> { // Unregisters an observer previously added by AddObserver(). virtual void RemoveObserver(Observer* observer) = 0; - // Returns the host cache, or NULL if this implementation does not use - // a HostCache. - virtual HostCache* GetHostCache() = 0; - // TODO(eroman): temp hack for http://crbug.com/18373 virtual void Shutdown() = 0; @@ -160,6 +156,11 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> { // AF_INET6 by passing in ADDRESS_FAMILY_IPV6. virtual void SetDefaultAddressFamily(AddressFamily address_family) {} + // Returns true if this HostResolver is an instance of HostResolverImpl. + // Used primarily to expose additional functionality on the + // about:net-internals page. + virtual bool IsHostResolverImpl() { return false; } + protected: friend class base::RefCountedThreadSafe<HostResolver>; |