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 13 matching lines...) Expand all Loading... |
24 namespace base { | 24 namespace base { |
25 class Value; | 25 class Value; |
26 } | 26 } |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 class CertVerifier; | 30 class CertVerifier; |
31 class ClientSocketFactory; | 31 class ClientSocketFactory; |
32 class ClientSocketPoolManager; | 32 class ClientSocketPoolManager; |
33 class HostResolver; | 33 class HostResolver; |
| 34 class HpackHuffmanAggregator; |
34 class HttpAuthHandlerFactory; | 35 class HttpAuthHandlerFactory; |
35 class HttpNetworkSessionPeer; | 36 class HttpNetworkSessionPeer; |
36 class HttpProxyClientSocketPool; | 37 class HttpProxyClientSocketPool; |
37 class HttpResponseBodyDrainer; | 38 class HttpResponseBodyDrainer; |
38 class HttpServerProperties; | 39 class HttpServerProperties; |
39 class NetLog; | 40 class NetLog; |
40 class NetworkDelegate; | 41 class NetworkDelegate; |
41 class ServerBoundCertService; | 42 class ServerBoundCertService; |
42 class ProxyService; | 43 class ProxyService; |
43 class QuicClock; | 44 class QuicClock; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 } | 146 } |
146 HttpStreamFactory* http_stream_factory() { | 147 HttpStreamFactory* http_stream_factory() { |
147 return http_stream_factory_.get(); | 148 return http_stream_factory_.get(); |
148 } | 149 } |
149 HttpStreamFactory* http_stream_factory_for_websocket() { | 150 HttpStreamFactory* http_stream_factory_for_websocket() { |
150 return http_stream_factory_for_websocket_.get(); | 151 return http_stream_factory_for_websocket_.get(); |
151 } | 152 } |
152 NetLog* net_log() { | 153 NetLog* net_log() { |
153 return net_log_; | 154 return net_log_; |
154 } | 155 } |
| 156 HpackHuffmanAggregator* huffman_aggregator() { |
| 157 return huffman_aggregator_.get(); |
| 158 } |
155 | 159 |
156 // Creates a Value summary of the state of the socket pools. The caller is | 160 // Creates a Value summary of the state of the socket pools. The caller is |
157 // responsible for deleting the returned value. | 161 // responsible for deleting the returned value. |
158 base::Value* SocketPoolInfoToValue() const; | 162 base::Value* SocketPoolInfoToValue() const; |
159 | 163 |
160 // Creates a Value summary of the state of the SPDY sessions. The caller is | 164 // Creates a Value summary of the state of the SPDY sessions. The caller is |
161 // responsible for deleting the returned value. | 165 // responsible for deleting the returned value. |
162 base::Value* SpdySessionPoolInfoToValue() const; | 166 base::Value* SpdySessionPoolInfoToValue() const; |
163 | 167 |
164 // Creates a Value summary of the state of the QUIC sessions and | 168 // Creates a Value summary of the state of the QUIC sessions and |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 HttpAuthCache http_auth_cache_; | 203 HttpAuthCache http_auth_cache_; |
200 SSLClientAuthCache ssl_client_auth_cache_; | 204 SSLClientAuthCache ssl_client_auth_cache_; |
201 scoped_ptr<ClientSocketPoolManager> normal_socket_pool_manager_; | 205 scoped_ptr<ClientSocketPoolManager> normal_socket_pool_manager_; |
202 scoped_ptr<ClientSocketPoolManager> websocket_socket_pool_manager_; | 206 scoped_ptr<ClientSocketPoolManager> websocket_socket_pool_manager_; |
203 QuicStreamFactory quic_stream_factory_; | 207 QuicStreamFactory quic_stream_factory_; |
204 SpdySessionPool spdy_session_pool_; | 208 SpdySessionPool spdy_session_pool_; |
205 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 209 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
206 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 210 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
207 std::set<HttpResponseBodyDrainer*> response_drainers_; | 211 std::set<HttpResponseBodyDrainer*> response_drainers_; |
208 | 212 |
| 213 // TODO(jgraettinger): Remove when Huffman collection is complete. |
| 214 scoped_ptr<HpackHuffmanAggregator> huffman_aggregator_; |
| 215 |
209 Params params_; | 216 Params params_; |
210 }; | 217 }; |
211 | 218 |
212 } // namespace net | 219 } // namespace net |
213 | 220 |
214 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 221 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |