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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const HostPortPair& socks_proxy); | 94 const HostPortPair& socks_proxy); |
95 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( | 95 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( |
96 SocketPoolType pool_type, | 96 SocketPoolType pool_type, |
97 const HostPortPair& http_proxy); | 97 const HostPortPair& http_proxy); |
98 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( | 98 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( |
99 SocketPoolType pool_type, | 99 SocketPoolType pool_type, |
100 const HostPortPair& proxy_server); | 100 const HostPortPair& proxy_server); |
101 | 101 |
102 CertVerifier* cert_verifier() { return cert_verifier_; } | 102 CertVerifier* cert_verifier() { return cert_verifier_; } |
103 ProxyService* proxy_service() { return proxy_service_; } | 103 ProxyService* proxy_service() { return proxy_service_; } |
104 SSLConfigService* ssl_config_service() { return ssl_config_service_; } | 104 SSLConfigService* ssl_config_service() { return ssl_config_service_.get(); } |
105 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; } | 105 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; } |
106 HttpAuthHandlerFactory* http_auth_handler_factory() { | 106 HttpAuthHandlerFactory* http_auth_handler_factory() { |
107 return http_auth_handler_factory_; | 107 return http_auth_handler_factory_; |
108 } | 108 } |
109 NetworkDelegate* network_delegate() { | 109 NetworkDelegate* network_delegate() { |
110 return network_delegate_; | 110 return network_delegate_; |
111 } | 111 } |
112 HttpServerProperties* http_server_properties() { | 112 HttpServerProperties* http_server_properties() { |
113 return http_server_properties_; | 113 return http_server_properties_; |
114 } | 114 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 SpdySessionPool spdy_session_pool_; | 165 SpdySessionPool spdy_session_pool_; |
166 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 166 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
167 std::set<HttpResponseBodyDrainer*> response_drainers_; | 167 std::set<HttpResponseBodyDrainer*> response_drainers_; |
168 | 168 |
169 Params params_; | 169 Params params_; |
170 }; | 170 }; |
171 | 171 |
172 } // namespace net | 172 } // namespace net |
173 | 173 |
174 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 174 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |