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

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

Issue 2391103003: Landing Recent QUIC changes until 3:24 PM, Oct 01, 2016 UTC-4 (Closed)
Patch Set: Add new error code to quic_error_mapping.cc Created 4 years, 2 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/quic/chromium/quic_chromium_client_stream.cc » ('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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 { net::QUIC_OVERLAPPING_STREAM_DATA, 239 { net::QUIC_OVERLAPPING_STREAM_DATA,
240 "quic.overlapping_stream_data" }, 240 "quic.overlapping_stream_data" },
241 // Stream frames arrived too discontiguously so that stream sequencer buffer 241 // Stream frames arrived too discontiguously so that stream sequencer buffer
242 // has too many gaps. 242 // has too many gaps.
243 { net::QUIC_TOO_MANY_FRAME_GAPS, 243 { net::QUIC_TOO_MANY_FRAME_GAPS,
244 "quic.too_many_frame_gaps" }, 244 "quic.too_many_frame_gaps" },
245 // Sequencer buffer get into weird state where continuing read/write 245 // Sequencer buffer get into weird state where continuing read/write
246 // will lead to crash. 246 // will lead to crash.
247 { net::QUIC_STREAM_SEQUENCER_INVALID_STATE, 247 { net::QUIC_STREAM_SEQUENCER_INVALID_STATE,
248 "quic.stream_sequencer_invalid_state" }, 248 "quic.stream_sequencer_invalid_state" },
249 // Connection closed because of server hits max number of sessions allowed.
250 { net::QUIC_TOO_MANY_SESSIONS_ON_SERVER,
251 "quic.too_many_sessions_on_server" },
249 252
250 // No error. Used as bound while iterating. 253 // No error. Used as bound while iterating.
251 { net::QUIC_LAST_ERROR, "quic.last_error"} 254 { net::QUIC_LAST_ERROR, "quic.last_error"}
252 }; 255 };
253 256
254 // Must be updated any time a net::QuicErrorCode is deprecated in 257 // Must be updated any time a net::QuicErrorCode is deprecated in
255 // net/quic/core/quic_protocol.h. 258 // net/quic/core/quic_protocol.h.
256 const int kDeprecatedQuicErrorCount = 4; 259 const int kDeprecatedQuicErrorCount = 4;
257 const int kActiveQuicErrorCount = 260 const int kActiveQuicErrorCount =
258 net::QUIC_LAST_ERROR - kDeprecatedQuicErrorCount; 261 net::QUIC_LAST_ERROR - kDeprecatedQuicErrorCount;
(...skipping 14 matching lines...) Expand all
273 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error; 276 *beacon_quic_error_out = kQuicErrorMap[i].beacon_quic_error;
274 return true; 277 return true;
275 } 278 }
276 } 279 }
277 } 280 }
278 beacon_quic_error_out->clear(); 281 beacon_quic_error_out->clear();
279 return false; 282 return false;
280 } 283 }
281 284
282 } // namespace domain_reliability 285 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698