bnc | a0c8f5a | 2019-08-04 11:49:03 -0700 | [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 | |
bnc | e42f7ad | 2019-10-25 17:46:31 -0700 | [diff] [blame] | 5 | #ifndef QUICHE_QUIC_TEST_TOOLS_QPACK_QPACK_HEADER_TABLE_PEER_H_ |
| 6 | #define QUICHE_QUIC_TEST_TOOLS_QPACK_QPACK_HEADER_TABLE_PEER_H_ |
bnc | a0c8f5a | 2019-08-04 11:49:03 -0700 | [diff] [blame] | 7 | |
| 8 | #include <cstdint> |
| 9 | |
| 10 | namespace quic { |
| 11 | |
| 12 | class QpackHeaderTable; |
| 13 | |
| 14 | namespace test { |
| 15 | |
| 16 | class QpackHeaderTablePeer { |
| 17 | public: |
| 18 | QpackHeaderTablePeer() = delete; |
| 19 | |
bnc | 40e9a7b | 2019-08-30 05:27:08 -0700 | [diff] [blame] | 20 | static uint64_t dynamic_table_capacity(const QpackHeaderTable* header_table); |
bnc | a0c8f5a | 2019-08-04 11:49:03 -0700 | [diff] [blame] | 21 | static uint64_t maximum_dynamic_table_capacity( |
| 22 | const QpackHeaderTable* header_table); |
| 23 | }; |
| 24 | |
| 25 | } // namespace test |
| 26 | |
| 27 | } // namespace quic |
| 28 | |
bnc | e42f7ad | 2019-10-25 17:46:31 -0700 | [diff] [blame] | 29 | #endif // QUICHE_QUIC_TEST_TOOLS_QPACK_QPACK_HEADER_TABLE_PEER_H_ |