summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/quic/test_tools/qpack/qpack_header_table_peer.cc
blob: c554a97d1ce86a9d8a0ba6ff86dd3419c3bd26a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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 "net/third_party/quiche/src/quic/test_tools/qpack/qpack_header_table_peer.h"

#include "net/third_party/quiche/src/quic/core/qpack/qpack_header_table.h"

namespace quic {
namespace test {

// static
uint64_t QpackHeaderTablePeer::dynamic_table_capacity(
    const QpackHeaderTable* header_table) {
  return header_table->dynamic_table_capacity_;
}

// static
uint64_t QpackHeaderTablePeer::maximum_dynamic_table_capacity(
    const QpackHeaderTable* header_table) {
  return header_table->maximum_dynamic_table_capacity_;
}

}  // namespace test
}  // namespace quic