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

Unified Diff: net/tools/quic/test_tools/packet_dropping_test_writer.cc

Issue 2403193003: Landing Recent QUIC changes until 9:41 AM, Oct 10, 2016 UTC-7 (Closed)
Patch Set: git cl format Created 4 years, 2 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
Index: net/tools/quic/test_tools/packet_dropping_test_writer.cc
diff --git a/net/tools/quic/test_tools/packet_dropping_test_writer.cc b/net/tools/quic/test_tools/packet_dropping_test_writer.cc
index 54424887951512166037a8a98d942ee19a801095..8b2141cfc879fcccde9ab4117357ab06cbfc3695 100644
--- a/net/tools/quic/test_tools/packet_dropping_test_writer.cc
+++ b/net/tools/quic/test_tools/packet_dropping_test_writer.cc
@@ -50,7 +50,6 @@ PacketDroppingTestWriter::PacketDroppingTestWriter()
: clock_(nullptr),
cur_buffer_size_(0),
num_calls_to_write_(0),
- max_allowed_packet_size_(std::numeric_limits<QuicByteCount>::max()),
config_mutex_(),
fake_packet_loss_percentage_(0),
fake_drop_first_n_packets_(0),
@@ -82,7 +81,6 @@ WriteResult PacketDroppingTestWriter::WritePacket(
const IPAddress& self_address,
const IPEndPoint& peer_address,
PerPacketOptions* options) {
- CHECK_LE(buf_len, max_allowed_packet_size_);
++num_calls_to_write_;
ReleaseOldPackets();
« no previous file with comments | « net/tools/quic/test_tools/packet_dropping_test_writer.h ('k') | net/tools/quic/test_tools/quic_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698