| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 namespace net { | 30 namespace net { |
| 31 | 31 |
| 32 class CertPolicyEnforcer; | 32 class CertPolicyEnforcer; |
| 33 class CertVerifier; | 33 class CertVerifier; |
| 34 class ChannelIDService; | 34 class ChannelIDService; |
| 35 class ClientSocketFactory; | 35 class ClientSocketFactory; |
| 36 class ClientSocketPoolManager; | 36 class ClientSocketPoolManager; |
| 37 class CTVerifier; | 37 class CTVerifier; |
| 38 class HostResolver; | 38 class HostResolver; |
| 39 class HpackHuffmanAggregator; | |
| 40 class HttpAuthHandlerFactory; | 39 class HttpAuthHandlerFactory; |
| 41 class HttpNetworkSessionPeer; | 40 class HttpNetworkSessionPeer; |
| 42 class HttpProxyClientSocketPool; | 41 class HttpProxyClientSocketPool; |
| 43 class HttpResponseBodyDrainer; | 42 class HttpResponseBodyDrainer; |
| 44 class HttpServerProperties; | 43 class HttpServerProperties; |
| 45 class NetLog; | 44 class NetLog; |
| 46 class NetworkDelegate; | 45 class NetworkDelegate; |
| 47 class ProxyDelegate; | 46 class ProxyDelegate; |
| 48 class ProxyService; | 47 class ProxyService; |
| 49 class QuicClock; | 48 class QuicClock; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 } | 177 } |
| 179 HttpStreamFactory* http_stream_factory() { | 178 HttpStreamFactory* http_stream_factory() { |
| 180 return http_stream_factory_.get(); | 179 return http_stream_factory_.get(); |
| 181 } | 180 } |
| 182 HttpStreamFactory* http_stream_factory_for_websocket() { | 181 HttpStreamFactory* http_stream_factory_for_websocket() { |
| 183 return http_stream_factory_for_websocket_.get(); | 182 return http_stream_factory_for_websocket_.get(); |
| 184 } | 183 } |
| 185 NetLog* net_log() { | 184 NetLog* net_log() { |
| 186 return net_log_; | 185 return net_log_; |
| 187 } | 186 } |
| 188 HpackHuffmanAggregator* huffman_aggregator() { | |
| 189 return huffman_aggregator_.get(); | |
| 190 } | |
| 191 | 187 |
| 192 // Creates a Value summary of the state of the socket pools. The caller is | 188 // Creates a Value summary of the state of the socket pools. The caller is |
| 193 // responsible for deleting the returned value. | 189 // responsible for deleting the returned value. |
| 194 base::Value* SocketPoolInfoToValue() const; | 190 base::Value* SocketPoolInfoToValue() const; |
| 195 | 191 |
| 196 // Creates a Value summary of the state of the SPDY sessions. The caller is | 192 // Creates a Value summary of the state of the SPDY sessions. The caller is |
| 197 // responsible for deleting the returned value. | 193 // responsible for deleting the returned value. |
| 198 base::Value* SpdySessionPoolInfoToValue() const; | 194 base::Value* SpdySessionPoolInfoToValue() const; |
| 199 | 195 |
| 200 // Creates a Value summary of the state of the QUIC sessions and | 196 // Creates a Value summary of the state of the QUIC sessions and |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 HttpAuthCache http_auth_cache_; | 233 HttpAuthCache http_auth_cache_; |
| 238 SSLClientAuthCache ssl_client_auth_cache_; | 234 SSLClientAuthCache ssl_client_auth_cache_; |
| 239 scoped_ptr<ClientSocketPoolManager> normal_socket_pool_manager_; | 235 scoped_ptr<ClientSocketPoolManager> normal_socket_pool_manager_; |
| 240 scoped_ptr<ClientSocketPoolManager> websocket_socket_pool_manager_; | 236 scoped_ptr<ClientSocketPoolManager> websocket_socket_pool_manager_; |
| 241 QuicStreamFactory quic_stream_factory_; | 237 QuicStreamFactory quic_stream_factory_; |
| 242 SpdySessionPool spdy_session_pool_; | 238 SpdySessionPool spdy_session_pool_; |
| 243 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 239 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
| 244 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 240 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
| 245 std::set<HttpResponseBodyDrainer*> response_drainers_; | 241 std::set<HttpResponseBodyDrainer*> response_drainers_; |
| 246 | 242 |
| 247 // TODO(jgraettinger): Remove when Huffman collection is complete. | |
| 248 scoped_ptr<HpackHuffmanAggregator> huffman_aggregator_; | |
| 249 | |
| 250 NextProtoVector next_protos_; | 243 NextProtoVector next_protos_; |
| 251 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 244 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 252 | 245 |
| 253 Params params_; | 246 Params params_; |
| 254 }; | 247 }; |
| 255 | 248 |
| 256 } // namespace net | 249 } // namespace net |
| 257 | 250 |
| 258 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 251 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |