summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_framer.h
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 23:02:18 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 23:02:18 +0000
commitb9c4b6e28a0e311342387903b82a2f43f02810d5 (patch)
treeaa467acc2c443ea731ad79b04e1b39693c0906ee /net/spdy/spdy_framer.h
parent456e9b09d076bc129e4360ef75b547de383e62bf (diff)
downloadchromium_src-b9c4b6e28a0e311342387903b82a2f43f02810d5.zip
chromium_src-b9c4b6e28a0e311342387903b82a2f43f02810d5.tar.gz
chromium_src-b9c4b6e28a0e311342387903b82a2f43f02810d5.tar.bz2
SPDY: Add support for WINDOW_UPDATE frame.
This provides the really basic serialization/deserialization of the frame, and does introduce a behavior change. BUG=48100 TEST=net_unittests --gtest_filter="SpdyProtocolTest.ControlFrameStructs" Review URL: http://codereview.chromium.org/2886009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_framer.h')
-rw-r--r--net/spdy/spdy_framer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 540da6d..c905dec 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -163,6 +163,11 @@ class SpdyFramer {
static SpdyGoAwayControlFrame* CreateGoAway(
SpdyStreamId last_accepted_stream_id);
+ // Creates an instance of SpdyWindowUpdateControlFrame. The WINDOW_UPDATE
+ // frame is used to implement per stream flow control in SPDY.
+ static SpdyWindowUpdateControlFrame* CreateWindowUpdate(
+ SpdyStreamId stream_id, uint32 delta_window_size);
+
// Creates an instance of SpdySettingsControlFrame. The SETTINGS frame is
// used to communicate name/value pairs relevant to the communication channel.
// TODO(mbelshe): add the name/value pairs!!