Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index 0e0d08b80fc42af857c97763832f1a7e30fa4dcb..4bbda1b4673c848698a29146a2282401f771e182 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, or 0 |
+ // otherwise. |
+ 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. |