OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/quic/congestion_control/rtt_stats.h" | 9 #include "net/quic/core/congestion_control/rtt_stats.h" |
10 #include "net/quic/quic_time.h" | 10 #include "net/quic/core/quic_time.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 namespace test { | 13 namespace test { |
14 | 14 |
15 class RttStatsPeer { | 15 class RttStatsPeer { |
16 public: | 16 public: |
17 static void SetSmoothedRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); | 17 static void SetSmoothedRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); |
18 | 18 |
19 static void SetMinRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); | 19 static void SetMinRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); |
20 | 20 |
21 private: | 21 private: |
22 DISALLOW_COPY_AND_ASSIGN(RttStatsPeer); | 22 DISALLOW_COPY_AND_ASSIGN(RttStatsPeer); |
23 }; | 23 }; |
24 | 24 |
25 } // namespace test | 25 } // namespace test |
26 } // namespace net | 26 } // namespace net |
27 | 27 |
28 #endif // NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ | 28 #endif // NET_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |
OLD | NEW |