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

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

Issue 1320303009: relnote: Allow individual QUIC writers to limit the maximum packet size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0909_1
Patch Set: Created 5 years, 3 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 182d4712d231f64acc88f40cc0c99cf46b36109b..613c11b98516d70ab43365bee5fd563e62e5f113 100644
--- a/net/tools/quic/quic_simple_server_packet_writer.h
+++ b/net/tools/quic/quic_simple_server_packet_writer.h
@@ -47,6 +47,7 @@ class QuicSimpleServerPacketWriter : public QuicPacketWriter {
bool IsWriteBlockedDataBuffered() const override;
bool IsWriteBlocked() const override;
void SetWritable() override;
+ QuicByteCount GetMaxPacketSize(const IPEndPoint& peer_address) const override;
protected:
// Do not call WritePacket on its own -- use WritePacketWithCallback
« 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