diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 19:20:31 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 19:20:31 +0000 |
commit | 53bfa31ccee6580c7e79d9024721817a07227801 (patch) | |
tree | 376c45efc814c8f31236a581eab56cb44fb4abb4 /net/spdy/spdy_session_pool.h | |
parent | 2753d493f7fa77bf376eaca4a922596424d8a896 (diff) | |
download | chromium_src-53bfa31ccee6580c7e79d9024721817a07227801.zip chromium_src-53bfa31ccee6580c7e79d9024721817a07227801.tar.gz chromium_src-53bfa31ccee6580c7e79d9024721817a07227801.tar.bz2 |
Persist dynamically learned SPDY settings (like CWND).
BUG=70652
R=willchan
TEST=network unittests, browser unit tests
Review URL: http://codereview.chromium.org/8423028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session_pool.h')
-rw-r--r-- | net/spdy/spdy_session_pool.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index 9da713e..3861481 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -31,6 +31,7 @@ class AddressList; class BoundNetLog; class ClientSocketHandle; class HostResolver; +class HttpServerProperties; class SpdySession; // This is a very simple pool for open SpdySessions. @@ -40,7 +41,8 @@ class NET_EXPORT SpdySessionPool public CertDatabase::Observer { public: SpdySessionPool(HostResolver* host_resolver, - SSLConfigService* ssl_config_service); + SSLConfigService* ssl_config_service, + HttpServerProperties* http_server_properties); virtual ~SpdySessionPool(); // Either returns an existing SpdySession or creates a new SpdySession for @@ -105,6 +107,10 @@ class NET_EXPORT SpdySessionPool SpdySettingsStorage* mutable_spdy_settings() { return &spdy_settings_; } const SpdySettingsStorage& spdy_settings() const { return spdy_settings_; } + HttpServerProperties* http_server_properties() { + return http_server_properties_; + } + // NetworkChangeNotifier::IPAddressObserver methods: // We flush all idle sessions and release references to the active ones so @@ -171,6 +177,7 @@ class NET_EXPORT SpdySessionPool void RemoveAliases(const HostPortProxyPair& pair); SpdySettingsStorage spdy_settings_; + HttpServerProperties* const http_server_properties_; // This is our weak session pool - one session per domain. SpdySessionsMap sessions_; |