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

Unified Diff: net/spdy/spdy_stream.h

Issue 10810069: SPDY: Add WriteHeaders interface to SpdySession and SpdyStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: support AddEvent Created 8 years, 5 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.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index 40e436a71d0821cff1b2763bbc5657f46dddd10c..9823fd07b8721708243aaa6f1926f1310ed2f937 100644
--- a/net/spdy/spdy_stream.h
+++ b/net/spdy/spdy_stream.h
@@ -222,6 +222,9 @@ class NET_EXPORT_PRIVATE SpdyStream
// For non push stream, it will send SYN_STREAM frame.
int SendRequest(bool has_upload_data);
+ // Sends a HEADERS frame.
+ int WriteHeaders(const SpdyHeaderBlock& headers, SpdyControlFlags flags);
+
// Sends DATA frame.
int WriteStreamData(IOBuffer* data, int length,
SpdyDataFlags flags);

Powered by Google App Engine
This is Rietveld 408576698