| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_SPDY_SPDY_SESSION_POOL_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_POOL_H_ |
| 6 #define NET_SPDY_SPDY_SESSION_POOL_H_ | 6 #define NET_SPDY_SPDY_SESSION_POOL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // streams for a GURL. Might contain invalid WeakPtr's. | 211 // streams for a GURL. Might contain invalid WeakPtr's. |
| 212 // A single SpdySession can only have at most one pushed stream for each GURL, | 212 // A single SpdySession can only have at most one pushed stream for each GURL, |
| 213 // but it is possible that multiple SpdySessions have pushed streams for the | 213 // but it is possible that multiple SpdySessions have pushed streams for the |
| 214 // same GURL. | 214 // same GURL. |
| 215 UnclaimedPushedStreamMap unclaimed_pushed_streams_; | 215 UnclaimedPushedStreamMap unclaimed_pushed_streams_; |
| 216 | 216 |
| 217 const scoped_refptr<SSLConfigService> ssl_config_service_; | 217 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 218 HostResolver* const resolver_; | 218 HostResolver* const resolver_; |
| 219 | 219 |
| 220 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. | 220 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. |
| 221 bool verify_domain_authentication_; | |
| 222 bool enable_sending_initial_data_; | 221 bool enable_sending_initial_data_; |
| 223 bool enable_ping_based_connection_checking_; | 222 bool enable_ping_based_connection_checking_; |
| 224 size_t session_max_recv_window_size_; | 223 size_t session_max_recv_window_size_; |
| 225 size_t stream_max_recv_window_size_; | 224 size_t stream_max_recv_window_size_; |
| 226 TimeFunc time_func_; | 225 TimeFunc time_func_; |
| 227 | 226 |
| 228 // Determines if a proxy is a trusted SPDY proxy, which is allowed to push | 227 // Determines if a proxy is a trusted SPDY proxy, which is allowed to push |
| 229 // resources from origins that are different from those of their associated | 228 // resources from origins that are different from those of their associated |
| 230 // streams. May be nullptr. | 229 // streams. May be nullptr. |
| 231 ProxyDelegate* proxy_delegate_; | 230 ProxyDelegate* proxy_delegate_; |
| 232 | 231 |
| 233 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); | 232 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
| 234 }; | 233 }; |
| 235 | 234 |
| 236 } // namespace net | 235 } // namespace net |
| 237 | 236 |
| 238 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ | 237 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ |
| OLD | NEW |