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

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

Issue 1793273004: Revert of Implement QUIC-based net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basecl
Patch Set: Created 4 years, 9 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/test_tools/quic_test_packet_maker.h ('k') | no next file » | 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.cc
diff --git a/net/quic/test_tools/quic_test_packet_maker.cc b/net/quic/test_tools/quic_test_packet_maker.cc
index 9600d3e4b08ac3c86c74427d73c256c37f1694ee..0bb671cee72c4c027275e7eafbda2635fa7c3971 100644
--- a/net/quic/test_tools/quic_test_packet_maker.cc
+++ b/net/quic/test_tools/quic_test_packet_maker.cc
@@ -55,15 +55,6 @@
bool include_version,
QuicStreamId stream_id,
QuicRstStreamErrorCode error_code) {
- return MakeRstPacket(num, include_version, stream_id, error_code, 0);
-}
-
-scoped_ptr<QuicEncryptedPacket> QuicTestPacketMaker::MakeRstPacket(
- QuicPacketNumber num,
- bool include_version,
- QuicStreamId stream_id,
- QuicRstStreamErrorCode error_code,
- size_t bytes_written) {
QuicPacketHeader header;
header.public_header.connection_id = connection_id_;
header.public_header.reset_flag = false;
@@ -74,8 +65,7 @@
header.fec_flag = false;
header.fec_group = 0;
- QuicRstStreamFrame rst(stream_id, error_code, bytes_written);
- DVLOG(1) << "Adding frame: " << QuicFrame(&rst);
+ QuicRstStreamFrame rst(stream_id, error_code, 0);
return scoped_ptr<QuicEncryptedPacket>(MakePacket(header, QuicFrame(&rst)));
}
« no previous file with comments | « net/quic/test_tools/quic_test_packet_maker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698