blob: d7926bb685347cfab5d64674c1d1d04859f8816f [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#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"
bncc057c012019-07-02 11:13:22 -07008#include "net/third_party/quiche/src/quic/test_tools/quic_test_utils.h"
QUICHE teama6ef0a62019-03-07 20:34:33 -05009
10namespace quic {
11namespace test {
12
13// static
14void 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
21const QuicIntervalSet<QuicStreamOffset>&
22QuicSpdyStreamPeer::unacked_frame_headers_offsets(QuicSpdyStream* stream) {
bnce7d11612019-04-16 05:07:06 -070023 return stream->unacked_frame_headers_offsets_;
QUICHE teama6ef0a62019-03-07 20:34:33 -050024}
25
QUICHE teama6ef0a62019-03-07 20:34:33 -050026} // namespace test
27} // namespace quic