| 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" | |
| 10 #include "base/logging.h" | 9 #include "base/logging.h" |
| 11 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
| 12 | 11 |
| 13 using base::StringPiece; | 12 using base::StringPiece; |
| 14 using std::numeric_limits; | 13 using std::numeric_limits; |
| 15 using std::set; | 14 using std::set; |
| 16 | 15 |
| 17 namespace net { | 16 namespace net { |
| 18 | 17 |
| 19 QuicFecGroup::QuicFecGroup(QuicPacketNumber fec_group_number) | 18 QuicFecGroup::QuicFecGroup(QuicPacketNumber fec_group_number) |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 | 187 |
| 189 EncryptionLevel QuicFecGroup::EffectiveEncryptionLevel() const { | 188 EncryptionLevel QuicFecGroup::EffectiveEncryptionLevel() const { |
| 190 return effective_encryption_level_; | 189 return effective_encryption_level_; |
| 191 } | 190 } |
| 192 | 191 |
| 193 QuicFecGroupNumber QuicFecGroup::FecGroupNumber() const { | 192 QuicFecGroupNumber QuicFecGroup::FecGroupNumber() const { |
| 194 return min_protected_packet_; | 193 return min_protected_packet_; |
| 195 } | 194 } |
| 196 | 195 |
| 197 } // namespace net | 196 } // namespace net |
| OLD | NEW |