blob: cc5f010c0e1e6f6994cb17ba411176be1601a56d [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/qpack/qpack_encoder_peer.h"
#include "quic/core/qpack/qpack_encoder.h"
namespace quic {
namespace test {
// static
QpackEncoderHeaderTable* QpackEncoderPeer::header_table(QpackEncoder* encoder) {
return &encoder->header_table_;
}
// static
uint64_t QpackEncoderPeer::maximum_blocked_streams(
const QpackEncoder* encoder) {
return encoder->maximum_blocked_streams_;
}
// static
uint64_t QpackEncoderPeer::smallest_blocking_index(
const QpackEncoder* encoder) {
return encoder->blocking_manager_.smallest_blocking_index();
}
} // namespace test
} // namespace quic