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_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 | 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/strings/string16.h" | 13 #include "base/strings/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 #include "net/base/request_priority.h" | 17 #include "net/base/request_priority.h" |
18 #include "net/http/http_server_properties.h" | 18 #include "net/http/http_server_properties.h" |
19 #include "net/socket/connection_attempts.h" | 19 #include "net/socket/connection_attempts.h" |
20 // This file can be included from net/http even though | 20 // This file can be included from net/http even though |
21 // it is in net/websockets because it doesn't | 21 // it is in net/websockets because it doesn't |
22 // introduce any link dependency to net/websockets. | 22 // introduce any link dependency to net/websockets. |
23 #include "net/websockets/websocket_handshake_stream_base.h" | 23 #include "net/websockets/websocket_handshake_stream_base.h" |
24 | 24 |
25 class GURL; | |
26 | |
27 namespace base { | |
28 class Value; | |
29 } | |
30 | |
31 namespace net { | 25 namespace net { |
32 | 26 |
33 class AuthCredentials; | 27 class AuthCredentials; |
34 class BidirectionalStreamImpl; | 28 class BidirectionalStreamImpl; |
35 class HostMappingRules; | 29 class HostMappingRules; |
36 class HostPortPair; | |
37 class HttpAuthController; | 30 class HttpAuthController; |
38 class HttpNetworkSession; | 31 class HttpNetworkSession; |
39 class HttpResponseHeaders; | 32 class HttpResponseHeaders; |
40 class HttpResponseInfo; | 33 class HttpResponseInfo; |
41 class HttpServerProperties; | |
42 class HttpStream; | 34 class HttpStream; |
43 class NetLogWithSource; | 35 class NetLogWithSource; |
44 class ProxyInfo; | 36 class ProxyInfo; |
45 class SSLCertRequestInfo; | 37 class SSLCertRequestInfo; |
46 class SSLInfo; | 38 class SSLInfo; |
47 struct HttpRequestInfo; | 39 struct HttpRequestInfo; |
48 struct SSLConfig; | 40 struct SSLConfig; |
49 | 41 |
50 // The HttpStreamRequest is the client's handle to the worker object which | 42 // The HttpStreamRequest is the client's handle to the worker object which |
51 // handles the creation of an HttpStream. While the HttpStream is being | 43 // handles the creation of an HttpStream. While the HttpStream is being |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 240 |
249 private: | 241 private: |
250 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server); | 242 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server); |
251 | 243 |
252 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); | 244 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); |
253 }; | 245 }; |
254 | 246 |
255 } // namespace net | 247 } // namespace net |
256 | 248 |
257 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ | 249 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ |
OLD | NEW |