| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // A convenience class to store rtt samples and calculate smoothed rtt. | 5 // A convenience class to store rtt samples and calculate smoothed rtt. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ | 7 #ifndef NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ |
| 8 #define NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ | 8 #define NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "net/quic/congestion_control/windowed_filter.h" | 15 #include "net/quic/core/congestion_control/windowed_filter.h" |
| 16 #include "net/quic/quic_bug_tracker.h" | 16 #include "net/quic/core/quic_bug_tracker.h" |
| 17 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/core/quic_protocol.h" |
| 18 #include "net/quic/quic_time.h" | 18 #include "net/quic/core/quic_time.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 namespace test { | 22 namespace test { |
| 23 class RttStatsPeer; | 23 class RttStatsPeer; |
| 24 } // namespace test | 24 } // namespace test |
| 25 | 25 |
| 26 class NET_EXPORT_PRIVATE RttStats { | 26 class NET_EXPORT_PRIVATE RttStats { |
| 27 public: | 27 public: |
| 28 RttStats(); | 28 RttStats(); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 QuicTime, | 104 QuicTime, |
| 105 QuicTime::Delta> | 105 QuicTime::Delta> |
| 106 windowed_min_rtt_; | 106 windowed_min_rtt_; |
| 107 | 107 |
| 108 DISALLOW_COPY_AND_ASSIGN(RttStats); | 108 DISALLOW_COPY_AND_ASSIGN(RttStats); |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } // namespace net | 111 } // namespace net |
| 112 | 112 |
| 113 #endif // NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ | 113 #endif // NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ |
| OLD | NEW |