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

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

Issue 2403233003: Automated rollback of internal change 130388085. (Closed)
Patch Set: 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
« no previous file with comments | « net/tools/quic/quic_server.cc ('k') | net/tools/quic/test_tools/packet_dropping_test_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « net/tools/quic/quic_server.cc ('k') | net/tools/quic/test_tools/packet_dropping_test_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698