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

Unified Diff: net/tools/quic/quic_simple_per_connection_packet_writer.cc

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_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 6a56fb910a562bf0747cf82f8561fb87e95b40ba..2bcaf4b6c95e86116f0321880456b522b4bcd47d 100644
--- a/net/tools/quic/quic_simple_per_connection_packet_writer.cc
+++ b/net/tools/quic/quic_simple_per_connection_packet_writer.cc
@@ -57,5 +57,10 @@ void QuicSimplePerConnectionPacketWriter::OnWriteComplete(WriteResult result) {
}
}
+QuicByteCount QuicSimplePerConnectionPacketWriter::GetMaxPacketSize(
+ const IPEndPoint& peer_address) const {
+ return shared_writer_->GetMaxPacketSize(peer_address);
+}
+
} // namespace tools
} // namespace net
« no previous file with comments | « net/tools/quic/quic_simple_per_connection_packet_writer.h ('k') | net/tools/quic/quic_simple_server_packet_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698