diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 03:09:11 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 03:09:11 +0000 |
commit | 489d1a8055c3ed8389630cd537999a6715eaa4a5 (patch) | |
tree | 2b4315dec568337f68b5b615bff663f71463a031 /net/base/host_resolver_impl.h | |
parent | 3218f80dfc2d5310d6078f55bf535df303f1d9d9 (diff) | |
download | chromium_src-489d1a8055c3ed8389630cd537999a6715eaa4a5.zip chromium_src-489d1a8055c3ed8389630cd537999a6715eaa4a5.tar.gz chromium_src-489d1a8055c3ed8389630cd537999a6715eaa4a5.tar.bz2 |
Add GetHostCache to HostResolver interface, and use the
new method to hook up AsyncHostResolver to
about:net-internals#dns and to clear DNS cache hooks.
Also fix up DNSTransaction's NetLog logging a little.
R=eroman,cbentzel,szym
BUG=99847
TEST=manual
Review URL: http://codereview.chromium.org/8233013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver_impl.h')
-rw-r--r-- | net/base/host_resolver_impl.h | 4 |
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. |