OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_STREAM_FACTORY_IMPL_JOB_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
12 #include "net/base/net_log.h" | 12 #include "net/base/net_log.h" |
13 #include "net/base/ssl_config_service.h" | 13 #include "net/base/ssl_config_service.h" |
14 #include "net/http/http_auth.h" | 14 #include "net/http/http_auth.h" |
15 #include "net/http/http_auth_controller.h" | 15 #include "net/http/http_auth_controller.h" |
16 #include "net/http/http_request_info.h" | 16 #include "net/http/http_request_info.h" |
17 #include "net/http/http_stream_factory_impl.h" | 17 #include "net/http/http_stream_factory_impl.h" |
18 #include "net/proxy/proxy_service.h" | 18 #include "net/proxy/proxy_service.h" |
19 #include "net/socket/client_socket_handle.h" | 19 #include "net/socket/client_socket_handle.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class ClientSocketHandle; | 23 class ClientSocketHandle; |
24 class HttpAuthController; | 24 class HttpAuthController; |
25 class HttpNetworkSession; | 25 class HttpNetworkSession; |
26 class HttpStream; | 26 class HttpStream; |
27 class TransportSocketParams; | |
28 | 27 |
29 // An HttpStreamRequestImpl exists for each stream which is in progress of being | 28 // An HttpStreamRequestImpl exists for each stream which is in progress of being |
30 // created for the StreamFactory. | 29 // created for the StreamFactory. |
31 class HttpStreamFactoryImpl::Job { | 30 class HttpStreamFactoryImpl::Job { |
32 public: | 31 public: |
33 Job(HttpStreamFactoryImpl* stream_factory, | 32 Job(HttpStreamFactoryImpl* stream_factory, |
34 HttpNetworkSession* session, | 33 HttpNetworkSession* session, |
35 const HttpRequestInfo& request_info, | 34 const HttpRequestInfo& request_info, |
36 const SSLConfig& server_ssl_config, | 35 const SSLConfig& server_ssl_config, |
37 const SSLConfig& proxy_ssl_config, | 36 const SSLConfig& proxy_ssl_config, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 bool existing_available_pipeline_; | 275 bool existing_available_pipeline_; |
277 | 276 |
278 base::WeakPtrFactory<Job> ptr_factory_; | 277 base::WeakPtrFactory<Job> ptr_factory_; |
279 | 278 |
280 DISALLOW_COPY_AND_ASSIGN(Job); | 279 DISALLOW_COPY_AND_ASSIGN(Job); |
281 }; | 280 }; |
282 | 281 |
283 } // namespace net | 282 } // namespace net |
284 | 283 |
285 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 284 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |