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

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
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.h
===================================================================
--- net/spdy/spdy_session_pool.h (revision 110097)
+++ net/spdy/spdy_session_pool.h (working copy)
@@ -31,6 +31,7 @@
class BoundNetLog;
class ClientSocketHandle;
class HostResolver;
+class HttpServerProperties;
class SpdySession;
// This is a very simple pool for open SpdySessions.
@@ -40,7 +41,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
@@ -105,6 +107,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
@@ -171,6 +177,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_;
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698