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_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_ |
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
15 #include "net/base/load_states.h" | 15 #include "net/base/load_states.h" |
16 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 | 21 |
22 class AuthCredentials; | 22 class AuthCredentials; |
23 class BoundNetLog; | 23 class BoundNetLog; |
24 class HostMappingRules; | 24 class HostMappingRules; |
25 class HostPortPair; | 25 class HostPortPair; |
26 class HttpAuthController; | 26 class HttpAuthController; |
27 class HttpNetworkSession; | |
28 class HttpPipelinedHost; | |
29 class HttpResponseInfo; | 27 class HttpResponseInfo; |
30 class HttpServerProperties; | 28 class HttpServerProperties; |
31 class HttpStream; | 29 class HttpStream; |
32 class ProxyInfo; | 30 class ProxyInfo; |
33 class SSLCertRequestInfo; | 31 class SSLCertRequestInfo; |
34 class SSLInfo; | 32 class SSLInfo; |
35 class X509Certificate; | |
36 struct HttpRequestInfo; | 33 struct HttpRequestInfo; |
37 struct SSLConfig; | 34 struct SSLConfig; |
38 | 35 |
39 // The HttpStreamRequest is the client's handle to the worker object which | 36 // The HttpStreamRequest is the client's handle to the worker object which |
40 // handles the creation of an HttpStream. While the HttpStream is being | 37 // handles the creation of an HttpStream. While the HttpStream is being |
41 // created, this object is the creator's handle for interacting with the | 38 // created, this object is the creator's handle for interacting with the |
42 // HttpStream creation process. The request is cancelled by deleting it, after | 39 // HttpStream creation process. The request is cancelled by deleting it, after |
43 // which no callbacks will be invoked. | 40 // which no callbacks will be invoked. |
44 class NET_EXPORT_PRIVATE HttpStreamRequest { | 41 class NET_EXPORT_PRIVATE HttpStreamRequest { |
45 public: | 42 public: |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 static std::list<HostPortPair>* forced_spdy_exclusions_; | 258 static std::list<HostPortPair>* forced_spdy_exclusions_; |
262 static bool ignore_certificate_errors_; | 259 static bool ignore_certificate_errors_; |
263 static bool http_pipelining_enabled_; | 260 static bool http_pipelining_enabled_; |
264 | 261 |
265 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); | 262 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); |
266 }; | 263 }; |
267 | 264 |
268 } // namespace net | 265 } // namespace net |
269 | 266 |
270 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ | 267 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ |
OLD | NEW |