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

Unified Diff: net/spdy/spdy_stream_test_util.h

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_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream_test_util.h
diff --git a/net/spdy/spdy_stream_test_util.h b/net/spdy/spdy_stream_test_util.h
index 2dacb63d1d3237aa1af90b0035f1d1ab44d98f07..334f1eb9f66bbee3e0b5ad84fb2737bb883b6582 100644
--- a/net/spdy/spdy_stream_test_util.h
+++ b/net/spdy/spdy_stream_test_util.h
@@ -27,7 +27,7 @@ class ClosingDelegate : public SpdyStream::Delegate {
// SpdyStream::Delegate implementation.
virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
- virtual int OnSendBody() OVERRIDE;
+ virtual void OnSendBody() OVERRIDE;
virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
@@ -52,7 +52,7 @@ class StreamDelegateBase : public SpdyStream::Delegate {
virtual ~StreamDelegateBase();
virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
- virtual int OnSendBody() = 0;
+ virtual void OnSendBody() = 0;
virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) = 0;
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
@@ -103,7 +103,7 @@ class StreamDelegateDoNothing : public StreamDelegateBase {
StreamDelegateDoNothing(const base::WeakPtr<SpdyStream>& stream);
virtual ~StreamDelegateDoNothing();
- virtual int OnSendBody() OVERRIDE;
+ virtual void OnSendBody() OVERRIDE;
virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
};
@@ -116,7 +116,7 @@ class StreamDelegateSendImmediate : public StreamDelegateBase {
base::StringPiece data);
virtual ~StreamDelegateSendImmediate();
- virtual int OnSendBody() OVERRIDE;
+ virtual void OnSendBody() OVERRIDE;
virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
@@ -135,7 +135,7 @@ class StreamDelegateWithBody : public StreamDelegateBase {
virtual ~StreamDelegateWithBody();
virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
- virtual int OnSendBody() OVERRIDE;
+ virtual void OnSendBody() OVERRIDE;
virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
int body_data_sent() const { return body_data_sent_; }
« no previous file with comments | « net/spdy/spdy_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_stream_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698