| 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 <string> | 10 #include <string> |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void SetBeforeNetworkStartCallback( | 81 void SetBeforeNetworkStartCallback( |
| 82 const BeforeNetworkStartCallback& callback) override; | 82 const BeforeNetworkStartCallback& callback) override; |
| 83 void SetBeforeProxyHeadersSentCallback( | 83 void SetBeforeProxyHeadersSentCallback( |
| 84 const BeforeProxyHeadersSentCallback& callback) override; | 84 const BeforeProxyHeadersSentCallback& callback) override; |
| 85 int ResumeNetworkStart() override; | 85 int ResumeNetworkStart() override; |
| 86 | 86 |
| 87 // HttpStreamRequest::Delegate methods: | 87 // HttpStreamRequest::Delegate methods: |
| 88 void OnStreamReady(const SSLConfig& used_ssl_config, | 88 void OnStreamReady(const SSLConfig& used_ssl_config, |
| 89 const ProxyInfo& used_proxy_info, | 89 const ProxyInfo& used_proxy_info, |
| 90 HttpStream* stream) override; | 90 HttpStream* stream) override; |
| 91 void OnBidirectionalStreamJobReady(const SSLConfig& used_ssl_config, |
| 92 const ProxyInfo& used_proxy_info, |
| 93 BidirectionalStreamJob* stream) override; |
| 91 void OnWebSocketHandshakeStreamReady( | 94 void OnWebSocketHandshakeStreamReady( |
| 92 const SSLConfig& used_ssl_config, | 95 const SSLConfig& used_ssl_config, |
| 93 const ProxyInfo& used_proxy_info, | 96 const ProxyInfo& used_proxy_info, |
| 94 WebSocketHandshakeStreamBase* stream) override; | 97 WebSocketHandshakeStreamBase* stream) override; |
| 95 void OnStreamFailed(int status, | 98 void OnStreamFailed(int status, |
| 96 const SSLConfig& used_ssl_config, | 99 const SSLConfig& used_ssl_config, |
| 97 SSLFailureState ssl_failure_state) override; | 100 SSLFailureState ssl_failure_state) override; |
| 98 void OnCertificateError(int status, | 101 void OnCertificateError(int status, |
| 99 const SSLConfig& used_ssl_config, | 102 const SSLConfig& used_ssl_config, |
| 100 const SSLInfo& ssl_info) override; | 103 const SSLInfo& ssl_info) override; |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 | 360 |
| 358 ConnectionAttempts connection_attempts_; | 361 ConnectionAttempts connection_attempts_; |
| 359 IPEndPoint remote_endpoint_; | 362 IPEndPoint remote_endpoint_; |
| 360 | 363 |
| 361 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 364 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 362 }; | 365 }; |
| 363 | 366 |
| 364 } // namespace net | 367 } // namespace net |
| 365 | 368 |
| 366 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 369 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |