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

Unified Diff: net/quic/quic_packet_generator.h

Issue 1781043004: Remove the force param from QuicPacketGenerator::SetMaxPacketLength because path MTU packets should… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116272960
Patch Set: Created 4 years, 9 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
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_packet_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_generator.h
diff --git a/net/quic/quic_packet_generator.h b/net/quic/quic_packet_generator.h
index 4d36f8bc1ade3c07e776490d42eb59c9505bb2a1..d0b392a49d851d1b94293eafcec00ce71a9c43cf 100644
--- a/net/quic/quic_packet_generator.h
+++ b/net/quic/quic_packet_generator.h
@@ -155,10 +155,8 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator {
// Returns the maximum length current packet can actually have.
QuicByteCount GetCurrentMaxPacketLength() const;
- // Set maximum packet length sent. If |force| is set to true, all pending
- // unfinished packets are closed, and the change is enacted immediately.
- // Otherwise, it is enacted at the next opportunity.
- void SetMaxPacketLength(QuicByteCount length, bool force);
+ // Set maximum packet length at the next opportunity.
+ void SetMaxPacketLength(QuicByteCount length);
// Sets |path_id| to be the path on which next packet is generated.
void SetCurrentPath(QuicPathId path_id,
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_packet_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698