Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: net/spdy/spdy_session.h

Issue 2346383003: Deprecated: Server Push Cancellation: add a interface PushPromiseHelper
Patch Set: Implemente PushPromiseHelper::Cancel() Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/push_promise_helper.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index fcd2badc18e92c9e04519d1a2d60b7d5f84c6e06..ab92e22ef1eb2a59f68f0541cdec40313627f047 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -326,6 +326,10 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
base::WeakPtr<SpdyStream>* spdy_stream,
const NetLogWithSource& stream_net_log);
+ // Called when the pushed stream should be cancelled. If the pushed stream is
+ // not claimed and active, sends RST to the server to cancel the stream.
+ void CancelPush(const GURL& url);
+
// Initialize the session with the given connection. |is_secure|
// must indicate whether |connection| uses an SSL socket or not; it
// is usually true, but it can be false for testing or when SPDY is
@@ -677,10 +681,6 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
SpdyPriority priority,
SpdyHeaderBlock headers);
- // Called when the pushed stream should be cancelled. If the pushed stream is
- // not claimed and active, sends RST to the server to cancel the stream.
- void CancelPush(const GURL& url);
-
// Close the stream pointed to by the given iterator. Note that that
// stream may hold the last reference to the session.
void CloseActiveStreamIterator(ActiveStreamMap::iterator it, int status);
« no previous file with comments | « net/spdy/push_promise_helper.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698