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

Unified Diff: net/spdy/hpack_constants.h

Issue 485833002: HTTP2 draft 14 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ignore_result(). Created 6 years, 4 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 | « net/spdy/fuzzing/hpack_fuzz_util_test.cc ('k') | net/spdy/hpack_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_constants.h
diff --git a/net/spdy/hpack_constants.h b/net/spdy/hpack_constants.h
index d248619ef16122fe7c77fd2b838a279ae814f4da..74e865457b4d5e5727c608d651d40c488f6e201d 100644
--- a/net/spdy/hpack_constants.h
+++ b/net/spdy/hpack_constants.h
@@ -61,17 +61,9 @@ const HpackPrefix kLiteralNoIndexOpcode = { 0x0, 4 };
// 7.2.3: Opcode for a literal header field which is never indexed.
const HpackPrefix kLiteralNeverIndexOpcode = { 0x1, 4 };
-// 7.3: Opcode for an encoding context update.
-const HpackPrefix kEncodingContextOpcode = { 0x1, 3 };
-
-// 7.3: Flag following an |kEncodingContextOpcode|, which indicates
-// the reference set should be cleared.
-const HpackPrefix kEncodingContextEmptyReferenceSet = { 0x10, 5 };
-
-// 7.3: Flag following an |kEncodingContextOpcode|, which indicates
-// the encoder is using a new maximum headers table size. Begins a
-// varint-encoded table size with a 4-bit prefix.
-const HpackPrefix kEncodingContextNewMaximumSize = { 0x0, 1 };
+// 7.3: Opcode for maximum header table size update. Begins a varint-encoded
+// table size with a 5-bit prefix.
+const HpackPrefix kHeaderTableSizeUpdateOpcode = { 0x1, 3 };
// Returns symbol code table from "Appendix C. Huffman Codes".
NET_EXPORT_PRIVATE std::vector<HpackHuffmanSymbol> HpackHuffmanCode();
« no previous file with comments | « net/spdy/fuzzing/hpack_fuzz_util_test.cc ('k') | net/spdy/hpack_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698