Chromium Code Reviews| Index: net/spdy/spdy_session.h |
| diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
| index 0e0d08b80fc42af857c97763832f1a7e30fa4dcb..c7875cc83f4174a897d530ff6994afab58370b46 100644 |
| --- a/net/spdy/spdy_session.h |
| +++ b/net/spdy/spdy_session.h |
| @@ -812,6 +812,10 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
| // that |stream| may hold the last reference to the session. |
| void DeleteStream(std::unique_ptr<SpdyStream> stream, int status); |
| + // Returns the stream id of the push stream if it is not claimed yet. |
| + // Else return 0. |
|
Ryan Hamilton
2016/09/22 21:41:33
nit: // Returns the stream id of the push stream i
Zhongyi Shi
2016/09/22 22:57:06
Done.
|
| + SpdyStreamId GetStreamIdForPush(const GURL& url); |
| + |
| // Check if we have a pending pushed-stream for this url |
| // Returns the stream if found (and returns it from the pending |
| // list). Returns NULL otherwise. |