Index: net/quic/quic_spdy_session.h |
diff --git a/net/quic/quic_spdy_session.h b/net/quic/quic_spdy_session.h |
index d660af71a192898b149e5d099ceb360c97ee8cdb..246a6defb822f8460195608a8b5974a327b885e7 100644 |
--- a/net/quic/quic_spdy_session.h |
+++ b/net/quic/quic_spdy_session.h |
@@ -42,6 +42,18 @@ class NET_EXPORT_PRIVATE QuicSpdySession : public QuicSession { |
bool fin, |
size_t frame_len); |
+ // Called by |headers_stream_| when push promise headers have been |
+ // received for a stream. |
+ virtual void OnPromiseHeaders(QuicStreamId stream_id, |
+ StringPiece headers_data); |
+ |
+ // 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 OnPromiseHeadersComplete(QuicStreamId stream_id, |
+ QuicStreamId promised_stream_id, |
+ size_t frame_len); |
+ |
// 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 |