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

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

Issue 1562833003: relnote: Clear the FEC group in QuicPacketCreator when encryption_level is none and close the conne… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@26_CL_111359954
Patch Set: sync quic_error_map with quic_protocol Created 4 years, 11 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/quic_connection_test.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/util.h" 5 #include "components/domain_reliability/util.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Frame data is malformed. 84 // Frame data is malformed.
85 { net::QUIC_INVALID_FRAME_DATA, "quic.invalid_frame_data" }, 85 { net::QUIC_INVALID_FRAME_DATA, "quic.invalid_frame_data" },
86 // The packet contained no payload. 86 // The packet contained no payload.
87 { net::QUIC_MISSING_PAYLOAD, "quic.missing.payload" }, 87 { net::QUIC_MISSING_PAYLOAD, "quic.missing.payload" },
88 // FEC data is malformed. 88 // FEC data is malformed.
89 { net::QUIC_INVALID_FEC_DATA, "quic.invalid.fec_data" }, 89 { net::QUIC_INVALID_FEC_DATA, "quic.invalid.fec_data" },
90 // STREAM frame data is malformed. 90 // STREAM frame data is malformed.
91 { net::QUIC_INVALID_STREAM_DATA, "quic.invalid.stream_data" }, 91 { net::QUIC_INVALID_STREAM_DATA, "quic.invalid.stream_data" },
92 // STREAM frame data is not encrypted. 92 // STREAM frame data is not encrypted.
93 { net::QUIC_UNENCRYPTED_STREAM_DATA, "quic.unencrypted.stream_data" }, 93 { net::QUIC_UNENCRYPTED_STREAM_DATA, "quic.unencrypted.stream_data" },
94 // FEC frame data is not encrypted.
95 { net::QUIC_UNENCRYPTED_FEC_DATA, "quic.unencrypted.fec.data" },
94 // RST_STREAM frame data is malformed. 96 // RST_STREAM frame data is malformed.
95 { net::QUIC_INVALID_RST_STREAM_DATA, "quic.invalid.rst_stream_data" }, 97 { net::QUIC_INVALID_RST_STREAM_DATA, "quic.invalid.rst_stream_data" },
96 // CONNECTION_CLOSE frame data is malformed. 98 // CONNECTION_CLOSE frame data is malformed.
97 { net::QUIC_INVALID_CONNECTION_CLOSE_DATA, 99 { net::QUIC_INVALID_CONNECTION_CLOSE_DATA,
98 "quic.invalid.connection_close_data" }, 100 "quic.invalid.connection_close_data" },
99 // GOAWAY frame data is malformed. 101 // GOAWAY frame data is malformed.
100 { net::QUIC_INVALID_GOAWAY_DATA, "quic.invalid.goaway_data" }, 102 { net::QUIC_INVALID_GOAWAY_DATA, "quic.invalid.goaway_data" },
101 // WINDOW_UPDATE frame data is malformed. 103 // WINDOW_UPDATE frame data is malformed.
102 { net::QUIC_INVALID_WINDOW_UPDATE_DATA, "quic.invalid.window_update_data" }, 104 { net::QUIC_INVALID_WINDOW_UPDATE_DATA, "quic.invalid.window_update_data" },
103 // BLOCKED frame data is malformed. 105 // BLOCKED frame data is malformed.
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 ActualTime::~ActualTime() {} 439 ActualTime::~ActualTime() {}
438 440
439 base::Time ActualTime::Now() { return base::Time::Now(); } 441 base::Time ActualTime::Now() { return base::Time::Now(); }
440 base::TimeTicks ActualTime::NowTicks() { return base::TimeTicks::Now(); } 442 base::TimeTicks ActualTime::NowTicks() { return base::TimeTicks::Now(); }
441 443
442 scoped_ptr<MockableTime::Timer> ActualTime::CreateTimer() { 444 scoped_ptr<MockableTime::Timer> ActualTime::CreateTimer() {
443 return scoped_ptr<MockableTime::Timer>(new ActualTimer()); 445 return scoped_ptr<MockableTime::Timer>(new ActualTimer());
444 } 446 }
445 447
446 } // namespace domain_reliability 448 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698