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

Unified Diff: net/quic/quic_headers_stream.h

Issue 1570343005: relnote: Implement server push methods in QuicSimpleServerSession. Only modify toy Quic server, not… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044_CL_111708360
Patch Set: rebase to chain after fix 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_connection.h ('k') | net/quic/quic_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_headers_stream.h
diff --git a/net/quic/quic_headers_stream.h b/net/quic/quic_headers_stream.h
index bee753d5a3f6d64852b424495c6fb559b2e4f4af..daaa6dc75da3414abdde8fb6f9a71a993c7a50bf 100644
--- a/net/quic/quic_headers_stream.h
+++ b/net/quic/quic_headers_stream.h
@@ -30,7 +30,7 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
// Writes |headers| for |stream_id| in an HTTP/2 HEADERS frame to the peer.
// If |fin| is true, the fin flag will be set on the HEADERS frame. Returns
// the size, in bytes, of the resulting HEADERS frame.
- size_t WriteHeaders(QuicStreamId stream_id,
+ virtual size_t WriteHeaders(QuicStreamId stream_id,
const SpdyHeaderBlock& headers,
bool fin,
SpdyPriority priority,
@@ -39,7 +39,7 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
// Write |headers| for |promised_stream_id| on |original_stream_id| in a
// PUSH_PROMISE frame to peer.
// Return the size, in bytes, of the resulting PUSH_PROMISE frame.
- size_t WritePushPromise(QuicStreamId original_stream_id,
+ virtual size_t WritePushPromise(QuicStreamId original_stream_id,
QuicStreamId promised_stream_id,
const SpdyHeaderBlock& headers,
QuicAckListenerInterface* ack_listener);
« no previous file with comments | « net/quic/quic_connection.h ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698