summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_framer.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-14 18:25:33 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-14 18:25:33 +0000
commitc84b42002c558e2eaff044167b6c22a090c74bfc (patch)
treef838a2982b6f87108d9d3319fa1f530025e40a3e /net/spdy/spdy_framer.h
parentf46da80874c20d9c1fc64787bb79e324f74812f6 (diff)
downloadchromium_src-c84b42002c558e2eaff044167b6c22a090c74bfc.zip
chromium_src-c84b42002c558e2eaff044167b6c22a090c74bfc.tar.gz
chromium_src-c84b42002c558e2eaff044167b6c22a090c74bfc.tar.bz2
Revert "net: workaround compression leaks"
This reverts r151502. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_framer.h')
-rw-r--r--net/spdy/spdy_framer.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 93f60e7..1f82876 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -417,6 +417,9 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// Returns true if a frame could be compressed.
bool IsCompressible(const SpdyFrame& frame) const;
+ // Returns a new SpdyControlFrame with the compressed payload of |frame|.
+ SpdyControlFrame* CompressControlFrame(const SpdyControlFrame& frame);
+
// Get the minimum size of the control frame for the given control frame
// type. This is useful for validating frame blocks.
static size_t GetMinimumControlFrameSize(int version, SpdyControlType type);
@@ -525,9 +528,6 @@ class NET_EXPORT_PRIVATE SpdyFramer {
void WriteHeaderBlock(SpdyFrameBuilder* frame,
const SpdyHeaderBlock* headers) const;
- void WriteHeaderBlockToZ(const SpdyHeaderBlock* headers,
- z_stream* out) const;
-
// Set the error code and moves the framer into the error state.
void set_error(SpdyError error);
@@ -536,10 +536,6 @@ class NET_EXPORT_PRIVATE SpdyFramer {
bool GetFrameBoundaries(const SpdyFrame& frame, int* payload_length,
int* header_length, const char** payload) const;
- // Returns a new SpdyControlFrame with the compressed payload of |frame|.
- SpdyControlFrame* CompressControlFrame(const SpdyControlFrame& frame,
- const SpdyHeaderBlock* headers);
-
// The size of the control frame buffer.
// Since this is only used for control frame headers, the maximum control
// frame header size (SYN_STREAM) is sufficient; all remaining control