OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "net/base/client_socket_pool.h" | 9 #include "net/base/client_socket_pool.h" |
10 #include "net/base/ssl_config_service.h" | 10 #include "net/base/ssl_config_service.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 HttpAuthCache* auth_cache() { return &auth_cache_; } | 31 HttpAuthCache* auth_cache() { return &auth_cache_; } |
32 ClientSocketPool* connection_pool() { return connection_pool_; } | 32 ClientSocketPool* connection_pool() { return connection_pool_; } |
33 ProxyService* proxy_service() { return proxy_service_; } | 33 ProxyService* proxy_service() { return proxy_service_; } |
34 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
35 SSLConfigService* ssl_config_service() { return &ssl_config_service_; } | 35 SSLConfigService* ssl_config_service() { return &ssl_config_service_; } |
36 #endif | 36 #endif |
37 | 37 |
38 private: | 38 private: |
39 HttpAuthCache auth_cache_; | 39 HttpAuthCache auth_cache_; |
40 scoped_refptr<ClientSocketPool> connection_pool_; | 40 scoped_refptr<ClientSocketPool> connection_pool_; |
41 ProxyService* proxy_service_; | 41 scoped_refptr<ProxyService> proxy_service_; |
42 #if defined(OS_WIN) | 42 #if defined(OS_WIN) |
43 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X. | 43 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X. |
44 SSLConfigService ssl_config_service_; | 44 SSLConfigService ssl_config_service_; |
45 #endif | 45 #endif |
46 }; | 46 }; |
47 | 47 |
48 } // namespace net | 48 } // namespace net |
49 | 49 |
50 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 50 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
51 | 51 |
OLD | NEW |