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

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

Issue 1662433002: Per-packet options now passed through to QuicPacketWriter, instead of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113054959
Patch Set: Fix comments for Patch Set 1 Created 4 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
Index: net/tools/quic/test_tools/limited_mtu_test_writer.cc
diff --git a/net/tools/quic/test_tools/limited_mtu_test_writer.cc b/net/tools/quic/test_tools/limited_mtu_test_writer.cc
index df2c2147f85c3e51880751edfd29907e4bfd7df8..15a320356f45fcdbca65482561c45656ec41870e 100644
--- a/net/tools/quic/test_tools/limited_mtu_test_writer.cc
+++ b/net/tools/quic/test_tools/limited_mtu_test_writer.cc
@@ -15,14 +15,15 @@ WriteResult LimitedMtuTestWriter::WritePacket(
const char* buffer,
size_t buf_len,
const IPAddressNumber& self_address,
- const IPEndPoint& peer_address) {
+ const IPEndPoint& peer_address,
+ PerPacketOptions* options) {
if (buf_len > mtu_) {
// Drop the packet.
return WriteResult(WRITE_STATUS_OK, buf_len);
}
return QuicPacketWriterWrapper::WritePacket(buffer, buf_len, self_address,
- peer_address);
+ peer_address, options);
}
} // namespace test
« no previous file with comments | « net/tools/quic/test_tools/limited_mtu_test_writer.h ('k') | net/tools/quic/test_tools/packet_dropping_test_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698