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

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: Created 5 years, 2 months 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698