diff options
author | erikchen@google.com <erikchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 23:10:36 +0000 |
---|---|---|
committer | erikchen@google.com <erikchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 23:10:36 +0000 |
commit | 48599ca76c53dfeff62302135e7435f2ee3d1bee (patch) | |
tree | 3ee2083d62b50bd0a66eb72d48aea2fd90d048b9 /net/spdy/spdy_http_stream.h | |
parent | c774bfa1edf43f64b881f9e0061c6c179e0c5e63 (diff) | |
download | chromium_src-48599ca76c53dfeff62302135e7435f2ee3d1bee.zip chromium_src-48599ca76c53dfeff62302135e7435f2ee3d1bee.tar.gz chromium_src-48599ca76c53dfeff62302135e7435f2ee3d1bee.tar.bz2 |
cleaned up the way that streams close so that all of them use DeleteStream
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2764005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_http_stream.h')
-rw-r--r-- | net/spdy/spdy_http_stream.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h index d5131e8..11c00e0 100644 --- a/net/spdy/spdy_http_stream.h +++ b/net/spdy/spdy_http_stream.h @@ -48,10 +48,7 @@ class SpdyHttpStream : public SpdyStream { int ReadResponseBody( IOBuffer* buf, int buf_len, CompletionCallback* callback); - // Cancels the stream. Note that this does not immediately cause deletion of - // the stream. This function is used to cancel any callbacks from being - // invoked. TODO(willchan): It should also free up any memory associated with - // the stream, such as IOBuffers. + // Cancels any callbacks from being invoked and deletes the stream. void Cancel(); // Returns the number of bytes uploaded. |