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

Unified Diff: net/quic/core/quic_client_session_base.h

Issue 2456713002: Server push cancellation: add methods in session layer to cancel push given the pushed url. Not in … (Closed)
Patch Set: remove todo 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
Index: net/quic/core/quic_client_session_base.h
diff --git a/net/quic/core/quic_client_session_base.h b/net/quic/core/quic_client_session_base.h
index f73081f72aa54fb644d26c6639343b6bda89bf47..7b919a2b6cf72fef943b394ac6f66b4ee35e79ae 100644
--- a/net/quic/core/quic_client_session_base.h
+++ b/net/quic/core/quic_client_session_base.h
@@ -111,6 +111,9 @@ class NET_EXPORT_PRIVATE QuicClientSessionBase
// control accounting).
void ResetPromised(QuicStreamId id, QuicRstStreamErrorCode error_code);
+ // Cancels the push if the push stream is unclaimed and active.
+ virtual void CancelPush(const GURL& url);
Ryan Hamilton 2016/10/27 17:00:25 I don't think I understand why we need this method
Zhongyi Shi 2016/10/27 17:57:30 You are right. I don't need this anymore. I was th
+
// Release headers stream's sequencer buffer if it's empty.
void CloseStreamInner(QuicStreamId stream_id, bool locally_reset) override;

Powered by Google App Engine
This is Rietveld 408576698