| Index: net/spdy/spdy_framer.h
|
| diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
|
| index f4c8abe3a330f6a0d2311f218a11f95dfd4adabd..31efd86134af1eaddecc91eb9a07d825f59c22e3 100644
|
| --- a/net/spdy/spdy_framer.h
|
| +++ b/net/spdy/spdy_framer.h
|
| @@ -504,6 +504,14 @@ class NET_EXPORT_PRIVATE SpdyFramer {
|
| SpdyPriority GetLowestPriority() const { return spdy_version_ < 3 ? 3 : 7; }
|
| SpdyPriority GetHighestPriority() const { return 0; }
|
|
|
| + // Deliver the given control frame's compressed headers block to the visitor
|
| + // in decompressed form, in chunks. Returns true if the visitor has
|
| + // accepted all of the chunks.
|
| + bool IncrementallyDecompressControlFrameHeaderData(
|
| + SpdyStreamId stream_id,
|
| + const char* data,
|
| + size_t len);
|
| +
|
| protected:
|
| FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, BasicCompression);
|
| FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, ControlFrameSizesAreValidated);
|
| @@ -556,14 +564,7 @@ class NET_EXPORT_PRIVATE SpdyFramer {
|
| z_stream* GetHeaderCompressor();
|
| z_stream* GetHeaderDecompressor();
|
|
|
| - // Deliver the given control frame's compressed headers block to the visitor
|
| - // in decompressed form, in chunks. Returns true if the visitor has
|
| - // accepted all of the chunks.
|
| - bool IncrementallyDecompressControlFrameHeaderData(
|
| - SpdyStreamId stream_id,
|
| - const char* data,
|
| - size_t len);
|
| -
|
| + private:
|
| // Deliver the given control frame's uncompressed headers block to the
|
| // visitor in chunks. Returns true if the visitor has accepted all of the
|
| // chunks.
|
| @@ -585,7 +586,7 @@ class NET_EXPORT_PRIVATE SpdyFramer {
|
|
|
| void SerializeNameValueBlockWithoutCompression(
|
| SpdyFrameBuilder* builder,
|
| - const SpdyFrameWithNameValueBlockIR& frame) const;
|
| + const SpdyNameValueBlock& name_value_block) const;
|
|
|
| // Compresses automatically according to enable_compression_.
|
| void SerializeNameValueBlock(
|
|
|