| 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;
|
|
|