| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config, | 80 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config, |
| 81 SSLCertRequestInfo* cert_info) OVERRIDE; | 81 SSLCertRequestInfo* cert_info) OVERRIDE; |
| 82 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, | 82 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, |
| 83 const SSLConfig& used_ssl_config, | 83 const SSLConfig& used_ssl_config, |
| 84 const ProxyInfo& used_proxy_info, | 84 const ProxyInfo& used_proxy_info, |
| 85 HttpStream* stream) OVERRIDE; | 85 HttpStream* stream) OVERRIDE; |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test, | 88 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test, |
| 89 ResetStateForRestart); | 89 ResetStateForRestart); |
| 90 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy21Test, | |
| 91 ResetStateForRestart); | |
| 92 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy3Test, | 90 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy3Test, |
| 93 ResetStateForRestart); | 91 ResetStateForRestart); |
| 94 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, | 92 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, |
| 95 WindowUpdateReceived); | 93 WindowUpdateReceived); |
| 96 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, | 94 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, |
| 97 WindowUpdateSent); | 95 WindowUpdateSent); |
| 98 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, | 96 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, |
| 99 WindowUpdateOverflow); | 97 WindowUpdateOverflow); |
| 100 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, | 98 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, |
| 101 FlowControlStallResume); | 99 FlowControlStallResume); |
| 102 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test, | |
| 103 WindowUpdateReceived); | |
| 104 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test, | |
| 105 WindowUpdateSent); | |
| 106 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test, | |
| 107 WindowUpdateOverflow); | |
| 108 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test, | |
| 109 FlowControlStallResume); | |
| 110 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, | 100 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, |
| 111 WindowUpdateReceived); | 101 WindowUpdateReceived); |
| 112 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, | 102 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, |
| 113 WindowUpdateSent); | 103 WindowUpdateSent); |
| 114 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, | 104 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, |
| 115 WindowUpdateOverflow); | 105 WindowUpdateOverflow); |
| 116 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, | 106 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, |
| 117 FlowControlStallResume); | 107 FlowControlStallResume); |
| 118 | 108 |
| 119 enum State { | 109 enum State { |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // True when the tunnel is in the process of being established - we can't | 290 // True when the tunnel is in the process of being established - we can't |
| 301 // read from the socket until the tunnel is done. | 291 // read from the socket until the tunnel is done. |
| 302 bool establishing_tunnel_; | 292 bool establishing_tunnel_; |
| 303 | 293 |
| 304 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 294 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 305 }; | 295 }; |
| 306 | 296 |
| 307 } // namespace net | 297 } // namespace net |
| 308 | 298 |
| 309 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 299 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |