diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 21:20:27 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 21:20:27 +0000 |
commit | f4580339db115c23098d09545db9c50a83e2e3e2 (patch) | |
tree | e94a0872d826a3877bf2dff330ce82b97c107250 /net/spdy/spdy_session_pool.h | |
parent | 02b0c3408a241a812a46b20c1cc361cba5d2bf9b (diff) | |
download | chromium_src-f4580339db115c23098d09545db9c50a83e2e3e2.zip chromium_src-f4580339db115c23098d09545db9c50a83e2e3e2.tar.gz chromium_src-f4580339db115c23098d09545db9c50a83e2e3e2.tar.bz2 |
Remove the references to HttpNetworkSession in SpdySession
and replace it with a reference to the SpdySessionPool
and SpdySettingStorage, which are actually required.
Modified SpdySessionPool to take a pointer to
SpdySettingsStorage instead of to HttpNetworkSession
in both GetSpdySessionFromSocket() Get().
Modified HttpStreamRequest (and various unit tests) accordingly
when calling these methods.
Review URL: http://codereview.chromium.org/3400024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session_pool.h')
-rw-r--r-- | net/spdy/spdy_session_pool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index 9d8d693..7dc5f27 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -30,6 +30,7 @@ class BoundNetLog; class ClientSocketHandle; class HttpNetworkSession; class SpdySession; +class SpdySettingsStorage; // This is a very simple pool for open SpdySessions. // TODO(mbelshe): Make this production ready. @@ -44,7 +45,7 @@ class SpdySessionPool // use. scoped_refptr<SpdySession> Get( const HostPortProxyPair& host_port_proxy_pair, - HttpNetworkSession* session, + SpdySettingsStorage* spdy_settings, const BoundNetLog& net_log); // Set the maximum concurrent sessions per domain. @@ -65,7 +66,7 @@ class SpdySessionPool // Returns an error on failure, and |spdy_session| will be NULL. net::Error GetSpdySessionFromSocket( const HostPortProxyPair& host_port_proxy_pair, - HttpNetworkSession* session, + SpdySettingsStorage* spdy_settings, ClientSocketHandle* connection, const BoundNetLog& net_log, int certificate_error_code, |