| 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_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "net/base/host_port_pair.h" | 17 #include "net/base/host_port_pair.h" |
| 18 #include "net/http/http_stream_factory.h" | 18 #include "net/http/http_stream_factory.h" |
| 19 #include "net/log/net_log.h" | |
| 20 #include "net/proxy/proxy_server.h" | 19 #include "net/proxy/proxy_server.h" |
| 21 #include "net/socket/ssl_client_socket.h" | 20 #include "net/socket/ssl_client_socket.h" |
| 22 #include "net/spdy/spdy_session_key.h" | 21 #include "net/spdy/spdy_session_key.h" |
| 23 | 22 |
| 24 namespace net { | 23 namespace net { |
| 25 | 24 |
| 26 class HttpNetworkSession; | 25 class HttpNetworkSession; |
| 27 class SpdySession; | 26 class SpdySession; |
| 27 class NetLogWithSource; |
| 28 | 28 |
| 29 class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory { | 29 class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory { |
| 30 public: | 30 public: |
| 31 class NET_EXPORT_PRIVATE Job; | 31 class NET_EXPORT_PRIVATE Job; |
| 32 class NET_EXPORT_PRIVATE JobController; | 32 class NET_EXPORT_PRIVATE JobController; |
| 33 class NET_EXPORT_PRIVATE JobFactory; | 33 class NET_EXPORT_PRIVATE JobFactory; |
| 34 class NET_EXPORT_PRIVATE Request; | 34 class NET_EXPORT_PRIVATE Request; |
| 35 // RequestStream may only be called if |for_websockets| is false. | 35 // RequestStream may only be called if |for_websockets| is false. |
| 36 // RequestWebSocketHandshakeStream may only be called if |for_websockets| | 36 // RequestWebSocketHandshakeStream may only be called if |for_websockets| |
| 37 // is true. | 37 // is true. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 SpdySessionRequestMap spdy_session_request_map_; | 147 SpdySessionRequestMap spdy_session_request_map_; |
| 148 | 148 |
| 149 const bool for_websockets_; | 149 const bool for_websockets_; |
| 150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace net | 153 } // namespace net |
| 154 | 154 |
| 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| OLD | NEW |