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 | #include "net/third_party/quiche/src/quic/test_tools/quic_spdy_stream_peer.h" |
| 6 | |
| 7 | #include "net/third_party/quiche/src/quic/core/http/quic_spdy_stream.h" |
bnc | c057c01 | 2019-07-02 11:13:22 -0700 | [diff] [blame] | 8 | #include "net/third_party/quiche/src/quic/test_tools/quic_test_utils.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 9 | |
| 10 | namespace quic { |
| 11 | namespace test { |
| 12 | |
| 13 | // static |
| 14 | void QuicSpdyStreamPeer::set_ack_listener( |
| 15 | QuicSpdyStream* stream, |
| 16 | QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { |
| 17 | stream->set_ack_listener(std::move(ack_listener)); |
| 18 | } |
| 19 | |
| 20 | // static |
| 21 | const QuicIntervalSet<QuicStreamOffset>& |
| 22 | QuicSpdyStreamPeer::unacked_frame_headers_offsets(QuicSpdyStream* stream) { |
bnc | e7d1161 | 2019-04-16 05:07:06 -0700 | [diff] [blame] | 23 | return stream->unacked_frame_headers_offsets_; |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 24 | } |
| 25 | |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 26 | } // namespace test |
| 27 | } // namespace quic |