Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1986)

Unified Diff: net/spdy/spdy_stream_spdy3_unittest.cc

Issue 15555003: [SPDY] Remove SpdyStream::Delegate::OnSendBody()'s return value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove return value Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_stream_spdy3_unittest.cc
diff --git a/net/spdy/spdy_stream_spdy3_unittest.cc b/net/spdy/spdy_stream_spdy3_unittest.cc
index 2c802118d3d80a16b1473b591bd3062dca0a1e42..a760034f19ed2282e6138e5bae10ca003bc69117 100644
--- a/net/spdy/spdy_stream_spdy3_unittest.cc
+++ b/net/spdy/spdy_stream_spdy3_unittest.cc
@@ -479,7 +479,7 @@ TEST_F(SpdyStreamSpdy3Test, ResumeAfterSendWindowSizeIncrease) {
std::min(kMaxSpdyFrameChunkSize, stream->send_window_size()));
}
- EXPECT_EQ(ERR_IO_PENDING, delegate.OnSendBody());
+ delegate.OnSendBody();
EXPECT_TRUE(stream->send_stalled_by_flow_control());
@@ -563,7 +563,7 @@ TEST_F(SpdyStreamSpdy3Test, ResumeAfterSendWindowSizeAdjust) {
std::min(kMaxSpdyFrameChunkSize, stream->send_window_size()));
}
- EXPECT_EQ(ERR_IO_PENDING, delegate.OnSendBody());
+ delegate.OnSendBody();
EXPECT_TRUE(stream->send_stalled_by_flow_control());

Powered by Google App Engine
This is Rietveld 408576698