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_HTTP_HTTP_NETWORK_SESSION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ |
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 bool enable_spdy_compression; | 81 bool enable_spdy_compression; |
82 bool enable_spdy_ping_based_connection_checking; | 82 bool enable_spdy_ping_based_connection_checking; |
83 NextProto spdy_default_protocol; | 83 NextProto spdy_default_protocol; |
84 size_t spdy_stream_initial_recv_window_size; | 84 size_t spdy_stream_initial_recv_window_size; |
85 size_t spdy_initial_max_concurrent_streams; | 85 size_t spdy_initial_max_concurrent_streams; |
86 size_t spdy_max_concurrent_streams_limit; | 86 size_t spdy_max_concurrent_streams_limit; |
87 SpdySessionPool::TimeFunc time_func; | 87 SpdySessionPool::TimeFunc time_func; |
88 std::string trusted_spdy_proxy; | 88 std::string trusted_spdy_proxy; |
89 bool enable_quic; | 89 bool enable_quic; |
90 bool enable_quic_https; | 90 bool enable_quic_https; |
| 91 bool enable_quic_port_selection; |
91 HostPortPair origin_to_force_quic_on; | 92 HostPortPair origin_to_force_quic_on; |
92 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 93 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
93 QuicRandom* quic_random; | 94 QuicRandom* quic_random; |
94 size_t quic_max_packet_length; | 95 size_t quic_max_packet_length; |
95 bool enable_user_alternate_protocol_ports; | 96 bool enable_user_alternate_protocol_ports; |
96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 97 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
97 QuicVersionVector quic_supported_versions; | 98 QuicVersionVector quic_supported_versions; |
98 }; | 99 }; |
99 | 100 |
100 enum SocketPoolType { | 101 enum SocketPoolType { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 203 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
203 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 204 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
204 std::set<HttpResponseBodyDrainer*> response_drainers_; | 205 std::set<HttpResponseBodyDrainer*> response_drainers_; |
205 | 206 |
206 Params params_; | 207 Params params_; |
207 }; | 208 }; |
208 | 209 |
209 } // namespace net | 210 } // namespace net |
210 | 211 |
211 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 212 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |