Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: net/spdy/spdy_session_pool.h

Issue 11620007: Switch from OnIPAddressChanged and OnConnectionTypeChange to OnNetworkChanged Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 0467583eefa0f8ea73936c0adbadc51d79ad58b9..b1a3a938e73b49725663b4bd68caad5e3b4111da 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -42,7 +42,7 @@ class SpdySessionPoolPeer;
// This is a very simple pool for open SpdySessions.
class NET_EXPORT SpdySessionPool
- : public NetworkChangeNotifier::IPAddressObserver,
+ : public NetworkChangeNotifier::NetworkChangeObserver,
public SSLConfigService::Observer,
public CertDatabase::Observer {
public:
@@ -127,7 +127,8 @@ class NET_EXPORT SpdySessionPool
// We flush all idle sessions and release references to the active ones so
// they won't get re-used. The active ones will either complete successfully
// or error out due to the IP address change.
- virtual void OnIPAddressChanged() OVERRIDE;
+ virtual void OnNetworkChanged(
+ net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// SSLConfigService::Observer methods:

Powered by Google App Engine
This is Rietveld 408576698