| 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. Provides the ability | 6 // that have been seen, and the running parity. Provides 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 <cstddef> | 12 #include <cstddef> |
| 13 | 13 |
| 14 #include "base/macros.h" |
| 14 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 15 #include "net/quic/quic_fec_group_interface.h" | 16 #include "net/quic/quic_fec_group_interface.h" |
| 16 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
| 17 | 18 |
| 18 namespace net { | 19 namespace net { |
| 19 | 20 |
| 20 class NET_EXPORT_PRIVATE QuicFecGroup : public QuicFecGroupInterface { | 21 class NET_EXPORT_PRIVATE QuicFecGroup : public QuicFecGroupInterface { |
| 21 public: | 22 public: |
| 22 explicit QuicFecGroup(QuicPacketNumber fec_group_number); | 23 explicit QuicFecGroup(QuicPacketNumber fec_group_number); |
| 23 virtual ~QuicFecGroup(); | 24 virtual ~QuicFecGroup(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // The effective encryption level, which is the lowest encryption level of | 67 // The effective encryption level, which is the lowest encryption level of |
| 67 // the data and FEC in the group. | 68 // the data and FEC in the group. |
| 68 EncryptionLevel effective_encryption_level_; | 69 EncryptionLevel effective_encryption_level_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(QuicFecGroup); | 71 DISALLOW_COPY_AND_ASSIGN(QuicFecGroup); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace net | 74 } // namespace net |
| 74 | 75 |
| 75 #endif // NET_QUIC_QUIC_FEC_GROUP_H_ | 76 #endif // NET_QUIC_QUIC_FEC_GROUP_H_ |
| OLD | NEW |