Index: net/quic/quic_spdy_session.h |
diff --git a/net/quic/quic_spdy_session.h b/net/quic/quic_spdy_session.h |
index 8db704918bfc8446ca523c487da8987c248da5f3..e63fc0868066bea09493ccb91b50fdeefaa00869 100644 |
--- a/net/quic/quic_spdy_session.h |
+++ b/net/quic/quic_spdy_session.h |
@@ -8,6 +8,7 @@ |
#include <stddef.h> |
#include "base/macros.h" |
+#include "net/quic/quic_header_list.h" |
#include "net/quic/quic_headers_stream.h" |
#include "net/quic/quic_session.h" |
#include "net/quic/quic_spdy_stream.h" |
@@ -42,6 +43,14 @@ class NET_EXPORT_PRIVATE QuicSpdySession : public QuicSession { |
bool fin, |
size_t frame_len); |
+ // Called by |headers_stream_| when headers have been completely received |
+ // for a stream. |fin| will be true if the fin flag was set in the headers |
+ // frame. |
+ virtual void OnStreamHeaderList(QuicStreamId stream_id, |
+ bool fin, |
+ size_t frame_len, |
+ const QuicHeaderList& header_list); |
+ |
// Called by |headers_stream_| when push promise headers have been |
// received for a stream. |
virtual void OnPromiseHeaders(QuicStreamId stream_id, |
@@ -54,6 +63,14 @@ class NET_EXPORT_PRIVATE QuicSpdySession : public QuicSession { |
QuicStreamId promised_stream_id, |
size_t frame_len); |
+ // 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. |
+ virtual void OnPromiseHeaderList(QuicStreamId stream_id, |
+ QuicStreamId promised_stream_id, |
+ size_t frame_len, |
+ const QuicHeaderList& header_list); |
+ |
// Writes |headers| for the stream |id| to the dedicated headers stream. |
// If |fin| is true, then no more data will be sent for the stream |id|. |
// If provided, |ack_notifier_delegate| will be registered to be notified when |
@@ -79,6 +96,8 @@ class NET_EXPORT_PRIVATE QuicSpdySession : public QuicSession { |
// list. |
void UpdateStreamPriority(QuicStreamId id, SpdyPriority new_priority); |
+ void OnConfigNegotiated() override; |
+ |
protected: |
// Override CreateIncomingDynamicStream() and CreateOutgoingDynamicStream() |
// with QuicSpdyStream return type to make sure that all data streams are |