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

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

Issue 1421853006: Landing Recent QUIC changes until: Fri Oct 30 22:23:58 2015 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 1 month 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_time.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | 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 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 RETURN_STRING_LITERAL(QUIC_INVALID_GOAWAY_DATA); 172 RETURN_STRING_LITERAL(QUIC_INVALID_GOAWAY_DATA);
173 RETURN_STRING_LITERAL(QUIC_INVALID_WINDOW_UPDATE_DATA); 173 RETURN_STRING_LITERAL(QUIC_INVALID_WINDOW_UPDATE_DATA);
174 RETURN_STRING_LITERAL(QUIC_INVALID_BLOCKED_DATA); 174 RETURN_STRING_LITERAL(QUIC_INVALID_BLOCKED_DATA);
175 RETURN_STRING_LITERAL(QUIC_INVALID_STOP_WAITING_DATA); 175 RETURN_STRING_LITERAL(QUIC_INVALID_STOP_WAITING_DATA);
176 RETURN_STRING_LITERAL(QUIC_INVALID_ACK_DATA); 176 RETURN_STRING_LITERAL(QUIC_INVALID_ACK_DATA);
177 RETURN_STRING_LITERAL(QUIC_INVALID_VERSION_NEGOTIATION_PACKET); 177 RETURN_STRING_LITERAL(QUIC_INVALID_VERSION_NEGOTIATION_PACKET);
178 RETURN_STRING_LITERAL(QUIC_INVALID_PUBLIC_RST_PACKET); 178 RETURN_STRING_LITERAL(QUIC_INVALID_PUBLIC_RST_PACKET);
179 RETURN_STRING_LITERAL(QUIC_DECRYPTION_FAILURE); 179 RETURN_STRING_LITERAL(QUIC_DECRYPTION_FAILURE);
180 RETURN_STRING_LITERAL(QUIC_ENCRYPTION_FAILURE); 180 RETURN_STRING_LITERAL(QUIC_ENCRYPTION_FAILURE);
181 RETURN_STRING_LITERAL(QUIC_PACKET_TOO_LARGE); 181 RETURN_STRING_LITERAL(QUIC_PACKET_TOO_LARGE);
182 RETURN_STRING_LITERAL(QUIC_PACKET_FOR_NONEXISTENT_STREAM);
183 RETURN_STRING_LITERAL(QUIC_PEER_GOING_AWAY); 182 RETURN_STRING_LITERAL(QUIC_PEER_GOING_AWAY);
184 RETURN_STRING_LITERAL(QUIC_HANDSHAKE_FAILED); 183 RETURN_STRING_LITERAL(QUIC_HANDSHAKE_FAILED);
185 RETURN_STRING_LITERAL(QUIC_CRYPTO_TAGS_OUT_OF_ORDER); 184 RETURN_STRING_LITERAL(QUIC_CRYPTO_TAGS_OUT_OF_ORDER);
186 RETURN_STRING_LITERAL(QUIC_CRYPTO_TOO_MANY_ENTRIES); 185 RETURN_STRING_LITERAL(QUIC_CRYPTO_TOO_MANY_ENTRIES);
187 RETURN_STRING_LITERAL(QUIC_CRYPTO_TOO_MANY_REJECTS); 186 RETURN_STRING_LITERAL(QUIC_CRYPTO_TOO_MANY_REJECTS);
188 RETURN_STRING_LITERAL(QUIC_CRYPTO_INVALID_VALUE_LENGTH) 187 RETURN_STRING_LITERAL(QUIC_CRYPTO_INVALID_VALUE_LENGTH)
189 RETURN_STRING_LITERAL(QUIC_CRYPTO_MESSAGE_AFTER_HANDSHAKE_COMPLETE); 188 RETURN_STRING_LITERAL(QUIC_CRYPTO_MESSAGE_AFTER_HANDSHAKE_COMPLETE);
190 RETURN_STRING_LITERAL(QUIC_CRYPTO_INTERNAL_ERROR); 189 RETURN_STRING_LITERAL(QUIC_CRYPTO_INTERNAL_ERROR);
191 RETURN_STRING_LITERAL(QUIC_CRYPTO_VERSION_NOT_SUPPORTED); 190 RETURN_STRING_LITERAL(QUIC_CRYPTO_VERSION_NOT_SUPPORTED);
192 RETURN_STRING_LITERAL(QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT); 191 RETURN_STRING_LITERAL(QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 } 342 }
344 return s; 343 return s;
345 } 344 }
346 345
347 // static 346 // static
348 QuicPriority QuicUtils::HighestPriority() { 347 QuicPriority QuicUtils::HighestPriority() {
349 return QuicWriteBlockedList::kHighestPriority; 348 return QuicWriteBlockedList::kHighestPriority;
350 } 349 }
351 350
352 } // namespace net 351 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_time.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698