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 #include "net/quic/quic_fec_group.h" | 5 #include "net/quic/quic_fec_group.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 } | 183 } |
184 | 184 |
185 QuicPacketCount QuicFecGroup::NumReceivedPackets() const { | 185 QuicPacketCount QuicFecGroup::NumReceivedPackets() const { |
186 return received_packets_.size(); | 186 return received_packets_.size(); |
187 } | 187 } |
188 | 188 |
189 EncryptionLevel QuicFecGroup::EffectiveEncryptionLevel() const { | 189 EncryptionLevel QuicFecGroup::EffectiveEncryptionLevel() const { |
190 return effective_encryption_level_; | 190 return effective_encryption_level_; |
191 } | 191 } |
192 | 192 |
| 193 QuicFecGroupNumber QuicFecGroup::FecGroupNumber() const { |
| 194 return min_protected_packet_; |
| 195 } |
| 196 |
193 } // namespace net | 197 } // namespace net |
OLD | NEW |