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

Unified Diff: net/quic/quic_spdy_stream.h

Issue 1572013002: relnote: QUIC header streams support to receive PUSH_PROMISE. Protected by --quic_supports_push_pr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14_CL_111507546
Patch Set: Created 4 years, 11 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/quic/quic_spdy_session.cc ('k') | net/quic/quic_spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_stream.h
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h
index d49d650e9c82a9a6bdcdfbdb5312d0f3a1ced563..4600f5e2edb17e56d34ea0d5cbe0e3cbdb28f703 100644
--- a/net/quic/quic_spdy_stream.h
+++ b/net/quic/quic_spdy_stream.h
@@ -88,6 +88,17 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// should be closed; no more data will be sent by the peer.
virtual void OnStreamHeadersComplete(bool fin, size_t frame_len);
+ // Called by the session when decompressed PUSH_PROMISE headers data
+ // is received for this stream.
+ // May be called multiple times, with each call providing additional headers
+ // data until OnPromiseHeadersComplete is called.
+ virtual void OnPromiseHeaders(StringPiece headers_data);
+
+ // Called by the session when decompressed push promise headers have
+ // been completely delivered to this stream.
+ virtual void OnPromiseHeadersComplete(QuicStreamId promised_id,
+ size_t frame_len);
+
// Override the base class to not discard response when receiving
// QUIC_STREAM_NO_ERROR on QUIC_VERSION_29 and later versions.
void OnStreamReset(const QuicRstStreamFrame& frame) override;
« no previous file with comments | « net/quic/quic_spdy_session.cc ('k') | net/quic/quic_spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698