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

Side by Side Diff: net/quic/quic_fec_group.cc

Issue 1409813006: Remove QuicPacketCreator::fec_group_number_; replace it with QuicFecGroupInterface::FecGroupNumber(… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106425553
Patch Set: Created 5 years, 1 month 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 | « net/quic/quic_fec_group.h ('k') | net/quic/quic_fec_group_interface.h » ('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 (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
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
OLDNEW
« no previous file with comments | « net/quic/quic_fec_group.h ('k') | net/quic/quic_fec_group_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698