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

Unified Diff: net/spdy/spdy_session.h

Issue 2521573006: Server push cancellation: change the ownership of ServerPushDelegate to HttpNetworkSession. (Closed)
Patch Set: address comments Created 4 years, 1 month 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
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index b7066bc8c0bddf1112a68a314fe93506ab718317..c97461df62a7ec5f8d0675ea398cf58a72a27df9 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -301,6 +301,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
size_t session_max_recv_window_size,
size_t stream_max_recv_window_size,
TimeFunc time_func,
+ ServerPushDelegate* push_delegate,
ProxyDelegate* proxy_delegate,
NetLog* net_log);
@@ -327,10 +328,6 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
base::WeakPtr<SpdyStream>* spdy_stream,
const NetLogWithSource& stream_net_log);
- void set_push_delegate(ServerPushDelegate* push_delegate) {
- push_delegate_ = push_delegate;
- }
-
// 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);

Powered by Google App Engine
This is Rietveld 408576698