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 // Tracks information about an FEC group, including the packets | 5 // Tracks information about an FEC group, including the packets |
6 // that have been seen, and the running parity. Provided the ability | 6 // that have been seen, and the running parity. Provided the ability |
7 // to revive a dropped packet. | 7 // to revive a dropped packet. |
8 | 8 |
9 #ifndef NET_QUIC_QUIC_FEC_GROUP_H_ | 9 #ifndef NET_QUIC_QUIC_FEC_GROUP_H_ |
10 #define NET_QUIC_QUIC_FEC_GROUP_H_ | 10 #define NET_QUIC_QUIC_FEC_GROUP_H_ |
11 | 11 |
12 #include <set> | 12 #include <set> |
13 | 13 |
14 #include "base/string_piece.h" | 14 #include "base/strings/string_piece.h" |
15 #include "net/quic/quic_protocol.h" | 15 #include "net/quic/quic_protocol.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class NET_EXPORT_PRIVATE QuicFecGroup { | 19 class NET_EXPORT_PRIVATE QuicFecGroup { |
20 public: | 20 public: |
21 QuicFecGroup(); | 21 QuicFecGroup(); |
22 ~QuicFecGroup(); | 22 ~QuicFecGroup(); |
23 | 23 |
24 // Updates the FEC group based on the delivery of a data packet. | 24 // Updates the FEC group based on the delivery of a data packet. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 char payload_parity_[kMaxPacketSize]; | 88 char payload_parity_[kMaxPacketSize]; |
89 size_t payload_parity_len_; | 89 size_t payload_parity_len_; |
90 bool entropy_parity_; | 90 bool entropy_parity_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(QuicFecGroup); | 92 DISALLOW_COPY_AND_ASSIGN(QuicFecGroup); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace net | 95 } // namespace net |
96 | 96 |
97 #endif // NET_QUIC_QUIC_FEC_GROUP_H_ | 97 #endif // NET_QUIC_QUIC_FEC_GROUP_H_ |
OLD | NEW |