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 HttpPipelinedConnection; | |
27 class HttpProxySocketParams; | |
28 class HttpStream; | 26 class HttpStream; |
29 class SOCKSSocketParams; | |
30 class SSLSocketParams; | |
31 class TransportSocketParams; | 27 class TransportSocketParams; |
32 | 28 |
33 // An HttpStreamRequestImpl exists for each stream which is in progress of being | 29 // An HttpStreamRequestImpl exists for each stream which is in progress of being |
34 // created for the StreamFactory. | 30 // created for the StreamFactory. |
35 class HttpStreamFactoryImpl::Job { | 31 class HttpStreamFactoryImpl::Job { |
36 public: | 32 public: |
37 Job(HttpStreamFactoryImpl* stream_factory, | 33 Job(HttpStreamFactoryImpl* stream_factory, |
38 HttpNetworkSession* session, | 34 HttpNetworkSession* session, |
39 const HttpRequestInfo& request_info, | 35 const HttpRequestInfo& request_info, |
40 const SSLConfig& server_ssl_config, | 36 const SSLConfig& server_ssl_config, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 bool existing_available_pipeline_; | 276 bool existing_available_pipeline_; |
281 | 277 |
282 base::WeakPtrFactory<Job> ptr_factory_; | 278 base::WeakPtrFactory<Job> ptr_factory_; |
283 | 279 |
284 DISALLOW_COPY_AND_ASSIGN(Job); | 280 DISALLOW_COPY_AND_ASSIGN(Job); |
285 }; | 281 }; |
286 | 282 |
287 } // namespace net | 283 } // namespace net |
288 | 284 |
289 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 285 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |