Index: net/tools/quic/test_tools/packet_dropping_test_writer.h |
diff --git a/net/tools/quic/test_tools/packet_dropping_test_writer.h b/net/tools/quic/test_tools/packet_dropping_test_writer.h |
index ff058b5660adc31df41987e53f95b8bfc55f0438..0ccdbb912ee9a08cd725a545d6164e0390dc6ca9 100644 |
--- a/net/tools/quic/test_tools/packet_dropping_test_writer.h |
+++ b/net/tools/quic/test_tools/packet_dropping_test_writer.h |
@@ -121,12 +121,6 @@ class PacketDroppingTestWriter : public QuicPacketWriterWrapper { |
// Useful for reproducing very flaky issues. |
void set_seed(uint64_t seed) { simple_random_.set_seed(seed); } |
- // Sets the maximum allowed packet size to be sent. Packets larger than |
- // |packet_size| will cause the write to check-fail. |
- void set_max_allowed_packet_size(QuicByteCount packet_size) { |
- max_allowed_packet_size_ = packet_size; |
- } |
- |
private: |
// Writes out the next packet to the contained writer and returns the time |
// for the next delayed packet to be written. |
@@ -168,7 +162,6 @@ class PacketDroppingTestWriter : public QuicPacketWriterWrapper { |
DelayedPacketList delayed_packets_; |
QuicByteCount cur_buffer_size_; |
uint64_t num_calls_to_write_; |
- QuicByteCount max_allowed_packet_size_; |
base::Lock config_mutex_; |
int32_t fake_packet_loss_percentage_; |