Also test http2::HuffmanEncodeFast() in spdy::HpackEncoderTest.
spdy::HpackHuffmanTable::EncodeString() will be deprecated and replaced by
http2::HuffmanEncodeFast(). With this change, HpackEncoderTest generates data
using both and compares that against HpackEncoder which currently uses
spdy::HpackHuffmanTable::EncodeString() but will alternatively be using
http2::HuffmanEncodeFast() controlled by a flag, to provide extended test
coverage.
PiperOrigin-RevId: 335869311
Change-Id: If50b36933c0aec87a66279b54cf70c9452933c90
4 files changed