summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream_unittest.cc
diff options
context:
space:
mode:
authoragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-05 21:04:19 +0000
committeragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-05 21:04:19 +0000
commit31024059f0a8b7e22c298fbe6657e33342357118 (patch)
tree0ed2f90e26875a7b216b2b777be17898c59c2a35 /net/spdy/spdy_stream_unittest.cc
parente20859e87ff4b3a1c31ebbc4ea4215450d3f80a8 (diff)
downloadchromium_src-31024059f0a8b7e22c298fbe6657e33342357118.zip
chromium_src-31024059f0a8b7e22c298fbe6657e33342357118.tar.gz
chromium_src-31024059f0a8b7e22c298fbe6657e33342357118.tar.bz2
SPDY: flow-control fix: resume I/O once a WINDOW_UPDATE frame is received for a stalled stream.
BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/3018019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream_unittest.cc')
-rw-r--r--net/spdy/spdy_stream_unittest.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/spdy/spdy_stream_unittest.cc b/net/spdy/spdy_stream_unittest.cc
index 94b08ec..03a5180 100644
--- a/net/spdy/spdy_stream_unittest.cc
+++ b/net/spdy/spdy_stream_unittest.cc
@@ -55,10 +55,14 @@ class TestSpdyStreamDelegate : public SpdyStream::Delegate {
ADD_FAILURE() << "OnSendBody should not be called";
return ERR_UNEXPECTED;
}
- virtual bool OnSendBodyComplete(int status) {
+ virtual void OnSendBodyComplete(int status) {
ADD_FAILURE() << "OnSendBodyComplete should not be called";
+ }
+
+ virtual bool IsFinishedSendingBody() {
return true;
}
+
virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response,
base::Time response_time,
int status) {