diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 20:17:29 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 20:17:29 +0000 |
commit | 3b24ecf7ea2060bdb394ea249c24530f18a64578 (patch) | |
tree | cc1fe2fdf8af92a2f56c07598cea52f722113d6e /net/base/host_resolver.h | |
parent | 3b10a7515086465baab07296a30ba71797b455c8 (diff) | |
download | chromium_src-3b24ecf7ea2060bdb394ea249c24530f18a64578.zip chromium_src-3b24ecf7ea2060bdb394ea249c24530f18a64578.tar.gz chromium_src-3b24ecf7ea2060bdb394ea249c24530f18a64578.tar.bz2 |
Add a visualizer for the HostCache (DNS cache) on the network internals page.
BUG=http://crbug.com/14478
Review URL: http://codereview.chromium.org/172100
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index eecf394..e5c46a3 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -16,6 +16,7 @@ class MessageLoop; namespace net { class AddressList; +class HostCache; class LoadLog; // This class represents the task of resolving hostnames (or IP address @@ -130,6 +131,10 @@ class HostResolver : public base::RefCounted<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; |