Bence Béky | bac0405 | 2022-04-07 15:44:29 -0400 | [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_SPDY_STREAM_PEER_H_ |
| 6 | #define QUICHE_QUIC_TEST_TOOLS_QUIC_SPDY_STREAM_PEER_H_ |
| 7 | |
| 8 | #include "quiche/quic/core/quic_ack_listener_interface.h" |
| 9 | #include "quiche/quic/core/quic_interval_set.h" |
Bence Béky | bac0405 | 2022-04-07 15:44:29 -0400 | [diff] [blame] | 10 | |
| 11 | namespace quic { |
| 12 | |
| 13 | class QpackDecodedHeadersAccumulator; |
| 14 | class QuicSpdyStream; |
| 15 | |
| 16 | namespace test { |
| 17 | |
| 18 | class QuicSpdyStreamPeer { |
| 19 | public: |
| 20 | static void set_ack_listener( |
| 21 | QuicSpdyStream* stream, |
| 22 | quiche::QuicheReferenceCountedPointer<QuicAckListenerInterface> |
| 23 | ack_listener); |
| 24 | static const QuicIntervalSet<QuicStreamOffset>& unacked_frame_headers_offsets( |
| 25 | QuicSpdyStream* stream); |
Bence Béky | bac0405 | 2022-04-07 15:44:29 -0400 | [diff] [blame] | 26 | static bool OnHeadersFrameEnd(QuicSpdyStream* stream); |
| 27 | }; |
| 28 | |
| 29 | } // namespace test |
| 30 | |
| 31 | } // namespace quic |
| 32 | |
| 33 | #endif // QUICHE_QUIC_TEST_TOOLS_QUIC_SPDY_STREAM_PEER_H_ |