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

Unified Diff: net/quic/quic_spdy_session.h

Issue 1877703002: Landing Recent QUIC changes until 4/8/2016 17:17 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git sync Created 4 years, 8 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_session.cc ('k') | net/quic/quic_spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/quic/quic_session.cc ('k') | net/quic/quic_spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698