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

Unified Diff: net/spdy/spdy_session_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_session_spdy3_unittest.cc
===================================================================
--- net/spdy/spdy_session_spdy3_unittest.cc (revision 144839)
+++ net/spdy/spdy_session_spdy3_unittest.cc (working copy)
@@ -45,6 +45,14 @@
return ERR_UNEXPECTED;
}
+ virtual int OnSendChunkedBody() {
+ return ERR_UNEXPECTED;
+ }
+
+ virtual int OnSendChunkedBodyComplete(int /*status*/, bool* /*eof*/) {
+ return ERR_UNEXPECTED;
+ }
+
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
int status) {
@@ -65,6 +73,8 @@
virtual void set_chunk_callback(net::ChunkCallback *) {}
+ virtual bool IsRequestBodyChunked() { return false; }
+
private:
CompletionCallback callback_;
};

Powered by Google App Engine
This is Rietveld 408576698