QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 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 "net/third_party/quiche/src/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 | |
| 22 | } // namespace test |
| 23 | } // namespace quic |
| 24 | |
| 25 | #endif // QUICHE_QUIC_TEST_TOOLS_QUIC_UNACKED_PACKET_MAP_PEER_H_ |