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

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

Issue 572703003: Minor change to QUIC's retransmission to not link old retransmissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge_75263809
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('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_utils.h" 5 #include "net/quic/quic_utils.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 return "INVALID_ENCRYPTION_LEVEL"; 237 return "INVALID_ENCRYPTION_LEVEL";
238 } 238 }
239 239
240 // static 240 // static
241 const char* QuicUtils::TransmissionTypeToString(TransmissionType type) { 241 const char* QuicUtils::TransmissionTypeToString(TransmissionType type) {
242 switch (type) { 242 switch (type) {
243 RETURN_STRING_LITERAL(NOT_RETRANSMISSION); 243 RETURN_STRING_LITERAL(NOT_RETRANSMISSION);
244 RETURN_STRING_LITERAL(HANDSHAKE_RETRANSMISSION); 244 RETURN_STRING_LITERAL(HANDSHAKE_RETRANSMISSION);
245 RETURN_STRING_LITERAL(LOSS_RETRANSMISSION); 245 RETURN_STRING_LITERAL(LOSS_RETRANSMISSION);
246 RETURN_STRING_LITERAL(ALL_UNACKED_RETRANSMISSION); 246 RETURN_STRING_LITERAL(ALL_UNACKED_RETRANSMISSION);
247 RETURN_STRING_LITERAL(ALL_INITIAL_RETRANSMISSION);
247 RETURN_STRING_LITERAL(RTO_RETRANSMISSION); 248 RETURN_STRING_LITERAL(RTO_RETRANSMISSION);
248 RETURN_STRING_LITERAL(TLP_RETRANSMISSION); 249 RETURN_STRING_LITERAL(TLP_RETRANSMISSION);
249 } 250 }
250 return "INVALID_TRANSMISSION_TYPE"; 251 return "INVALID_TRANSMISSION_TYPE";
251 } 252 }
252 253
253 // static 254 // static
254 string QuicUtils::TagToString(QuicTag tag) { 255 string QuicUtils::TagToString(QuicTag tag) {
255 char chars[4]; 256 char chars[4];
256 bool ascii = true; 257 bool ascii = true;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 QuicPriority QuicUtils::LowestPriority() { 312 QuicPriority QuicUtils::LowestPriority() {
312 return QuicWriteBlockedList::kLowestPriority; 313 return QuicWriteBlockedList::kLowestPriority;
313 } 314 }
314 315
315 // static 316 // static
316 QuicPriority QuicUtils::HighestPriority() { 317 QuicPriority QuicUtils::HighestPriority() {
317 return QuicWriteBlockedList::kHighestPriority; 318 return QuicWriteBlockedList::kHighestPriority;
318 } 319 }
319 320
320 } // namespace net 321 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698