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

Unified Diff: net/quic/core/quic_packet_creator.cc

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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/core/quic_packet_creator.h ('k') | net/quic/core/quic_packet_creator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_packet_creator.cc
diff --git a/net/quic/core/quic_packet_creator.cc b/net/quic/core/quic_packet_creator.cc
index 85a99f4acaf27b210d35b0ff0f5ed4d7bf1aa6c9..1240beac6ae2373bfc6d86969643d94db849f10d 100644
--- a/net/quic/core/quic_packet_creator.cc
+++ b/net/quic/core/quic_packet_creator.cc
@@ -272,7 +272,7 @@ void QuicPacketCreator::CopyToBuffer(QuicIOVector iov,
}
void QuicPacketCreator::ReserializeAllFrames(
- const PendingRetransmission& retransmission,
+ const QuicPendingRetransmission& retransmission,
char* buffer,
size_t buffer_len) {
DCHECK(queued_frames_.empty());
@@ -335,11 +335,6 @@ void QuicPacketCreator::OnSerializedPacket() {
delegate_->OnSerializedPacket(&packet_);
ClearPacket();
- // Maximum packet size may be only enacted while no packet is currently being
- // constructed, so here we have a good opportunity to actually change it.
- if (CanSetMaxPacketLength()) {
- SetMaxPacketLength(max_packet_length_);
- }
}
void QuicPacketCreator::ClearPacket() {
« no previous file with comments | « net/quic/core/quic_packet_creator.h ('k') | net/quic/core/quic_packet_creator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698