| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 HostPortPair origin_to_force_quic_on; | 91 HostPortPair origin_to_force_quic_on; |
| 92 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 92 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 93 QuicRandom* quic_random; | 93 QuicRandom* quic_random; |
| 94 size_t quic_max_packet_length; | 94 size_t quic_max_packet_length; |
| 95 bool enable_user_alternate_protocol_ports; | 95 bool enable_user_alternate_protocol_ports; |
| 96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 97 QuicVersionVector quic_supported_versions; |
| 97 }; | 98 }; |
| 98 | 99 |
| 99 enum SocketPoolType { | 100 enum SocketPoolType { |
| 100 NORMAL_SOCKET_POOL, | 101 NORMAL_SOCKET_POOL, |
| 101 WEBSOCKET_SOCKET_POOL, | 102 WEBSOCKET_SOCKET_POOL, |
| 102 NUM_SOCKET_POOL_TYPES | 103 NUM_SOCKET_POOL_TYPES |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 explicit HttpNetworkSession(const Params& params); | 106 explicit HttpNetworkSession(const Params& params); |
| 106 | 107 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 202 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
| 202 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 203 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
| 203 std::set<HttpResponseBodyDrainer*> response_drainers_; | 204 std::set<HttpResponseBodyDrainer*> response_drainers_; |
| 204 | 205 |
| 205 Params params_; | 206 Params params_; |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace net | 209 } // namespace net |
| 209 | 210 |
| 210 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 211 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |