Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: net/spdy/hpack_encoder_test.cc

Issue 980393003: Remove some dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert removal of DebugLogTableState() definition. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/spdy/hpack_huffman_table_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_encoder_test.cc
diff --git a/net/spdy/hpack_encoder_test.cc b/net/spdy/hpack_encoder_test.cc
index 50a6c86c9d966832a439326e0ff7cf01b89518bf..7bf37de2c194633a8d43e3c0b5a985494b6984af 100644
--- a/net/spdy/hpack_encoder_test.cc
+++ b/net/spdy/hpack_encoder_test.cc
@@ -45,9 +45,6 @@ class HpackEncoderPeer {
HpackHeaderTablePeer table_peer() {
return HpackHeaderTablePeer(table());
}
- bool allow_huffman_compression() {
- return encoder_->allow_huffman_compression_;
- }
void set_allow_huffman_compression(bool allow) {
encoder_->allow_huffman_compression_ = allow;
}
@@ -153,9 +150,6 @@ class HpackEncoderTest : public ::testing::Test {
EXPECT_TRUE(encoder_.EncodeHeaderSet(header_set, &actual_out));
EXPECT_EQ(expected_out, actual_out);
}
- size_t IndexOf(HpackEntry* entry) {
- return peer_.table()->IndexOf(entry);
- }
size_t IndexOf(const HpackEntry* entry) {
return peer_.table()->IndexOf(entry);
}
« no previous file with comments | « no previous file | net/spdy/hpack_huffman_table_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698