summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 01:48:31 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 01:48:31 +0000
commit9b3ef464c036a62a58a073e14b79cf9ecb790578 (patch)
tree816e67d3cf423e3f27997a3fc259d7cf855883d3 /net/base/host_resolver.h
parent65695a1fa1d175e85663eeb8ae0f1942c3d09703 (diff)
downloadchromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.zip
chromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.tar.gz
chromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.tar.bz2
Flush socket pools and SPDY session pool properly on explicit requests and network changes.
BUG=40455,40457 Review URL: http://codereview.chromium.org/1615005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r--net/base/host_resolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index 8f7bd09..a65bc6b 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -156,6 +156,9 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> {
// Unregisters an observer previously added by AddObserver().
virtual void RemoveObserver(Observer* observer) = 0;
+ // Gives the HostResolver an opportunity to flush state.
+ virtual void Flush() {}
+
// Sets the default AddressFamily to use when requests have left it
// unspecified. For example, this could be used to restrict resolution
// results to AF_INET by passing in ADDRESS_FAMILY_IPV4, or to