| 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 #include <vector> | 10 #include <vector> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 class CTVerifier; | 36 class CTVerifier; |
| 37 class HostResolver; | 37 class HostResolver; |
| 38 class HpackHuffmanAggregator; | 38 class HpackHuffmanAggregator; |
| 39 class HttpAuthHandlerFactory; | 39 class HttpAuthHandlerFactory; |
| 40 class HttpNetworkSessionPeer; | 40 class HttpNetworkSessionPeer; |
| 41 class HttpProxyClientSocketPool; | 41 class HttpProxyClientSocketPool; |
| 42 class HttpResponseBodyDrainer; | 42 class HttpResponseBodyDrainer; |
| 43 class HttpServerProperties; | 43 class HttpServerProperties; |
| 44 class NetLog; | 44 class NetLog; |
| 45 class NetworkDelegate; | 45 class NetworkDelegate; |
| 46 class ProxyDelegate; |
| 46 class ProxyService; | 47 class ProxyService; |
| 47 class QuicClock; | 48 class QuicClock; |
| 48 class QuicCryptoClientStreamFactory; | 49 class QuicCryptoClientStreamFactory; |
| 49 class QuicServerInfoFactory; | 50 class QuicServerInfoFactory; |
| 50 class SOCKSClientSocketPool; | 51 class SOCKSClientSocketPool; |
| 51 class SSLClientSocketPool; | 52 class SSLClientSocketPool; |
| 52 class SSLConfigService; | 53 class SSLConfigService; |
| 53 class TransportClientSocketPool; | 54 class TransportClientSocketPool; |
| 54 class TransportSecurityState; | 55 class TransportSecurityState; |
| 55 | 56 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 bool quic_disable_connection_pooling; | 116 bool quic_disable_connection_pooling; |
| 116 HostPortPair origin_to_force_quic_on; | 117 HostPortPair origin_to_force_quic_on; |
| 117 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 118 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 118 QuicRandom* quic_random; | 119 QuicRandom* quic_random; |
| 119 size_t quic_max_packet_length; | 120 size_t quic_max_packet_length; |
| 120 std::string quic_user_agent_id; | 121 std::string quic_user_agent_id; |
| 121 bool enable_user_alternate_protocol_ports; | 122 bool enable_user_alternate_protocol_ports; |
| 122 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 123 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 123 QuicVersionVector quic_supported_versions; | 124 QuicVersionVector quic_supported_versions; |
| 124 QuicTagVector quic_connection_options; | 125 QuicTagVector quic_connection_options; |
| 126 ProxyDelegate* proxy_delegate; |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 enum SocketPoolType { | 129 enum SocketPoolType { |
| 128 NORMAL_SOCKET_POOL, | 130 NORMAL_SOCKET_POOL, |
| 129 WEBSOCKET_SOCKET_POOL, | 131 WEBSOCKET_SOCKET_POOL, |
| 130 NUM_SOCKET_POOL_TYPES | 132 NUM_SOCKET_POOL_TYPES |
| 131 }; | 133 }; |
| 132 | 134 |
| 133 explicit HttpNetworkSession(const Params& params); | 135 explicit HttpNetworkSession(const Params& params); |
| 134 | 136 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 241 |
| 240 std::vector<std::string> next_protos_; | 242 std::vector<std::string> next_protos_; |
| 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 242 | 244 |
| 243 Params params_; | 245 Params params_; |
| 244 }; | 246 }; |
| 245 | 247 |
| 246 } // namespace net | 248 } // namespace net |
| 247 | 249 |
| 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 250 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |