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

Unified Diff: net/quic/quic_connection_test.cc

Issue 1661863002: Remove a test-only SerializedPacket constructor from QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113110142
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 | « no previous file | net/quic/quic_protocol.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 2e99e4dca2f90b14045b9ff81253ad01675b19b7..2b68fb4f78750ccaad5e2d7820449aa1841de189 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -468,9 +468,9 @@ class TestConnection : public QuicConnection {
kMaxPacketSize);
delete packet;
SerializedPacket serialized_packet(
- kDefaultPathId, packet_number, PACKET_6BYTE_PACKET_NUMBER, buffer,
- encrypted_length, false, entropy_hash, retransmittable_frames, false,
- NOT_HANDSHAKE, has_ack, has_pending_frames, ENCRYPTION_NONE);
+ kDefaultPathId, packet_number, PACKET_6BYTE_PACKET_NUMBER,
+ new QuicEncryptedPacket(buffer, encrypted_length, false), entropy_hash,
+ retransmittable_frames, has_ack, has_pending_frames);
OnSerializedPacket(&serialized_packet);
}
« no previous file with comments | « no previous file | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698