blob: 3bba0b6ced42d9064053c415d72455496cda308a [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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 "net/third_party/quiche/src/quic/core/quic_unacked_packet_map.h"
9
10namespace quic {
11namespace test {
12
13class 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
22} // namespace test
23} // namespace quic
24
25#endif // QUICHE_QUIC_TEST_TOOLS_QUIC_UNACKED_PACKET_MAP_PEER_H_