Index: net/spdy/spdy_session_pool.h |
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h |
index 09df36536e26a9e45355fc517665bd4757b3e64b..282c242599ae63900ae6d8dd9967388e7fe085aa 100644 |
--- a/net/spdy/spdy_session_pool.h |
+++ b/net/spdy/spdy_session_pool.h |
@@ -23,6 +23,7 @@ |
#include "net/cert/cert_database.h" |
#include "net/proxy/proxy_config.h" |
#include "net/proxy/proxy_server.h" |
+#include "net/spdy/server_push_delegate.h" |
#include "net/spdy/spdy_session_key.h" |
#include "net/ssl/ssl_config_service.h" |
@@ -126,6 +127,10 @@ class NET_EXPORT SpdySessionPool |
return http_server_properties_; |
} |
+ void set_server_push_delegate(ServerPushDelegate* push_delegate) { |
+ push_delegate_ = push_delegate; |
+ } |
+ |
// NetworkChangeNotifier::IPAddressObserver methods: |
// We flush all idle sessions and release references to the active ones so |
@@ -218,6 +223,7 @@ class NET_EXPORT SpdySessionPool |
size_t session_max_recv_window_size_; |
size_t stream_max_recv_window_size_; |
TimeFunc time_func_; |
+ ServerPushDelegate* push_delegate_; |
// Determines if a proxy is a trusted SPDY proxy, which is allowed to push |
// resources from origins that are different from those of their associated |