summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_framer.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 22:18:56 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 22:18:56 +0000
commit2ef84db84a57147d906b72aa39060b0a7b31febe (patch)
tree240dfb09ec6ee0db10f2fbf191c590401d439637 /net/spdy/spdy_framer.h
parentfbc369321ea0cd33f00e76baaef4dd6d4cbed082 (diff)
downloadchromium_src-2ef84db84a57147d906b72aa39060b0a7b31febe.zip
chromium_src-2ef84db84a57147d906b72aa39060b0a7b31febe.tar.gz
chromium_src-2ef84db84a57147d906b72aa39060b0a7b31febe.tar.bz2
Getting rid of SpdyFramer::GetControlFrameStreamId(), which cleans up the code and also makes it easier to move forward with SPDY 4 work.
This lands server change 42008414. Review URL: https://codereview.chromium.org/12207148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_framer.h')
-rw-r--r--net/spdy/spdy_framer.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index e7cd38e..9cef56c 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -475,12 +475,6 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// Returns true if a frame could be compressed.
bool IsCompressible(const SpdyFrame& frame) const;
- // Get the stream ID for the given control frame (SYN_STREAM, SYN_REPLY, and
- // HEADERS). If the control frame is NULL or of another type, this
- // function returns kInvalidStream.
- static SpdyStreamId GetControlFrameStreamId(
- const SpdyControlFrame* control_frame);
-
// For ease of testing and experimentation we can tweak compression on/off.
void set_enable_compression(bool value) {
enable_compression_ = value;
@@ -567,14 +561,14 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// in decompressed form, in chunks. Returns true if the visitor has
// accepted all of the chunks.
bool IncrementallyDecompressControlFrameHeaderData(
- const SpdyControlFrame* frame,
+ SpdyStreamId stream_id,
const char* data,
size_t len);
// 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.
- bool IncrementallyDeliverControlFrameHeaderData(const SpdyControlFrame* frame,
+ bool IncrementallyDeliverControlFrameHeaderData(SpdyStreamId stream_id,
const char* data,
size_t len);