OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/domain_reliability/quic_error_mapping.h" | 5 #include "components/domain_reliability/quic_error_mapping.h" |
6 | 6 |
7 namespace domain_reliability { | 7 namespace domain_reliability { |
8 | 8 |
9 namespace { | 9 namespace { |
10 | 10 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 { net::QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND, | 158 { net::QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND, |
159 "quic.crypto_message.parameter_not_found" }, | 159 "quic.crypto_message.parameter_not_found" }, |
160 // A crypto message was received with a parameter that has no overlap | 160 // A crypto message was received with a parameter that has no overlap |
161 // with the local parameter. | 161 // with the local parameter. |
162 { net::QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP, | 162 { net::QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP, |
163 "quic.crypto_message.parameter_no_overlap" }, | 163 "quic.crypto_message.parameter_no_overlap" }, |
164 // A crypto message was received that contained a parameter with too few | 164 // A crypto message was received that contained a parameter with too few |
165 // values. | 165 // values. |
166 { net::QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND, | 166 { net::QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND, |
167 "quic_crypto_message_index_not_found" }, | 167 "quic_crypto_message_index_not_found" }, |
| 168 // A demand for an unsupport proof type was received. |
| 169 { net::QUIC_UNSUPPORTED_PROOF_DEMAND, "quic.unsupported_proof_demand" }, |
168 // An internal error occured in crypto processing. | 170 // An internal error occured in crypto processing. |
169 { net::QUIC_CRYPTO_INTERNAL_ERROR, "quic.crypto.internal_error" }, | 171 { net::QUIC_CRYPTO_INTERNAL_ERROR, "quic.crypto.internal_error" }, |
170 // A crypto handshake message specified an unsupported version. | 172 // A crypto handshake message specified an unsupported version. |
171 { net::QUIC_CRYPTO_VERSION_NOT_SUPPORTED, | 173 { net::QUIC_CRYPTO_VERSION_NOT_SUPPORTED, |
172 "quic.crypto.version_not_supported" }, | 174 "quic.crypto.version_not_supported" }, |
173 // A crypto handshake message resulted in a stateless reject. | 175 // A crypto handshake message resulted in a stateless reject. |
174 { net::QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT, | 176 { net::QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT, |
175 "quic.crypto.handshake_stateless_reject" }, | 177 "quic.crypto.handshake_stateless_reject" }, |
176 // There was no intersection between the crypto primitives supported by the | 178 // There was no intersection between the crypto primitives supported by the |
177 // peer and ourselves. | 179 // peer and ourselves. |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error; | 269 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error; |
268 return true; | 270 return true; |
269 } | 271 } |
270 } | 272 } |
271 } | 273 } |
272 beacon_quic_error_out->clear(); | 274 beacon_quic_error_out->clear(); |
273 return false; | 275 return false; |
274 } | 276 } |
275 | 277 |
276 } // namespace domain_reliability | 278 } // namespace domain_reliability |
OLD | NEW |