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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 void SetBeforeNetworkStartCallback( | 78 void SetBeforeNetworkStartCallback( |
79 const BeforeNetworkStartCallback& callback) override; | 79 const BeforeNetworkStartCallback& callback) override; |
80 void SetBeforeProxyHeadersSentCallback( | 80 void SetBeforeProxyHeadersSentCallback( |
81 const BeforeProxyHeadersSentCallback& callback) override; | 81 const BeforeProxyHeadersSentCallback& callback) override; |
82 int ResumeNetworkStart() override; | 82 int ResumeNetworkStart() override; |
83 | 83 |
84 // HttpStreamRequest::Delegate methods: | 84 // HttpStreamRequest::Delegate methods: |
85 void OnStreamReady(const SSLConfig& used_ssl_config, | 85 void OnStreamReady(const SSLConfig& used_ssl_config, |
86 const ProxyInfo& used_proxy_info, | 86 const ProxyInfo& used_proxy_info, |
87 HttpStream* stream) override; | 87 HttpStream* stream) override; |
| 88 void OnBidirectionalStreamReady(const SSLConfig& used_ssl_config, |
| 89 const ProxyInfo& used_proxy_info, |
| 90 BidirectionalStream* stream) override; |
88 void OnWebSocketHandshakeStreamReady( | 91 void OnWebSocketHandshakeStreamReady( |
89 const SSLConfig& used_ssl_config, | 92 const SSLConfig& used_ssl_config, |
90 const ProxyInfo& used_proxy_info, | 93 const ProxyInfo& used_proxy_info, |
91 WebSocketHandshakeStreamBase* stream) override; | 94 WebSocketHandshakeStreamBase* stream) override; |
92 void OnStreamFailed(int status, | 95 void OnStreamFailed(int status, |
93 const SSLConfig& used_ssl_config, | 96 const SSLConfig& used_ssl_config, |
94 SSLFailureState ssl_failure_state) override; | 97 SSLFailureState ssl_failure_state) override; |
95 void OnCertificateError(int status, | 98 void OnCertificateError(int status, |
96 const SSLConfig& used_ssl_config, | 99 const SSLConfig& used_ssl_config, |
97 const SSLInfo& ssl_info) override; | 100 const SSLInfo& ssl_info) override; |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_; | 354 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_; |
352 | 355 |
353 ConnectionAttempts connection_attempts_; | 356 ConnectionAttempts connection_attempts_; |
354 | 357 |
355 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 358 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
356 }; | 359 }; |
357 | 360 |
358 } // namespace net | 361 } // namespace net |
359 | 362 |
360 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 363 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |