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

Unified Diff: net/spdy/spdy_stream_spdy3_unittest.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_stream_spdy3_unittest.cc
===================================================================
--- net/spdy/spdy_stream_spdy3_unittest.cc (revision 144839)
+++ net/spdy/spdy_stream_spdy3_unittest.cc (working copy)
@@ -47,6 +47,15 @@
return ERR_UNEXPECTED;
}
+ virtual int OnSendChunkedBody() {
+ ADD_FAILURE() << "OnSendChunkedBody should not be called";
+ return ERR_UNEXPECTED;
+ }
+ virtual int OnSendChunkedBodyComplete(int /*status*/, bool* /*eof*/) {
+ ADD_FAILURE() << "OnSendChunkedBodyComplete should not be called";
+ return ERR_UNEXPECTED;
+ }
+
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
int status) {
@@ -72,6 +81,7 @@
callback.Run(OK);
}
virtual void set_chunk_callback(net::ChunkCallback *) {}
+ virtual bool IsRequestBodyChunked() { return false; }
bool send_headers_completed() const { return send_headers_completed_; }
const linked_ptr<SpdyHeaderBlock>& response() const {

Powered by Google App Engine
This is Rietveld 408576698