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

Unified Diff: net/spdy/spdy_stream.h

Issue 3020068: WebSocket over SPDY. (Closed)
Patch Set: fix unittests Created 10 years 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_framer.h ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index d3dd24264c11222f11e06521d95dbd86f2f63033..4aeb758b25f18ddc1e6363da4593d24cbdf84e3d 100644
--- a/net/spdy/spdy_stream.h
+++ b/net/spdy/spdy_stream.h
@@ -187,6 +187,8 @@ class SpdyStream : public base::RefCounted<SpdyStream> {
// |status| is an error code or OK.
void OnClose(int status);
+ // Close the stream.
+ void Close();
void Cancel();
bool cancelled() const { return cancelled_; }
bool closed() const { return io_state_ == STATE_DONE; }
« no previous file with comments | « net/spdy/spdy_framer.h ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698