1 // Copyright (c) 2019 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_QUIC_UNACKED_PACKET_MAP_PEER_H_
6 #define QUICHE_QUIC_TEST_TOOLS_QUIC_UNACKED_PACKET_MAP_PEER_H_
7 
8 #include "quiche/quic/core/quic_unacked_packet_map.h"
9 
10 namespace quic {
11 namespace test {
12 
13 class QuicUnackedPacketMapPeer {
14  public:
15   static const QuicStreamFrame& GetAggregatedStreamFrame(
16       const QuicUnackedPacketMap& unacked_packets);
17 
18   static void SetPerspective(QuicUnackedPacketMap* unacked_packets,
19                              Perspective perspective);
20 
21   static size_t GetCapacity(const QuicUnackedPacketMap& unacked_packets);
22 };
23 
24 }  // namespace test
25 }  // namespace quic
26 
27 #endif  // QUICHE_QUIC_TEST_TOOLS_QUIC_UNACKED_PACKET_MAP_PEER_H_
28