blob: 896a5b0c7640984b685a724ce92a52a44fc75123 [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quic/test_tools/quic_spdy_stream_peer.h"
#include "quic/core/http/quic_spdy_stream.h"
#include "quic/test_tools/quic_test_utils.h"
namespace quic {
namespace test {
// static
void QuicSpdyStreamPeer::set_ack_listener(
QuicSpdyStream* stream,
QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) {
stream->set_ack_listener(std::move(ack_listener));
}
// static
const QuicIntervalSet<QuicStreamOffset>&
QuicSpdyStreamPeer::unacked_frame_headers_offsets(QuicSpdyStream* stream) {
return stream->unacked_frame_headers_offsets_;
}
} // namespace test
} // namespace quic