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

Issue 247893002: HPACK: Add HpackHuffmanTable::EncodedSize() (Closed)

Created:
6 years, 8 months ago by Johnny
Modified:
6 years, 7 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

HPACK: Add HpackHuffmanTable::EncodedSize() EncodedSize() will be used by the HPACK encoder to select identity vs Huffman coding, without having to run the full Huffman coder. Also update tests to compare against EncodedSize() by default. This lands server change 65187740 by jgraettinger. HPACK unittest: Fixing memory error in Huffman test fixture. This lands server change 65328503 by jgraettinger. BUG=339578

Patch Set 1 #

Patch Set 2 : Also include cr/65328503 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -80 lines) Patch
M net/spdy/hpack_huffman_table.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/spdy/hpack_huffman_table.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M net/spdy/hpack_huffman_table_test.cc View 1 17 chunks +116 lines, -80 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Johnny
6 years, 8 months ago (2014-04-22 19:48:55 UTC) #1
Ryan Hamilton
6 years, 8 months ago (2014-04-22 20:29:51 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698