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

Unified Diff: net/spdy/spdy_session_pool.h

Issue 8423028: Persist dynamically learned SPDY settings (like CWND). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
===================================================================
--- net/spdy/spdy_session_pool.h (revision 109467)
+++ net/spdy/spdy_session_pool.h (working copy)
@@ -32,6 +32,7 @@
class ClientSocketHandle;
class HostResolver;
class HttpNetworkSession;
+class HttpServerProperties;
class SpdySession;
// This is a very simple pool for open SpdySessions.
@@ -41,7 +42,8 @@
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
@@ -106,6 +108,10 @@
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
@@ -172,6 +178,7 @@
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_;

Powered by Google App Engine
This is Rietveld 408576698