Index: net/spdy/spdy_session_pool.h |
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h |
index 0b0f97edb81d0c26d3e117a1c51238efe2070340..1a47e425e2b0cf63eff13016dac3e64bb1169b83 100644 |
--- a/net/spdy/spdy_session_pool.h |
+++ b/net/spdy/spdy_session_pool.h |
@@ -34,6 +34,7 @@ class BoundNetLog; |
class ClientSocketHandle; |
class HostResolver; |
class HttpServerProperties; |
+class ProxyDelegate; |
class SpdySession; |
class TransportSecurityState; |
@@ -60,7 +61,7 @@ class NET_EXPORT SpdySessionPool |
size_t stream_max_recv_window_size, |
size_t initial_max_concurrent_streams, |
SpdySessionPool::TimeFunc time_func, |
- const std::string& trusted_spdy_proxy); |
+ const ProxyDelegate* proxy_delegate); |
~SpdySessionPool() override; |
// In the functions below, a session is "available" if this pool has |
@@ -217,9 +218,10 @@ class NET_EXPORT SpdySessionPool |
size_t initial_max_concurrent_streams_; |
TimeFunc time_func_; |
- // This SPDY proxy is allowed to push resources from origins that are |
- // different from those of their associated streams. |
- HostPortPair trusted_spdy_proxy_; |
+ // Verifies if a given proxy is a trusted SPDY proxy which is allowed to push |
+ // resources from origins that are different from those of their associated |
+ // streams in non-incognito sessions. May be NULL. |
+ const ProxyDelegate* proxy_delegate_; |
bengr
2016/01/26 23:23:26
// Determines if a proxy is a trusted SPDY proxy,
tbansal1
2016/01/27 00:13:34
Done.
|
DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
}; |