| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/logging.h" |
| 8 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 9 #include "net/base/ssl_client_auth_cache.h" | 10 #include "net/base/ssl_client_auth_cache.h" |
| 10 #include "net/base/ssl_config_service.h" | 11 #include "net/base/ssl_config_service.h" |
| 11 #include "net/base/tcp_client_socket_pool.h" | |
| 12 #include "net/http/http_auth_cache.h" | 12 #include "net/http/http_auth_cache.h" |
| 13 #include "net/socket/tcp_client_socket_pool.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 | 16 |
| 16 class ClientSocketFactory; | 17 class ClientSocketFactory; |
| 17 class HostResolver; | 18 class HostResolver; |
| 18 class ProxyService; | 19 class ProxyService; |
| 19 | 20 |
| 20 // This class holds session objects used by HttpNetworkTransaction objects. | 21 // This class holds session objects used by HttpNetworkTransaction objects. |
| 21 class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { | 22 class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { |
| 22 public: | 23 public: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 ProxyService* proxy_service_; | 56 ProxyService* proxy_service_; |
| 56 #if defined(OS_WIN) | 57 #if defined(OS_WIN) |
| 57 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X. | 58 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X. |
| 58 SSLConfigService ssl_config_service_; | 59 SSLConfigService ssl_config_service_; |
| 59 #endif | 60 #endif |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace net | 63 } // namespace net |
| 63 | 64 |
| 64 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 65 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |