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

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

Issue 11958018: Queueing QUIC frames to be resent instead of packets and packing RST frames with acks and congestio… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« net/quic/quic_connection.cc ('K') | « net/quic/quic_protocol.cc ('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_utils.cc
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
index bb509f87a5832e6b24892588767a6a9143ac538d..bd2a631f401fdf24cd6e9dd089c48a1e61818b3a 100644
--- a/net/quic/test_tools/quic_test_utils.cc
+++ b/net/quic/test_tools/quic_test_utils.cc
@@ -4,6 +4,7 @@
#include "net/quic/test_tools/quic_test_utils.h"
+#include "base/stl_util.h"
#include "net/quic/crypto/crypto_framer.h"
using std::max;
@@ -89,6 +90,7 @@ PacketSavingConnection::PacketSavingConnection(QuicGuid guid,
}
PacketSavingConnection::~PacketSavingConnection() {
+ STLDeleteElements(&packets_);
}
bool PacketSavingConnection::SendPacket(QuicPacketSequenceNumber number,
« net/quic/quic_connection.cc ('K') | « net/quic/quic_protocol.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698