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

Unified Diff: net/spdy/spdy_websocket_stream.cc

Issue 15555003: [SPDY] Remove SpdyStream::Delegate::OnSendBody()'s return value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo 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
« no previous file with comments | « net/spdy/spdy_websocket_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_websocket_stream.cc
diff --git a/net/spdy/spdy_websocket_stream.cc b/net/spdy/spdy_websocket_stream.cc
index d503fa225eb7a872ff22031cc4e1b36e69c6f17b..8dc2f4ab94d7964f8671a638bff5c4e08e1e6301 100644
--- a/net/spdy/spdy_websocket_stream.cc
+++ b/net/spdy/spdy_websocket_stream.cc
@@ -86,13 +86,12 @@ SpdySendStatus SpdyWebSocketStream::OnSendHeadersComplete() {
return NO_MORE_DATA_TO_SEND;
}
-int SpdyWebSocketStream::OnSendBody() {
- NOTREACHED();
- return ERR_UNEXPECTED;
+void SpdyWebSocketStream::OnSendBody() {
+ CHECK(false);
}
SpdySendStatus SpdyWebSocketStream::OnSendBodyComplete(size_t bytes_sent) {
- NOTREACHED();
+ CHECK(false);
return NO_MORE_DATA_TO_SEND;
}
« no previous file with comments | « net/spdy/spdy_websocket_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698