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_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 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "net/ssl/ssl_config_service.h" | 31 #include "net/ssl/ssl_config_service.h" |
32 #include "net/websockets/websocket_handshake_stream_base.h" | 32 #include "net/websockets/websocket_handshake_stream_base.h" |
33 | 33 |
34 namespace crypto { | 34 namespace crypto { |
35 class ECPrivateKey; | 35 class ECPrivateKey; |
36 } | 36 } |
37 | 37 |
38 namespace net { | 38 namespace net { |
39 | 39 |
40 class BidirectionalStreamImpl; | 40 class BidirectionalStreamImpl; |
41 class ClientSocketHandle; | |
42 class HttpAuthController; | 41 class HttpAuthController; |
43 class HttpNetworkSession; | 42 class HttpNetworkSession; |
44 class HttpStream; | 43 class HttpStream; |
45 class HttpStreamRequest; | 44 class HttpStreamRequest; |
46 class IOBuffer; | 45 class IOBuffer; |
47 class ProxyInfo; | 46 class ProxyInfo; |
48 class SpdySession; | |
49 class SSLPrivateKey; | 47 class SSLPrivateKey; |
50 struct HttpRequestInfo; | 48 struct HttpRequestInfo; |
51 | 49 |
52 class NET_EXPORT_PRIVATE HttpNetworkTransaction | 50 class NET_EXPORT_PRIVATE HttpNetworkTransaction |
53 : public HttpTransaction, | 51 : public HttpTransaction, |
54 public HttpStreamRequest::Delegate, | 52 public HttpStreamRequest::Delegate, |
55 public NetworkThrottleManager::ThrottleDelegate { | 53 public NetworkThrottleManager::ThrottleDelegate { |
56 public: | 54 public: |
57 HttpNetworkTransaction(RequestPriority priority, | 55 HttpNetworkTransaction(RequestPriority priority, |
58 HttpNetworkSession* session); | 56 HttpNetworkSession* session); |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 // Communicate lifetime of transaction to the throttler, and | 385 // Communicate lifetime of transaction to the throttler, and |
388 // throttled state to the transaction. | 386 // throttled state to the transaction. |
389 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; | 387 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; |
390 | 388 |
391 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 389 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
392 }; | 390 }; |
393 | 391 |
394 } // namespace net | 392 } // namespace net |
395 | 393 |
396 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 394 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |