QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef QUICHE_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |
| 6 | #define QUICHE_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |
| 7 | |
| 8 | #include "base/macros.h" |
| 9 | #include "net/third_party/quiche/src/quic/core/congestion_control/rtt_stats.h" |
| 10 | #include "net/third_party/quiche/src/quic/core/quic_time.h" |
| 11 | |
| 12 | namespace quic { |
| 13 | namespace test { |
| 14 | |
| 15 | class RttStatsPeer { |
| 16 | public: |
| 17 | RttStatsPeer() = delete; |
| 18 | |
| 19 | static void SetSmoothedRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); |
| 20 | |
| 21 | static void SetMinRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms); |
| 22 | }; |
| 23 | |
| 24 | } // namespace test |
| 25 | } // namespace quic |
| 26 | |
| 27 | #endif // QUICHE_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_ |