OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |