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

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

Issue 605733006: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Patch Set 3 Created 6 years, 3 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_config_peer.cc ('k') | net/tools/quic/quic_server_session.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_utils.cc
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
index 98bde10690806c0735786ccb1ff2d17bf697f32b..8926727ca872f3cfda2f67e74898876981a1d2ad 100644
--- a/net/quic/test_tools/quic_test_utils.cc
+++ b/net/quic/test_tools/quic_test_utils.cc
@@ -311,7 +311,9 @@ void PacketSavingConnection::SendOrQueuePacket(QueuedPacket packet) {
encrypted_packets_.push_back(encrypted);
// Transfer ownership of the packet to the SentPacketManager and the
// ack notifier to the AckNotifierManager.
- sent_packet_manager_.OnSerializedPacket(packet.serialized_packet);
+ sent_packet_manager_.OnPacketSent(
+ &packet.serialized_packet, 0, QuicTime::Zero(), 1000,
+ NOT_RETRANSMISSION, HAS_RETRANSMITTABLE_DATA);
}
MockSession::MockSession(QuicConnection* connection)
« no previous file with comments | « net/quic/test_tools/quic_config_peer.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698