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

Unified Diff: net/quic/quic_connection_test.cc

Issue 990533002: Land Recent QUIC Changes until 03/06/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/quic_connection_stats.cc ('k') | net/quic/quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_test.cc
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
index c23ea738605849b373b603165be9919babe85b80..7f3f1d4366aac678ae0ac8cba8131732dffbb571 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -848,26 +848,6 @@ class QuicConnectionTest : public ::testing::TestWithParam<QuicVersion> {
return packet;
}
- QuicPacket* ConstructPingPacket(QuicPacketSequenceNumber number) {
- header_.public_header.connection_id = connection_id_;
- header_.packet_sequence_number = number;
- header_.public_header.reset_flag = false;
- header_.public_header.version_flag = false;
- header_.entropy_flag = false;
- header_.fec_flag = false;
- header_.is_in_fec_group = NOT_IN_FEC_GROUP;
- header_.fec_group = 0;
-
- QuicPingFrame ping;
-
- QuicFrames frames;
- QuicFrame frame(&ping);
- frames.push_back(frame);
- QuicPacket* packet = BuildUnsizedDataPacket(&framer_, header_, frames);
- EXPECT_TRUE(packet != nullptr);
- return packet;
- }
-
QuicPacket* ConstructClosePacket(QuicPacketSequenceNumber number,
QuicFecGroupNumber fec_group) {
header_.public_header.connection_id = connection_id_;
« no previous file with comments | « net/quic/quic_connection_stats.cc ('k') | net/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698