Remove unused accessor.
QpackHeaderTable::maximum_dynamic_table_capacity() and
QpackEncoder::maximum_dynamic_table_capacity() are never used in production.
And for tests we have QpackEncoderPeer and QpackHeaderTablePeer.
gfe-relnote: n/a, remove unused code.
PiperOrigin-RevId: 265088568
Change-Id: I4eb57d18338966667a075f36ad51433b4dd1e131
diff --git a/quic/core/qpack/qpack_encoder.h b/quic/core/qpack/qpack_encoder.h
index 67f1faa..993b76e 100644
--- a/quic/core/qpack/qpack_encoder.h
+++ b/quic/core/qpack/qpack_encoder.h
@@ -78,10 +78,6 @@
return &decoder_stream_receiver_;
}
- uint64_t maximum_dynamic_table_capacity() const {
- return header_table_.maximum_dynamic_table_capacity();
- }
-
private:
friend class test::QpackEncoderPeer;
diff --git a/quic/core/qpack/qpack_header_table.h b/quic/core/qpack/qpack_header_table.h
index 672c3ef..f251894 100644
--- a/quic/core/qpack/qpack_header_table.h
+++ b/quic/core/qpack/qpack_header_table.h
@@ -119,10 +119,6 @@
// The returned index might not be the index of a valid entry.
uint64_t draining_index(float draining_fraction) const;
- uint64_t maximum_dynamic_table_capacity() const {
- return maximum_dynamic_table_capacity_;
- }
-
private:
friend class test::QpackHeaderTablePeer;