Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: net/http/http_network_transaction.h

Issue 1326503003: Added a net::BidirectionalStream to expose a bidirectional streaming interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Misha's comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void SetBeforeNetworkStartCallback( 83 void SetBeforeNetworkStartCallback(
84 const BeforeNetworkStartCallback& callback) override; 84 const BeforeNetworkStartCallback& callback) override;
85 void SetBeforeProxyHeadersSentCallback( 85 void SetBeforeProxyHeadersSentCallback(
86 const BeforeProxyHeadersSentCallback& callback) override; 86 const BeforeProxyHeadersSentCallback& callback) override;
87 int ResumeNetworkStart() override; 87 int ResumeNetworkStart() override;
88 88
89 // HttpStreamRequest::Delegate methods: 89 // HttpStreamRequest::Delegate methods:
90 void OnStreamReady(const SSLConfig& used_ssl_config, 90 void OnStreamReady(const SSLConfig& used_ssl_config,
91 const ProxyInfo& used_proxy_info, 91 const ProxyInfo& used_proxy_info,
92 HttpStream* stream) override; 92 HttpStream* stream) override;
93 void OnBidirectionalStreamJobReady(const SSLConfig& used_ssl_config,
94 const ProxyInfo& used_proxy_info,
95 BidirectionalStreamJob* stream) override;
93 void OnWebSocketHandshakeStreamReady( 96 void OnWebSocketHandshakeStreamReady(
94 const SSLConfig& used_ssl_config, 97 const SSLConfig& used_ssl_config,
95 const ProxyInfo& used_proxy_info, 98 const ProxyInfo& used_proxy_info,
96 WebSocketHandshakeStreamBase* stream) override; 99 WebSocketHandshakeStreamBase* stream) override;
97 void OnStreamFailed(int status, 100 void OnStreamFailed(int status,
98 const SSLConfig& used_ssl_config, 101 const SSLConfig& used_ssl_config,
99 SSLFailureState ssl_failure_state) override; 102 SSLFailureState ssl_failure_state) override;
100 void OnCertificateError(int status, 103 void OnCertificateError(int status,
101 const SSLConfig& used_ssl_config, 104 const SSLConfig& used_ssl_config,
102 const SSLInfo& ssl_info) override; 105 const SSLInfo& ssl_info) override;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // True when all QUIC alternative services are marked broken for the origin 367 // True when all QUIC alternative services are marked broken for the origin
365 // in this request which advertises supporting QUIC. 368 // in this request which advertises supporting QUIC.
366 bool quic_broken_; 369 bool quic_broken_;
367 370
368 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 371 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
369 }; 372 };
370 373
371 } // namespace net 374 } // namespace net
372 375
373 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 376 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698