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

Side by Side Diff: net/quic/quic_packet_generator.cc

Issue 1710173002: relnote: Deprecate FLAGS_quic_retransmit_via_onserializedpacket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_packet_generator.h" 5 #include "net/quic/quic_packet_generator.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/quic_bug_tracker.h" 8 #include "net/quic/quic_bug_tracker.h"
9 #include "net/quic/quic_fec_group.h" 9 #include "net/quic/quic_fec_group.h"
10 #include "net/quic/quic_flags.h" 10 #include "net/quic/quic_flags.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 if (packet_creator_.CanSetMaxPacketLength()) { 300 if (packet_creator_.CanSetMaxPacketLength()) {
301 packet_creator_.SetMaxPacketLength(length); 301 packet_creator_.SetMaxPacketLength(length);
302 } 302 }
303 } 303 }
304 304
305 QuicEncryptedPacket* QuicPacketGenerator::SerializeVersionNegotiationPacket( 305 QuicEncryptedPacket* QuicPacketGenerator::SerializeVersionNegotiationPacket(
306 const QuicVersionVector& supported_versions) { 306 const QuicVersionVector& supported_versions) {
307 return packet_creator_.SerializeVersionNegotiationPacket(supported_versions); 307 return packet_creator_.SerializeVersionNegotiationPacket(supported_versions);
308 } 308 }
309 309
310 SerializedPacket QuicPacketGenerator::ReserializeAllFrames( 310 void QuicPacketGenerator::ReserializeAllFrames(
311 const PendingRetransmission& retransmission, 311 const PendingRetransmission& retransmission,
312 char* buffer, 312 char* buffer,
313 size_t buffer_len) { 313 size_t buffer_len) {
314 return packet_creator_.ReserializeAllFrames(retransmission, buffer, 314 packet_creator_.ReserializeAllFrames(retransmission, buffer, buffer_len);
315 buffer_len);
316 } 315 }
317 316
318 void QuicPacketGenerator::UpdateSequenceNumberLength( 317 void QuicPacketGenerator::UpdateSequenceNumberLength(
319 QuicPacketNumber least_packet_awaited_by_peer, 318 QuicPacketNumber least_packet_awaited_by_peer,
320 QuicPacketCount max_packets_in_flight) { 319 QuicPacketCount max_packets_in_flight) {
321 return packet_creator_.UpdatePacketNumberLength(least_packet_awaited_by_peer, 320 return packet_creator_.UpdatePacketNumberLength(least_packet_awaited_by_peer,
322 max_packets_in_flight); 321 max_packets_in_flight);
323 } 322 }
324 323
325 void QuicPacketGenerator::SetConnectionIdLength(uint32_t length) { 324 void QuicPacketGenerator::SetConnectionIdLength(uint32_t length) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 358
360 FecSendPolicy QuicPacketGenerator::fec_send_policy() { 359 FecSendPolicy QuicPacketGenerator::fec_send_policy() {
361 return packet_creator_.fec_send_policy(); 360 return packet_creator_.fec_send_policy();
362 } 361 }
363 362
364 void QuicPacketGenerator::set_fec_send_policy(FecSendPolicy fec_send_policy) { 363 void QuicPacketGenerator::set_fec_send_policy(FecSendPolicy fec_send_policy) {
365 packet_creator_.set_fec_send_policy(fec_send_policy); 364 packet_creator_.set_fec_send_policy(fec_send_policy);
366 } 365 }
367 366
368 } // namespace net 367 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698