| 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_REQUEST_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 13 #include "net/http/http_stream_factory_impl.h" | 13 #include "net/http/http_stream_factory_impl.h" |
| 14 #include "net/log/net_log_with_source.h" | 14 #include "net/log/net_log_with_source.h" |
| 15 #include "net/socket/connection_attempts.h" | 15 #include "net/socket/connection_attempts.h" |
| 16 #include "net/socket/ssl_client_socket.h" | 16 #include "net/socket/ssl_client_socket.h" |
| 17 #include "net/spdy/spdy_session_key.h" | 17 #include "net/spdy/spdy_session_key.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 class BidirectionalStreamImpl; | 22 class BidirectionalStreamImpl; |
| 23 class ClientSocketHandle; | |
| 24 class HttpStream; | 23 class HttpStream; |
| 25 class SpdySession; | |
| 26 | 24 |
| 27 class HttpStreamFactoryImpl::Request : public HttpStreamRequest { | 25 class HttpStreamFactoryImpl::Request : public HttpStreamRequest { |
| 28 public: | 26 public: |
| 29 class NET_EXPORT_PRIVATE Helper { | 27 class NET_EXPORT_PRIVATE Helper { |
| 30 public: | 28 public: |
| 31 virtual ~Helper() {} | 29 virtual ~Helper() {} |
| 32 | 30 |
| 33 // Returns the LoadState for Request. | 31 // Returns the LoadState for Request. |
| 34 virtual LoadState GetLoadState() const = 0; | 32 virtual LoadState GetLoadState() const = 0; |
| 35 | 33 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 bool using_spdy_; | 146 bool using_spdy_; |
| 149 ConnectionAttempts connection_attempts_; | 147 ConnectionAttempts connection_attempts_; |
| 150 | 148 |
| 151 const HttpStreamRequest::StreamType stream_type_; | 149 const HttpStreamRequest::StreamType stream_type_; |
| 152 DISALLOW_COPY_AND_ASSIGN(Request); | 150 DISALLOW_COPY_AND_ASSIGN(Request); |
| 153 }; | 151 }; |
| 154 | 152 |
| 155 } // namespace net | 153 } // namespace net |
| 156 | 154 |
| 157 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
| OLD | NEW |