| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_LAYER_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_LAYER_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_ | 6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/non_thread_safe.h" | 11 #include "base/non_thread_safe.h" |
| 12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "net/http/http_transaction_factory.h" | 14 #include "net/http/http_transaction_factory.h" |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 | 17 |
| 18 class ClientSocketFactory; | 18 class ClientSocketFactory; |
| 19 class HostResolver; | 19 class HostResolver; |
| 20 class HttpAuthHandlerFactory; | 20 class HttpAuthHandlerFactory; |
| 21 class HttpNetworkDelegate; | 21 class HttpNetworkDelegate; |
| 22 class HttpNetworkSession; | 22 class HttpNetworkSession; |
| 23 class NetLog; | 23 class NetLog; |
| 24 class ProxyInfo; | |
| 25 class ProxyService; | 24 class ProxyService; |
| 26 class SpdySessionPool; | 25 class SpdySessionPool; |
| 27 class SSLConfigService; | 26 class SSLConfigService; |
| 28 | 27 |
| 29 class HttpNetworkLayer : public HttpTransactionFactory, public NonThreadSafe { | 28 class HttpNetworkLayer : public HttpTransactionFactory, public NonThreadSafe { |
| 30 public: | 29 public: |
| 31 // |socket_factory|, |proxy_service| and |host_resolver| must remain valid for | 30 // |socket_factory|, |proxy_service| and |host_resolver| must remain valid for |
| 32 // the lifetime of HttpNetworkLayer. | 31 // the lifetime of HttpNetworkLayer. |
| 33 HttpNetworkLayer(ClientSocketFactory* socket_factory, | 32 HttpNetworkLayer(ClientSocketFactory* socket_factory, |
| 34 HostResolver* host_resolver, | 33 HostResolver* host_resolver, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 HttpAuthHandlerFactory* http_auth_handler_factory_; | 102 HttpAuthHandlerFactory* http_auth_handler_factory_; |
| 104 HttpNetworkDelegate* network_delegate_; | 103 HttpNetworkDelegate* network_delegate_; |
| 105 NetLog* net_log_; | 104 NetLog* net_log_; |
| 106 | 105 |
| 107 bool suspended_; | 106 bool suspended_; |
| 108 }; | 107 }; |
| 109 | 108 |
| 110 } // namespace net | 109 } // namespace net |
| 111 | 110 |
| 112 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_ | 111 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_ |
| OLD | NEW |