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

Unified Diff: net/quic/test_tools/quic_test_packet_maker.h

Issue 2107353003: QUIC - expand server push test coverage and fix recent regression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: QUIC - expand server push test coverage and fix recent regression. Created 4 years, 6 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_network_transaction_unittest.cc ('k') | net/quic/test_tools/quic_test_packet_maker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_test_packet_maker.h
diff --git a/net/quic/test_tools/quic_test_packet_maker.h b/net/quic/test_tools/quic_test_packet_maker.h
index f636d39e090d478025bd758ee42798e05248a6a9..1668072cd04901618e42cc7245d02450391f80c9 100644
--- a/net/quic/test_tools/quic_test_packet_maker.h
+++ b/net/quic/test_tools/quic_test_packet_maker.h
@@ -152,6 +152,18 @@ class QuicTestPacketMaker {
// If |spdy_headers_frame_length| is non-null, it will be set to the size of
// the SPDY headers frame created for this packet.
+ std::unique_ptr<QuicReceivedPacket> MakePushPromisePacket(
+ QuicPacketNumber packet_number,
+ QuicStreamId stream_id,
+ QuicStreamId promised_stream_id,
+ bool should_include_version,
+ bool fin,
+ SpdyHeaderBlock headers,
+ size_t* spdy_headers_frame_length,
+ QuicStreamOffset* offset);
+
+ // If |spdy_headers_frame_length| is non-null, it will be set to the size of
+ // the SPDY headers frame created for this packet.
std::unique_ptr<QuicReceivedPacket> MakeResponseHeadersPacket(
QuicPacketNumber packet_number,
QuicStreamId stream_id,
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | net/quic/test_tools/quic_test_packet_maker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698