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

Unified Diff: net/quic/quartc/quartc_stream_interface.h

Issue 2916033003: Landing Recent QUIC changes until 03:18 AM, May 28, UTC (Closed)
Patch Set: Added Quartc test files that were missed earlier. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quartc/quartc_stream_interface.h
diff --git a/net/quic/quartc/quartc_stream_interface.h b/net/quic/quartc/quartc_stream_interface.h
index 25e928ec95cb103102d62415310c5708da367cd7..1777f58ba2b65255b38471798d472a913321af1f 100644
--- a/net/quic/quartc/quartc_stream_interface.h
+++ b/net/quic/quartc/quartc_stream_interface.h
@@ -28,6 +28,10 @@ class QuartcStreamInterface {
// determine if all the data has been sent
virtual bool fin_sent() = 0;
+ virtual int stream_error() = 0;
+
+ virtual int connection_error() = 0;
+
struct WriteParameters {
WriteParameters() : fin(false) {}
// |fin| is set to be true when there is no more data need to be send
@@ -61,7 +65,7 @@ class QuartcStreamInterface {
// endpoint.
// TODO(zhihuang) Creates a map from the integer error_code to WebRTC native
// error code.
- virtual void OnClose(QuartcStreamInterface* stream, int error_code) = 0;
+ virtual void OnClose(QuartcStreamInterface* stream) = 0;
// Called when buffered_amount() decreases.
virtual void OnBufferedAmountDecrease(QuartcStreamInterface* stream) = 0;

Powered by Google App Engine
This is Rietveld 408576698