diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:42:34 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:42:34 +0000 |
commit | b32dad5244da13f39b02ca7913dbb5b0227461c3 (patch) | |
tree | 1a269cfc5d4ddc369ba62ea1c462fdb0d13f5e59 /net/spdy/spdy_test_util.cc | |
parent | 542e199c802fdb7b13ebdb8f575c9e404eb1dbf4 (diff) | |
download | chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.zip chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.tar.gz chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.tar.bz2 |
Revert 52352 - SPDY: Initial support for handling WINDOW_UPDATE frames and some cleanup.
BUG=48100
TEST=net_unittests --gtest_filter="SpdyProtocolTest.ControlFrameStructs:SpdyNetworkTransactionTest.WindowSizeChange:SpdyNetworkTransactionTest.WindowSizeOverflow"
Contributed by: agayev@google.com
Review URL: http://codereview.chromium.org/2807042
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/2908010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_test_util.cc')
-rw-r--r-- | net/spdy/spdy_test_util.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net/spdy/spdy_test_util.cc b/net/spdy/spdy_test_util.cc index 87da61b..697a3a6 100644 --- a/net/spdy/spdy_test_util.cc +++ b/net/spdy/spdy_test_util.cc @@ -190,22 +190,6 @@ spdy::SpdyFrame* ConstructSpdyGoAway() { return framer.CreateGoAway(0); } -// Construct a SPDY WINDOW_UPDATE frame. -// Returns the constructed frame. The caller takes ownership of the frame. -spdy::SpdyFrame* ConstructSpdyWindowUpdate( - const spdy::SpdyStreamId stream_id, uint32 delta_window_size) { - spdy::SpdyFramer framer; - return framer.CreateWindowUpdate(stream_id, delta_window_size); -} - -// Construct a SPDY RST_STREAM frame. -// Returns the constructed frame. The caller takes ownership of the frame. -spdy::SpdyFrame* ConstructSpdyRstStream(spdy::SpdyStreamId stream_id, - spdy::SpdyStatusCodes status) { - spdy::SpdyFramer framer; - return framer.CreateRstStream(stream_id, status); -} - // Construct a single SPDY header entry, for validation. // |extra_headers| are the extra header-value pairs. // |buffer| is the buffer we're filling in. |