| Index: net/spdy/spdy_stream.h
|
| diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
|
| index 431d26d17b917d97221d496dc6f4b8581fe44bcf..3a4a283fd97e7c55144b6e4852852307bee63d71 100644
|
| --- a/net/spdy/spdy_stream.h
|
| +++ b/net/spdy/spdy_stream.h
|
| @@ -301,9 +301,7 @@ class NET_EXPORT_PRIVATE SpdyStream {
|
|
|
| // Called by the SpdySession when a frame carrying request headers opening a
|
| // push stream is received. Stream transits to STATE_RESERVED_REMOTE state.
|
| - // Returns a status code; if it is an error, the stream was closed by this
|
| - // function.
|
| - int OnPushPromiseHeadersReceived(const SpdyHeaderBlock& headers);
|
| + void OnPushPromiseHeadersReceived(const SpdyHeaderBlock& headers);
|
|
|
| // Called by the SpdySession when response data has been received
|
| // for this stream. This callback may be called multiple times as
|
| @@ -406,6 +404,11 @@ class NET_EXPORT_PRIVATE SpdyStream {
|
| // response headers are complete, and it is not in a half-closed state.
|
| bool IsOpen() const;
|
|
|
| + // Returns whether the stream is reserved by remote endpoint: server has sent
|
| + // intended request headers for a pushed stream, but haven't started response
|
| + // yet.
|
| + bool IsReservedRemote() const;
|
| +
|
| // Returns the protocol used by this stream. Always between
|
| // kProtoSPDYMinimumVersion and kProtoSPDYMaximumVersion.
|
| NextProto GetProtocol() const;
|
|
|