| 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..5e816a328e321f6bbb403c452c7e437e9cbaec68 100644
|
| --- a/net/quic/quartc/quartc_stream_interface.h
|
| +++ b/net/quic/quartc/quartc_stream_interface.h
|
| @@ -14,7 +14,7 @@ namespace net {
|
| // in-order. To send/receive data out of order, use separate streams. To
|
| // send/receive unreliably, close a stream after reliability is no longer
|
| // needed.
|
| -class QuartcStreamInterface {
|
| +class QUIC_EXPORT_PRIVATE QuartcStreamInterface {
|
| public:
|
| virtual ~QuartcStreamInterface() {}
|
|
|
| @@ -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;
|
|
|