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

Unified Diff: net/spdy/spdy_test_util_common.h

Issue 1326503003: Added a net::BidirectionalStream to expose a bidirectional streaming interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_test_util_common.h
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index 68bdfdf329666df99c4824f895991fbfd52f81df..87184a6955d0520f409a2e5457f88fc390d13297 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -468,6 +468,12 @@ class SpdyTestUtil {
const char* const headers[],
int header_count);
+ // Constructs a SPDY header frame with END_STREAM flag set to |fin|.
+ SpdyFrame* ConstructSpdyHeaderFrame(int stream_id,
+ const char* const headers[],
+ int header_count,
+ bool fin);
+
// Construct a SPDY syn (HEADERS or SYN_STREAM, depending on protocol
// version) carrying exactly the given headers and priority.
SpdyFrame* ConstructSpdySyn(int stream_id,

Powered by Google App Engine
This is Rietveld 408576698