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_NETWORK_TRANSACTION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "net/http/http_transaction.h" | 23 #include "net/http/http_transaction.h" |
24 #include "net/proxy/proxy_service.h" | 24 #include "net/proxy/proxy_service.h" |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 | 27 |
28 class HttpAuthController; | 28 class HttpAuthController; |
29 class HttpNetworkSession; | 29 class HttpNetworkSession; |
30 class HttpStream; | 30 class HttpStream; |
31 class HttpStreamRequest; | 31 class HttpStreamRequest; |
32 class IOBuffer; | 32 class IOBuffer; |
| 33 class UploadDataStream; |
33 struct HttpRequestInfo; | 34 struct HttpRequestInfo; |
34 | 35 |
35 class NET_EXPORT_PRIVATE HttpNetworkTransaction | 36 class NET_EXPORT_PRIVATE HttpNetworkTransaction |
36 : public HttpTransaction, | 37 : public HttpTransaction, |
37 public HttpStreamRequest::Delegate { | 38 public HttpStreamRequest::Delegate { |
38 public: | 39 public: |
39 explicit HttpNetworkTransaction(HttpNetworkSession* session); | 40 explicit HttpNetworkTransaction(HttpNetworkSession* session); |
40 | 41 |
41 virtual ~HttpNetworkTransaction(); | 42 virtual ~HttpNetworkTransaction(); |
42 | 43 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // True when the tunnel is in the process of being established - we can't | 271 // True when the tunnel is in the process of being established - we can't |
271 // read from the socket until the tunnel is done. | 272 // read from the socket until the tunnel is done. |
272 bool establishing_tunnel_; | 273 bool establishing_tunnel_; |
273 | 274 |
274 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 275 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
275 }; | 276 }; |
276 | 277 |
277 } // namespace net | 278 } // namespace net |
278 | 279 |
279 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 280 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |