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

Unified Diff: net/tools/quic/quic_simple_server_packet_writer.h

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/quic_simple_server_packet_writer.h
diff --git a/net/tools/quic/quic_simple_server_packet_writer.h b/net/tools/quic/quic_simple_server_packet_writer.h
index ea9ff4132a6fceadc6c885565020c5eea99c4bf2..26e8f0bc0df025f57687a5808623f0a34ecb8d56 100644
--- a/net/tools/quic/quic_simple_server_packet_writer.h
+++ b/net/tools/quic/quic_simple_server_packet_writer.h
@@ -40,6 +40,7 @@ class QuicSimpleServerPacketWriter : public QuicPacketWriter {
size_t buf_len,
const IPAddressNumber& self_address,
const IPEndPoint& peer_address,
+ PerPacketOptions* options,
WriteCallback callback);
void OnWriteComplete(int rv);
@@ -55,7 +56,8 @@ class QuicSimpleServerPacketWriter : public QuicPacketWriter {
WriteResult WritePacket(const char* buffer,
size_t buf_len,
const IPAddressNumber& self_address,
- const IPEndPoint& peer_address) override;
+ const IPEndPoint& peer_address,
+ PerPacketOptions* options) override;
private:
UDPServerSocket* socket_;
« no previous file with comments | « net/tools/quic/quic_simple_per_connection_packet_writer.cc ('k') | net/tools/quic/quic_simple_server_packet_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698