| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Manages the packet entropy calculation for both sent and received packets | 5 // Manages the packet entropy calculation for both sent and received packets |
| 6 // for a connection. | 6 // for a connection. |
| 7 | 7 |
| 8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ | 8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ |
| 9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ | 9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ |
| 10 | 10 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 ReceivedPacketInfo received_info_; | 143 ReceivedPacketInfo received_info_; |
| 144 | 144 |
| 145 // The time we received the largest_observed sequence number, or zero if | 145 // The time we received the largest_observed sequence number, or zero if |
| 146 // no sequence numbers have been received since UpdateReceivedPacketInfo. | 146 // no sequence numbers have been received since UpdateReceivedPacketInfo. |
| 147 // Needed for calculating delta_time_largest_observed. | 147 // Needed for calculating delta_time_largest_observed. |
| 148 QuicTime time_largest_observed_; | 148 QuicTime time_largest_observed_; |
| 149 | 149 |
| 150 scoped_ptr<ReceiveAlgorithmInterface> receive_algorithm_; | 150 scoped_ptr<ReceiveAlgorithmInterface> receive_algorithm_; |
| 151 | 151 |
| 152 QuicConnectionStats* stats_; | 152 QuicConnectionStats* stats_; |
| 153 |
| 154 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 } // namespace net | 157 } // namespace net |
| 156 | 158 |
| 157 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ | 159 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ |
| OLD | NEW |