xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_encoder_peer.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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_QPACK_QPACK_ENCODER_PEER_H_
6 #define QUICHE_QUIC_TEST_TOOLS_QPACK_QPACK_ENCODER_PEER_H_
7 
8 #include <cstdint>
9 
10 namespace quic {
11 
12 class QpackEncoder;
13 class QpackEncoderHeaderTable;
14 
15 namespace test {
16 
17 class QpackEncoderPeer {
18  public:
19   QpackEncoderPeer() = delete;
20 
21   static QpackEncoderHeaderTable* header_table(QpackEncoder* encoder);
22   static uint64_t maximum_blocked_streams(const QpackEncoder* encoder);
23   static uint64_t smallest_blocking_index(const QpackEncoder* encoder);
24 };
25 
26 }  // namespace test
27 
28 }  // namespace quic
29 
30 #endif  // QUICHE_QUIC_TEST_TOOLS_QPACK_QPACK_ENCODER_PEER_H_
31