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 "base/optional.h" | 12 #include "base/optional.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/http/http_stream_factory_impl.h" | 14 #include "net/http/http_stream_factory_impl.h" |
15 #include "net/log/net_log_with_source.h" | 15 #include "net/log/net_log_with_source.h" |
16 #include "net/socket/connection_attempts.h" | 16 #include "net/socket/connection_attempts.h" |
17 #include "net/socket/ssl_client_socket.h" | 17 #include "net/socket/ssl_client_socket.h" |
18 #include "net/spdy/spdy_session_key.h" | 18 #include "net/spdy/chromium/spdy_session_key.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class BidirectionalStreamImpl; | 23 class BidirectionalStreamImpl; |
24 class HttpStream; | 24 class HttpStream; |
25 | 25 |
26 class HttpStreamFactoryImpl::Request : public HttpStreamRequest { | 26 class HttpStreamFactoryImpl::Request : public HttpStreamRequest { |
27 public: | 27 public: |
28 class NET_EXPORT_PRIVATE Helper { | 28 class NET_EXPORT_PRIVATE Helper { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 bool using_spdy_; | 147 bool using_spdy_; |
148 ConnectionAttempts connection_attempts_; | 148 ConnectionAttempts connection_attempts_; |
149 | 149 |
150 const HttpStreamRequest::StreamType stream_type_; | 150 const HttpStreamRequest::StreamType stream_type_; |
151 DISALLOW_COPY_AND_ASSIGN(Request); | 151 DISALLOW_COPY_AND_ASSIGN(Request); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace net | 154 } // namespace net |
155 | 155 |
156 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 156 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
OLD | NEW |