OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BIDIRECTIONAL_STREAM_H_ | 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_ | 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 const ProxyInfo& used_proxy_info, | 192 const ProxyInfo& used_proxy_info, |
193 HttpStream* stream) override; | 193 HttpStream* stream) override; |
194 void OnBidirectionalStreamImplReady( | 194 void OnBidirectionalStreamImplReady( |
195 const SSLConfig& used_ssl_config, | 195 const SSLConfig& used_ssl_config, |
196 const ProxyInfo& used_proxy_info, | 196 const ProxyInfo& used_proxy_info, |
197 BidirectionalStreamImpl* stream_impl) override; | 197 BidirectionalStreamImpl* stream_impl) override; |
198 void OnWebSocketHandshakeStreamReady( | 198 void OnWebSocketHandshakeStreamReady( |
199 const SSLConfig& used_ssl_config, | 199 const SSLConfig& used_ssl_config, |
200 const ProxyInfo& used_proxy_info, | 200 const ProxyInfo& used_proxy_info, |
201 WebSocketHandshakeStreamBase* stream) override; | 201 WebSocketHandshakeStreamBase* stream) override; |
202 void OnStreamFailed(int status, | 202 void OnStreamFailed(int status, const SSLConfig& used_ssl_config) override; |
203 const SSLConfig& used_ssl_config, | |
204 SSLFailureState ssl_failure_state) override; | |
205 void OnCertificateError(int status, | 203 void OnCertificateError(int status, |
206 const SSLConfig& used_ssl_config, | 204 const SSLConfig& used_ssl_config, |
207 const SSLInfo& ssl_info) override; | 205 const SSLInfo& ssl_info) override; |
208 void OnNeedsProxyAuth(const HttpResponseInfo& response_info, | 206 void OnNeedsProxyAuth(const HttpResponseInfo& response_info, |
209 const SSLConfig& used_ssl_config, | 207 const SSLConfig& used_ssl_config, |
210 const ProxyInfo& used_proxy_info, | 208 const ProxyInfo& used_proxy_info, |
211 HttpAuthController* auth_controller) override; | 209 HttpAuthController* auth_controller) override; |
212 void OnNeedsClientAuth(const SSLConfig& used_ssl_config, | 210 void OnNeedsClientAuth(const SSLConfig& used_ssl_config, |
213 SSLCertRequestInfo* cert_info) override; | 211 SSLCertRequestInfo* cert_info) override; |
214 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, | 212 void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 std::vector<int> write_buffer_len_list_; | 249 std::vector<int> write_buffer_len_list_; |
252 | 250 |
253 base::WeakPtrFactory<BidirectionalStream> weak_factory_; | 251 base::WeakPtrFactory<BidirectionalStream> weak_factory_; |
254 | 252 |
255 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream); | 253 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream); |
256 }; | 254 }; |
257 | 255 |
258 } // namespace net | 256 } // namespace net |
259 | 257 |
260 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_ | 258 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
OLD | NEW |