Index: net/spdy/spdy_http_stream.h |
=================================================================== |
--- net/spdy/spdy_http_stream.h (revision 68959) |
+++ net/spdy/spdy_http_stream.h (working copy) |
@@ -31,10 +31,12 @@ |
// The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession. |
class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream { |
public: |
- // SpdyHttpStream constructor |
SpdyHttpStream(SpdySession* spdy_session, bool direct); |
virtual ~SpdyHttpStream(); |
+ // Initializes this SpdyHttpStream by wraping an existing SpdyStream. |
+ void InitializeWithExistingStream(SpdyStream* spdy_stream); |
+ |
SpdyStream* stream() { return stream_.get(); } |
// Cancels any callbacks from being invoked and deletes the stream. |