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 |
| 11 #include <stddef.h> |
| 12 |
11 #include <deque> | 13 #include <deque> |
12 | 14 |
| 15 #include "base/macros.h" |
13 #include "net/quic/quic_config.h" | 16 #include "net/quic/quic_config.h" |
14 #include "net/quic/quic_framer.h" | 17 #include "net/quic/quic_framer.h" |
15 #include "net/quic/quic_protocol.h" | 18 #include "net/quic/quic_protocol.h" |
16 | 19 |
17 namespace net { | 20 namespace net { |
18 | 21 |
19 namespace test { | 22 namespace test { |
20 class EntropyTrackerPeer; | 23 class EntropyTrackerPeer; |
21 class QuicConnectionPeer; | 24 class QuicConnectionPeer; |
22 class QuicReceivedPacketManagerPeer; | 25 class QuicReceivedPacketManagerPeer; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 QuicTime time_largest_observed_; | 174 QuicTime time_largest_observed_; |
172 | 175 |
173 QuicConnectionStats* stats_; | 176 QuicConnectionStats* stats_; |
174 | 177 |
175 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); | 178 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); |
176 }; | 179 }; |
177 | 180 |
178 } // namespace net | 181 } // namespace net |
179 | 182 |
180 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ | 183 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ |
OLD | NEW |