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

Unified Diff: net/spdy/spdy_websocket_stream.cc

Issue 10689034: SPDY - chunked upload - speech recognition doesn't work with SPDY/3 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
« net/spdy/spdy_stream_spdy2_unittest.cc ('K') | « 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
===================================================================
--- net/spdy/spdy_websocket_stream.cc (revision 144839)
+++ net/spdy/spdy_websocket_stream.cc (working copy)
@@ -101,6 +101,17 @@
return ERR_UNEXPECTED;
}
+int SpdyWebSocketStream::OnSendChunkedBody() {
+ NOTREACHED();
+ return ERR_UNEXPECTED;
+}
+
+int SpdyWebSocketStream::OnSendChunkedBodyComplete(int status, bool* eof) {
+ NOTREACHED();
+ *eof = true;
+ return ERR_UNEXPECTED;
+}
+
int SpdyWebSocketStream::OnResponseReceived(
const SpdyHeaderBlock& response,
base::Time response_time, int status) {
@@ -133,6 +144,10 @@
// Do nothing. SpdyWebSocketStream doesn't send any chunked data.
}
+bool SpdyWebSocketStream::IsRequestBodyChunked() {
+ return false;
+}
+
void SpdyWebSocketStream::OnSpdyStreamCreated(int result) {
DCHECK_NE(ERR_IO_PENDING, result);
if (result == OK) {
« net/spdy/spdy_stream_spdy2_unittest.cc ('K') | « net/spdy/spdy_websocket_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698