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

Unified Diff: net/spdy/spdy_proxy_client_socket.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
Index: net/spdy/spdy_proxy_client_socket.cc
===================================================================
--- net/spdy/spdy_proxy_client_socket.cc (revision 144839)
+++ net/spdy/spdy_proxy_client_socket.cc (working copy)
@@ -458,6 +458,21 @@
return ERR_UNEXPECTED;
}
+int SpdyProxyClientSocket::OnSendChunkedBody() {
+ // Because we use |spdy_stream_| via STATE_OPEN (ala WebSockets)
+ // OnSendChunkedBody() should never be called.
+ NOTREACHED();
+ return ERR_UNEXPECTED;
+}
+
+int SpdyProxyClientSocket::OnSendChunkedBodyComplete(int /*status*/,
+ bool* /*eof*/) {
+ // Because we use |spdy_stream_| via STATE_OPEN (ala WebSockets)
+ // OnSendChunkedBodyComplete() should never be called.
+ NOTREACHED();
+ return ERR_UNEXPECTED;
+}
+
int SpdyProxyClientSocket::OnResponseReceived(
const SpdyHeaderBlock& response,
base::Time response_time,
@@ -550,4 +565,8 @@
void SpdyProxyClientSocket::set_chunk_callback(ChunkCallback* /*callback*/) {
}
+bool SpdyProxyClientSocket::IsRequestBodyChunked() {
+ return false;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698