Index: net/base/host_resolver.h |
=================================================================== |
--- net/base/host_resolver.h (revision 37608) |
+++ net/base/host_resolver.h (working copy) |
@@ -147,10 +147,6 @@ |
// 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,8 @@ |
// AF_INET6 by passing in ADDRESS_FAMILY_IPV6. |
virtual void SetDefaultAddressFamily(AddressFamily address_family) {} |
+ virtual bool IsHostResolverImpl() { return false; } |
willchan no longer on Chromium
2010/02/01 19:31:01
My first gut reaction was "ew". This looks ugly.
eroman
2010/02/01 20:31:25
I agree that this is ugly. Here is my justificatio
willchan no longer on Chromium
2010/02/01 21:27:33
Yes, I'd imagine the incognito consumer would have
|
+ |
protected: |
friend class base::RefCountedThreadSafe<HostResolver>; |