Chromium Code Reviews| Index: net/spdy/spdy_stream.cc |
| diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc |
| index 44d12432afc1cc7d3a4bf8840c911d35c23d7e11..2968ef9385373115d5bbc42282a019acb9e00f27 100644 |
| --- a/net/spdy/spdy_stream.cc |
| +++ b/net/spdy/spdy_stream.cc |
| @@ -359,6 +359,10 @@ void SpdyStream::OnClose(int status) { |
| delegate->OnClose(status); |
| } |
| +void SpdyStream::Close() { |
| + session_->CloseStream(stream_id_, OK); |
| +} |
| + |
| void SpdyStream::Cancel() { |
| if (cancelled()) |
| return; |