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

Unified Diff: net/quic/quic_spdy_session.cc

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.h ('k') | net/quic/quic_spdy_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_session.cc
diff --git a/net/quic/quic_spdy_session.cc b/net/quic/quic_spdy_session.cc
index cdf27492d24241ee9545e99bcbe3469c52479753..fc420baf555ff67f4a27510e979bee752397367b 100644
--- a/net/quic/quic_spdy_session.cc
+++ b/net/quic/quic_spdy_session.cc
@@ -4,6 +4,7 @@
#include "net/quic/quic_spdy_session.h"
+#include "net/quic/quic_bug_tracker.h"
#include "net/quic/quic_headers_stream.h"
namespace net {
@@ -93,4 +94,17 @@ QuicSpdyStream* QuicSpdySession::GetSpdyDataStream(
return static_cast<QuicSpdyStream*>(GetOrCreateDynamicStream(stream_id));
}
+void QuicSpdySession::OnPromiseHeaders(QuicStreamId stream_id,
+ StringPiece headers_data) {
+ QUIC_BUG << "OnPromiseHeaders should be overriden in client code.";
+ connection()->CloseConnection(QUIC_INTERNAL_ERROR, false);
+}
+
+void QuicSpdySession::OnPromiseHeadersComplete(QuicStreamId stream_id,
+ QuicStreamId promised_stream_id,
+ size_t frame_len) {
+ QUIC_BUG << "OnPromiseHeadersComplete shoule be overriden in client code.";
+ connection()->CloseConnection(QUIC_INTERNAL_ERROR, false);
+}
+
} // namespace net
« no previous file with comments | « net/quic/quic_spdy_session.h ('k') | net/quic/quic_spdy_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698