diff options
Diffstat (limited to 'net/spdy/spdy_session_pool.h')
-rw-r--r-- | net/spdy/spdy_session_pool.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index 7dc5f27..49f9e45 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -35,11 +35,11 @@ class SpdySettingsStorage; // This is a very simple pool for open SpdySessions. // TODO(mbelshe): Make this production ready. class SpdySessionPool - : public base::RefCounted<SpdySessionPool>, - public NetworkChangeNotifier::Observer, + : public NetworkChangeNotifier::Observer, public SSLConfigService::Observer { public: explicit SpdySessionPool(SSLConfigService* ssl_config_service); + virtual ~SpdySessionPool(); // Either returns an existing SpdySession or creates a new SpdySession for // use. @@ -101,7 +101,6 @@ class SpdySessionPool virtual void OnSSLConfigChanged(); private: - friend class base::RefCounted<SpdySessionPool>; friend class SpdySessionPoolPeer; // For testing. friend class SpdyNetworkTransactionTest; // For testing. FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateOverflow); @@ -109,8 +108,6 @@ class SpdySessionPool typedef std::list<scoped_refptr<SpdySession> > SpdySessionList; typedef std::map<HostPortProxyPair, SpdySessionList*> SpdySessionsMap; - virtual ~SpdySessionPool(); - // Helper functions for manipulating the lists. SpdySessionList* AddSessionList( const HostPortProxyPair& host_port_proxy_pair); |