| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 NextProto spdy_default_protocol; | 84 NextProto spdy_default_protocol; |
| 85 size_t spdy_stream_initial_recv_window_size; | 85 size_t spdy_stream_initial_recv_window_size; |
| 86 size_t spdy_initial_max_concurrent_streams; | 86 size_t spdy_initial_max_concurrent_streams; |
| 87 size_t spdy_max_concurrent_streams_limit; | 87 size_t spdy_max_concurrent_streams_limit; |
| 88 SpdySessionPool::TimeFunc time_func; | 88 SpdySessionPool::TimeFunc time_func; |
| 89 std::string trusted_spdy_proxy; | 89 std::string trusted_spdy_proxy; |
| 90 bool enable_quic; | 90 bool enable_quic; |
| 91 bool enable_quic_https; | 91 bool enable_quic_https; |
| 92 bool enable_quic_port_selection; | 92 bool enable_quic_port_selection; |
| 93 bool enable_quic_pacing; | 93 bool enable_quic_pacing; |
| 94 bool enable_quic_persist_server_info; |
| 94 HostPortPair origin_to_force_quic_on; | 95 HostPortPair origin_to_force_quic_on; |
| 95 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 96 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 96 QuicRandom* quic_random; | 97 QuicRandom* quic_random; |
| 97 size_t quic_max_packet_length; | 98 size_t quic_max_packet_length; |
| 98 bool enable_user_alternate_protocol_ports; | 99 bool enable_user_alternate_protocol_ports; |
| 99 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 100 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 100 QuicVersionVector quic_supported_versions; | 101 QuicVersionVector quic_supported_versions; |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 enum SocketPoolType { | 104 enum SocketPoolType { |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 206 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
| 206 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 207 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
| 207 std::set<HttpResponseBodyDrainer*> response_drainers_; | 208 std::set<HttpResponseBodyDrainer*> response_drainers_; |
| 208 | 209 |
| 209 Params params_; | 210 Params params_; |
| 210 }; | 211 }; |
| 211 | 212 |
| 212 } // namespace net | 213 } // namespace net |
| 213 | 214 |
| 214 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 215 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |