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

Unified Diff: net/spdy/spdy_framer_test.cc

Issue 2570513003: This change removes HpackEncoder::EncodeHeaderSetWithoutCompression() and the corresponding progres… (Closed)
Patch Set: Created 4 years 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 | « net/spdy/spdy_framer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer_test.cc
diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc
index 470707dcc0a732f0ea6b7d79e1dd0ff95161a3f1..4b0333b7bf76130a08aea4d12b736e5f2b1317ca 100644
--- a/net/spdy/spdy_framer_test.cc
+++ b/net/spdy/spdy_framer_test.cc
@@ -1175,7 +1175,8 @@ TEST_P(SpdyFramerTest, MultiValueHeader) {
header_set["name"] = value;
string buffer;
HpackEncoder encoder(ObtainHpackHuffmanTable());
- encoder.EncodeHeaderSetWithoutCompression(header_set, &buffer);
+ encoder.DisableCompression();
+ encoder.EncodeHeaderSet(header_set, &buffer);
frame.WriteBytes(&buffer[0], buffer.size());
// write the length
frame.RewriteLength(framer);
@@ -2343,7 +2344,8 @@ TEST_P(SpdyFramerTest, CreateContinuationUncompressed) {
header_block["foo"] = "bar";
auto buffer = base::MakeUnique<string>();
HpackEncoder encoder(ObtainHpackHuffmanTable());
- encoder.EncodeHeaderSetWithoutCompression(header_block, buffer.get());
+ encoder.DisableCompression();
+ encoder.EncodeHeaderSet(header_block, buffer.get());
SpdyContinuationIR continuation(42);
continuation.take_encoding(std::move(buffer));
« no previous file with comments | « net/spdy/spdy_framer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698