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

Unified Diff: net/quic/quic_connection_test.cc

Issue 1525303003: Remove QuicPacketGenerator::OnSerializedPacket with functionality in QuicPacketCreator. No functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110008813
Patch Set: get newly added files from upstream Created 5 years 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.cc ('k') | net/quic/quic_packet_creator.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 cf8d3a2d9b6b4376d62fd3768474f7661adc83ed..22bf390aaddca65837dc02584f08fca365dd9b53 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -460,10 +460,11 @@ class TestConnection : public QuicConnection {
QuicConnectionPeer::GetFramer(this)->EncryptPayload(
ENCRYPTION_NONE, packet_number, *packet, buffer, kMaxPacketSize);
delete packet;
- OnSerializedPacket(SerializedPacket(
+ SerializedPacket serialized_packet(
packet_number, PACKET_6BYTE_PACKET_NUMBER, buffer, encrypted_length,
false, entropy_hash, retransmittable_frames, has_ack,
- has_pending_frames, ENCRYPTION_NONE));
+ has_pending_frames, ENCRYPTION_NONE);
+ OnSerializedPacket(&serialized_packet);
}
QuicConsumedData SendStreamDataWithString(
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698