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

Side by Side Diff: components/domain_reliability/quic_error_mapping.cc

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 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 | « no previous file | net/BUILD.gn » ('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 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 14 matching lines...) Expand all
25 { net::QUIC_MISSING_PAYLOAD, "quic.missing.payload" }, 25 { net::QUIC_MISSING_PAYLOAD, "quic.missing.payload" },
26 // FEC data is malformed. 26 // FEC data is malformed.
27 { net::QUIC_INVALID_FEC_DATA, "quic.invalid.fec_data" }, 27 { net::QUIC_INVALID_FEC_DATA, "quic.invalid.fec_data" },
28 // STREAM frame data is malformed. 28 // STREAM frame data is malformed.
29 { net::QUIC_INVALID_STREAM_DATA, "quic.invalid.stream_data" }, 29 { net::QUIC_INVALID_STREAM_DATA, "quic.invalid.stream_data" },
30 // STREAM frame data is not encrypted. 30 // STREAM frame data is not encrypted.
31 { net::QUIC_UNENCRYPTED_STREAM_DATA, "quic.unencrypted.stream_data" }, 31 { net::QUIC_UNENCRYPTED_STREAM_DATA, "quic.unencrypted.stream_data" },
32 // Attempt to send unencrypted STREAM frame. 32 // Attempt to send unencrypted STREAM frame.
33 { net::QUIC_ATTEMPT_TO_SEND_UNENCRYPTED_STREAM_DATA, 33 { net::QUIC_ATTEMPT_TO_SEND_UNENCRYPTED_STREAM_DATA,
34 "quic.attempt.to.unencrypted.stream.data" }, 34 "quic.attempt.to.unencrypted.stream.data" },
35 // Received a frame which is likely the result of memory corruption.
36 { net::QUIC_MAYBE_CORRUPTED_MEMORY, "quic.maybe.corrupted.momery" },
35 // FEC frame data is not encrypted. 37 // FEC frame data is not encrypted.
36 { net::QUIC_UNENCRYPTED_FEC_DATA, "quic.unencrypted.fec.data" }, 38 { net::QUIC_UNENCRYPTED_FEC_DATA, "quic.unencrypted.fec.data" },
37 // RST_STREAM frame data is malformed. 39 // RST_STREAM frame data is malformed.
38 { net::QUIC_INVALID_RST_STREAM_DATA, "quic.invalid.rst_stream_data" }, 40 { net::QUIC_INVALID_RST_STREAM_DATA, "quic.invalid.rst_stream_data" },
39 // CONNECTION_CLOSE frame data is malformed. 41 // CONNECTION_CLOSE frame data is malformed.
40 { net::QUIC_INVALID_CONNECTION_CLOSE_DATA, 42 { net::QUIC_INVALID_CONNECTION_CLOSE_DATA,
41 "quic.invalid.connection_close_data" }, 43 "quic.invalid.connection_close_data" },
42 // GOAWAY frame data is malformed. 44 // GOAWAY frame data is malformed.
43 { net::QUIC_INVALID_GOAWAY_DATA, "quic.invalid.goaway_data" }, 45 { net::QUIC_INVALID_GOAWAY_DATA, "quic.invalid.goaway_data" },
44 // WINDOW_UPDATE frame data is malformed. 46 // WINDOW_UPDATE frame data is malformed.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error; 248 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error;
247 return true; 249 return true;
248 } 250 }
249 } 251 }
250 } 252 }
251 beacon_quic_error_out->clear(); 253 beacon_quic_error_out->clear();
252 return false; 254 return false;
253 } 255 }
254 256
255 } // namespace domain_reliability 257 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698