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

Unified Diff: net/spdy/spdy_websocket_stream.h

Issue 15936003: [SPDY] Refactor SpdyStream::Delegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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_test_util.cc ('k') | net/spdy/spdy_websocket_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_websocket_stream.h
diff --git a/net/spdy/spdy_websocket_stream.h b/net/spdy/spdy_websocket_stream.h
index f5812b8adcec7f82d1584dc872301900c771a84b..903c0bce311368b546fdc47486fd343ee5297925 100644
--- a/net/spdy/spdy_websocket_stream.h
+++ b/net/spdy/spdy_websocket_stream.h
@@ -38,9 +38,10 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
// has been sent.
virtual void OnSentSpdyHeaders() = 0;
- // Called on corresponding to OnResponseReceived() or SPDY's SYN_STREAM,
- // SYN_REPLY, or HEADERS frames are received. This callback may be called
- // multiple times as SPDY's delegate does.
+ // Called on corresponding to OnResponseHeadersReceived() or
+ // SPDY's SYN_STREAM, SYN_REPLY, or HEADERS frames are
+ // received. This callback may be called multiple times as SPDY's
+ // delegate does.
virtual int OnReceivedSpdyResponseHeader(
const SpdyHeaderBlock& headers,
int status) = 0;
@@ -74,12 +75,10 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
void Close();
// SpdyStream::Delegate
- virtual void OnSendRequestHeadersComplete() OVERRIDE;
- virtual void OnSendBody() OVERRIDE;
- virtual void OnSendBodyComplete() OVERRIDE;
- virtual int OnResponseReceived(const SpdyHeaderBlock& response,
- base::Time response_time,
- int status) OVERRIDE;
+ virtual void OnRequestHeadersSent() OVERRIDE;
+ virtual int OnResponseHeadersReceived(const SpdyHeaderBlock& response,
+ base::Time response_time,
+ int status) OVERRIDE;
virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE;
virtual void OnDataSent() OVERRIDE;
virtual void OnClose(int status) OVERRIDE;
« no previous file with comments | « net/spdy/spdy_stream_test_util.cc ('k') | net/spdy/spdy_websocket_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698