| Index: net/spdy/spdy_stream.h
|
| diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
|
| index a7342a7a4cb64a40a981fb3343857a531bd28056..3d0804b257e566bd5297b926fb0ec13be00b3282 100644
|
| --- a/net/spdy/spdy_stream.h
|
| +++ b/net/spdy/spdy_stream.h
|
| @@ -253,6 +253,8 @@ class NET_EXPORT_PRIVATE SpdyStream
|
| // ChunkCallback methods.
|
| virtual void OnChunkAvailable() OVERRIDE;
|
|
|
| + int GetProtocolVersion() const;
|
| +
|
| private:
|
| enum State {
|
| STATE_NONE,
|
| @@ -298,6 +300,10 @@ class NET_EXPORT_PRIVATE SpdyStream
|
| // the MessageLoop to replay all the data that the server has already sent.
|
| void PushedStreamReplayData();
|
|
|
| + // Extracts the URL from the various fields in |headers|.
|
| + GURL GetUrlFromHeaderBlock(
|
| + const linked_ptr<spdy::SpdyHeaderBlock>& headers) const;
|
| +
|
| // There is a small period of time between when a server pushed stream is
|
| // first created, and the pushed data is replayed. Any data received during
|
| // this time should continue to be buffered.
|
|
|