| 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 21 matching lines...) Expand all Loading... |
| 32 class CertVerifier; | 32 class CertVerifier; |
| 33 class ChannelIDService; | 33 class ChannelIDService; |
| 34 class ClientSocketFactory; | 34 class ClientSocketFactory; |
| 35 class ClientSocketPoolManager; | 35 class ClientSocketPoolManager; |
| 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 HttpProxyTunnelDelegate; |
| 42 class HttpResponseBodyDrainer; | 43 class HttpResponseBodyDrainer; |
| 43 class HttpServerProperties; | 44 class HttpServerProperties; |
| 44 class NetLog; | 45 class NetLog; |
| 45 class NetworkDelegate; | 46 class NetworkDelegate; |
| 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; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 bool enable_quic_time_based_loss_detection; | 114 bool enable_quic_time_based_loss_detection; |
| 114 HostPortPair origin_to_force_quic_on; | 115 HostPortPair origin_to_force_quic_on; |
| 115 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 116 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 116 QuicRandom* quic_random; | 117 QuicRandom* quic_random; |
| 117 size_t quic_max_packet_length; | 118 size_t quic_max_packet_length; |
| 118 std::string quic_user_agent_id; | 119 std::string quic_user_agent_id; |
| 119 bool enable_user_alternate_protocol_ports; | 120 bool enable_user_alternate_protocol_ports; |
| 120 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 121 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 121 QuicVersionVector quic_supported_versions; | 122 QuicVersionVector quic_supported_versions; |
| 122 QuicTagVector quic_connection_options; | 123 QuicTagVector quic_connection_options; |
| 124 net::HttpProxyTunnelDelegate* http_proxy_tunnel_delegate; |
| 123 }; | 125 }; |
| 124 | 126 |
| 125 enum SocketPoolType { | 127 enum SocketPoolType { |
| 126 NORMAL_SOCKET_POOL, | 128 NORMAL_SOCKET_POOL, |
| 127 WEBSOCKET_SOCKET_POOL, | 129 WEBSOCKET_SOCKET_POOL, |
| 128 NUM_SOCKET_POOL_TYPES | 130 NUM_SOCKET_POOL_TYPES |
| 129 }; | 131 }; |
| 130 | 132 |
| 131 explicit HttpNetworkSession(const Params& params); | 133 explicit HttpNetworkSession(const Params& params); |
| 132 | 134 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 239 |
| 238 std::vector<std::string> next_protos_; | 240 std::vector<std::string> next_protos_; |
| 239 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 240 | 242 |
| 241 Params params_; | 243 Params params_; |
| 242 }; | 244 }; |
| 243 | 245 |
| 244 } // namespace net | 246 } // namespace net |
| 245 | 247 |
| 246 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |