Chromium Code Reviews| Index: net/http/bidirectional_stream.h |
| diff --git a/net/http/bidirectional_stream.h b/net/http/bidirectional_stream.h |
| index cc54b0d97478a0d393ba5ddcb36222a47efaf136..db655fb9f59490d1057545bced6730278ea214cd 100644 |
| --- a/net/http/bidirectional_stream.h |
| +++ b/net/http/bidirectional_stream.h |
| @@ -81,8 +81,8 @@ class NET_EXPORT BidirectionalStream |
| // EOF has not been received, or to send data if there is no pending send. |
| virtual void OnTrailersReceived(const SpdyHeaderBlock& trailers) = 0; |
| - // Called when the stream is closed or an error occurred. |
| - // No other delegate functions will be called after this. |
| + // Called when an error occurred. Do not call into the stream after this |
| + // point. |
|
kapishnikov
2016/06/01 22:09:49
I think it is important to keep the contract that
xunjieli
2016/06/01 23:08:22
Done.
|
| virtual void OnFailed(int error) = 0; |
| protected: |