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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 typedef base::TimeTicks (*TimeFunc)(void); | 44 typedef base::TimeTicks (*TimeFunc)(void); |
45 | 45 |
46 // |default_protocol| may be kProtoUnknown (e.g., if SPDY is | 46 // |default_protocol| may be kProtoUnknown (e.g., if SPDY is |
47 // disabled), in which case it's set to a default value. Otherwise, | 47 // disabled), in which case it's set to a default value. Otherwise, |
48 // it must be a SPDY protocol. | 48 // it must be a SPDY protocol. |
49 SpdySessionPool( | 49 SpdySessionPool( |
50 HostResolver* host_resolver, | 50 HostResolver* host_resolver, |
51 SSLConfigService* ssl_config_service, | 51 SSLConfigService* ssl_config_service, |
52 const base::WeakPtr<HttpServerProperties>& http_server_properties, | 52 const base::WeakPtr<HttpServerProperties>& http_server_properties, |
53 bool force_single_domain, | 53 bool force_single_domain, |
54 bool enable_ip_pooling, | |
55 bool enable_compression, | 54 bool enable_compression, |
56 bool enable_ping_based_connection_checking, | 55 bool enable_ping_based_connection_checking, |
57 NextProto default_protocol, | 56 NextProto default_protocol, |
58 size_t stream_initial_recv_window_size, | 57 size_t stream_initial_recv_window_size, |
59 size_t initial_max_concurrent_streams, | 58 size_t initial_max_concurrent_streams, |
60 size_t max_concurrent_streams_limit, | 59 size_t max_concurrent_streams_limit, |
61 SpdySessionPool::TimeFunc time_func, | 60 SpdySessionPool::TimeFunc time_func, |
62 const std::string& trusted_spdy_proxy); | 61 const std::string& trusted_spdy_proxy); |
63 virtual ~SpdySessionPool(); | 62 virtual ~SpdySessionPool(); |
64 | 63 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // This SPDY proxy is allowed to push resources from origins that are | 226 // This SPDY proxy is allowed to push resources from origins that are |
228 // different from those of their associated streams. | 227 // different from those of their associated streams. |
229 HostPortPair trusted_spdy_proxy_; | 228 HostPortPair trusted_spdy_proxy_; |
230 | 229 |
231 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); | 230 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
232 }; | 231 }; |
233 | 232 |
234 } // namespace net | 233 } // namespace net |
235 | 234 |
236 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ | 235 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ |
OLD | NEW |