Chromium Code Reviews

Unified Diff: net/tools/quic/quic_simple_per_connection_packet_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: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: net/tools/quic/quic_simple_per_connection_packet_writer.cc
diff --git a/net/tools/quic/quic_simple_per_connection_packet_writer.cc b/net/tools/quic/quic_simple_per_connection_packet_writer.cc
index e452ff844145acf944ab78cb59a2447504b8326b..f18c8ea9216c656bc03cb4380d84f7673c3fde1c 100644
--- a/net/tools/quic/quic_simple_per_connection_packet_writer.cc
+++ b/net/tools/quic/quic_simple_per_connection_packet_writer.cc
@@ -25,9 +25,10 @@ WriteResult QuicSimplePerConnectionPacketWriter::WritePacket(
const char* buffer,
size_t buf_len,
const IPAddressNumber& self_address,
- const IPEndPoint& peer_address) {
+ const IPEndPoint& peer_address,
+ PerPacketOptions* options) {
return shared_writer_->WritePacketWithCallback(
- buffer, buf_len, self_address, peer_address,
+ buffer, buf_len, self_address, peer_address, options,
base::Bind(&QuicSimplePerConnectionPacketWriter::OnWriteComplete,
weak_factory_.GetWeakPtr()));
}

Powered by Google App Engine