diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 01:48:31 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 01:48:31 +0000 |
commit | 9b3ef464c036a62a58a073e14b79cf9ecb790578 (patch) | |
tree | 816e67d3cf423e3f27997a3fc259d7cf855883d3 /net/base/host_resolver_impl.h | |
parent | 65695a1fa1d175e85663eeb8ae0f1942c3d09703 (diff) | |
download | chromium_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_impl.h')
-rw-r--r-- | net/base/host_resolver_impl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h index 9652072..1a87dfe 100644 --- a/net/base/host_resolver_impl.h +++ b/net/base/host_resolver_impl.h @@ -47,8 +47,7 @@ namespace net { // // Requests are ordered in the queue based on their priority. -class HostResolverImpl : public HostResolver, - public NetworkChangeNotifier::Observer { +class HostResolverImpl : public HostResolver { public: // The index into |job_pools_| for the various job pools. Pools with a higher // index have lower priority. @@ -88,6 +87,7 @@ class HostResolverImpl : public HostResolver, virtual void CancelRequest(RequestHandle req); virtual void AddObserver(HostResolver::Observer* observer); virtual void RemoveObserver(HostResolver::Observer* observer); + virtual void Flush(); // Set address family, and disable IPv6 probe support. virtual void SetDefaultAddressFamily(AddressFamily address_family); @@ -180,9 +180,6 @@ class HostResolverImpl : public HostResolver, int request_id, const RequestInfo& info); - // NetworkChangeNotifier::Observer methods: - virtual void OnIPAddressChanged(); - // Notify IPv6ProbeJob not to call back, and discard reference to the job. void DiscardIPv6ProbeJob(); |