| 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 "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const HostPortPair& socks_proxy); | 114 const HostPortPair& socks_proxy); |
| 115 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( | 115 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( |
| 116 SocketPoolType pool_type, | 116 SocketPoolType pool_type, |
| 117 const HostPortPair& http_proxy); | 117 const HostPortPair& http_proxy); |
| 118 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( | 118 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( |
| 119 SocketPoolType pool_type, | 119 SocketPoolType pool_type, |
| 120 const HostPortPair& proxy_server); | 120 const HostPortPair& proxy_server); |
| 121 | 121 |
| 122 CertVerifier* cert_verifier() { return cert_verifier_; } | 122 CertVerifier* cert_verifier() { return cert_verifier_; } |
| 123 ProxyService* proxy_service() { return proxy_service_; } | 123 ProxyService* proxy_service() { return proxy_service_; } |
| 124 SSLConfigService* ssl_config_service() { return ssl_config_service_; } | 124 SSLConfigService* ssl_config_service() { return ssl_config_service_.get(); } |
| 125 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; } | 125 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; } |
| 126 QuicStreamFactory* quic_stream_factory() { return &quic_stream_factory_; } | 126 QuicStreamFactory* quic_stream_factory() { return &quic_stream_factory_; } |
| 127 HttpAuthHandlerFactory* http_auth_handler_factory() { | 127 HttpAuthHandlerFactory* http_auth_handler_factory() { |
| 128 return http_auth_handler_factory_; | 128 return http_auth_handler_factory_; |
| 129 } | 129 } |
| 130 NetworkDelegate* network_delegate() { | 130 NetworkDelegate* network_delegate() { |
| 131 return network_delegate_; | 131 return network_delegate_; |
| 132 } | 132 } |
| 133 HttpServerProperties* http_server_properties() { | 133 HttpServerProperties* http_server_properties() { |
| 134 return http_server_properties_; | 134 return http_server_properties_; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 SpdySessionPool spdy_session_pool_; | 191 SpdySessionPool spdy_session_pool_; |
| 192 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 192 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
| 193 std::set<HttpResponseBodyDrainer*> response_drainers_; | 193 std::set<HttpResponseBodyDrainer*> response_drainers_; |
| 194 | 194 |
| 195 Params params_; | 195 Params params_; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace net | 198 } // namespace net |
| 199 | 199 |
| 200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |