| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
| 16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
| 17 #include "net/base/request_priority.h" | 17 #include "net/base/request_priority.h" |
| 18 #include "net/http/bidirectional_stream_impl.h" | 18 #include "net/http/bidirectional_stream_impl.h" |
| 19 #include "net/http/http_auth.h" | 19 #include "net/http/http_auth.h" |
| 20 #include "net/http/http_auth_controller.h" | 20 #include "net/http/http_auth_controller.h" |
| 21 #include "net/http/http_request_info.h" | 21 #include "net/http/http_request_info.h" |
| 22 #include "net/http/http_stream_factory_impl.h" | 22 #include "net/http/http_stream_factory_impl.h" |
| 23 #include "net/log/net_log.h" | 23 #include "net/log/net_log_with_source.h" |
| 24 #include "net/proxy/proxy_server.h" | 24 #include "net/proxy/proxy_server.h" |
| 25 #include "net/proxy/proxy_service.h" | 25 #include "net/proxy/proxy_service.h" |
| 26 #include "net/quic/chromium/quic_stream_factory.h" | 26 #include "net/quic/chromium/quic_stream_factory.h" |
| 27 #include "net/socket/client_socket_handle.h" | 27 #include "net/socket/client_socket_handle.h" |
| 28 #include "net/socket/client_socket_pool_manager.h" | 28 #include "net/socket/client_socket_pool_manager.h" |
| 29 #include "net/socket/ssl_client_socket.h" | 29 #include "net/socket/ssl_client_socket.h" |
| 30 #include "net/spdy/spdy_session_key.h" | 30 #include "net/spdy/spdy_session_key.h" |
| 31 #include "net/ssl/ssl_config_service.h" | 31 #include "net/ssl/ssl_config_service.h" |
| 32 | 32 |
| 33 namespace net { | 33 namespace net { |
| 34 | 34 |
| 35 class ClientSocketHandle; | 35 class ClientSocketHandle; |
| 36 class HttpAuthController; | 36 class HttpAuthController; |
| 37 class HttpNetworkSession; | 37 class HttpNetworkSession; |
| 38 class HttpStream; | 38 class HttpStream; |
| 39 class SpdySessionPool; | 39 class SpdySessionPool; |
| 40 class NetLog; |
| 40 struct SSLConfig; | 41 struct SSLConfig; |
| 41 class QuicHttpStream; | 42 class QuicHttpStream; |
| 42 | 43 |
| 43 // An HttpStreamRequestImpl exists for each stream which is in progress of being | 44 // An HttpStreamRequestImpl exists for each stream which is in progress of being |
| 44 // created for the StreamFactory. | 45 // created for the StreamFactory. |
| 45 class HttpStreamFactoryImpl::Job { | 46 class HttpStreamFactoryImpl::Job { |
| 46 public: | 47 public: |
| 47 // Delegate to report Job's status to Request and HttpStreamFactory. | 48 // Delegate to report Job's status to Request and HttpStreamFactory. |
| 48 class NET_EXPORT_PRIVATE Delegate { | 49 class NET_EXPORT_PRIVATE Delegate { |
| 49 public: | 50 public: |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 const SSLConfig& server_ssl_config, | 521 const SSLConfig& server_ssl_config, |
| 521 const SSLConfig& proxy_ssl_config, | 522 const SSLConfig& proxy_ssl_config, |
| 522 HostPortPair destination, | 523 HostPortPair destination, |
| 523 GURL origin_url, | 524 GURL origin_url, |
| 524 NetLog* net_log) = 0; | 525 NetLog* net_log) = 0; |
| 525 }; | 526 }; |
| 526 | 527 |
| 527 } // namespace net | 528 } // namespace net |
| 528 | 529 |
| 529 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 530 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
| OLD | NEW |