xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/rtt_stats_peer.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 "quiche/quic/core/congestion_control/rtt_stats.h"
9 #include "quiche/quic/core/quic_time.h"
10 
11 namespace quic {
12 namespace test {
13 
14 class RttStatsPeer {
15  public:
16   RttStatsPeer() = delete;
17 
18   static void SetSmoothedRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms);
19 
20   static void SetMinRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms);
21 };
22 
23 }  // namespace test
24 }  // namespace quic
25 
26 #endif  // QUICHE_QUIC_TEST_TOOLS_RTT_STATS_PEER_H_
27