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

Unified Diff: net/quic/quic_client_session_base.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 | « no previous file | net/quic/quic_client_session_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session_base.h
diff --git a/net/quic/quic_client_session_base.h b/net/quic/quic_client_session_base.h
index ba7be853a9b367ba908a444c7379fa23361accec..ae65ab01aa48d42b8f9e4fa3392c81ba330d9a37 100644
--- a/net/quic/quic_client_session_base.h
+++ b/net/quic/quic_client_session_base.h
@@ -33,7 +33,21 @@ class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession {
// Override base class to set FEC policy before any data is sent by client.
void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
+ // Called by |headers_stream_| when push promise headers have been
+ // received for a stream.
+ void OnPromiseHeaders(QuicStreamId stream_id,
+ StringPiece headers_data) override;
+
+ // Called by |headers_stream_| when push promise headers have been
+ // completely received. |fin| will be true if the fin flag was set
+ // in the headers.
+ void OnPromiseHeadersComplete(QuicStreamId stream_id,
+ QuicStreamId promised_stream_id,
+ size_t frame_len) override;
+
private:
+ QuicStreamId largest_promised_stream_id_;
+
DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase);
};
« no previous file with comments | « no previous file | net/quic/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698