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

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: Use std::move Created 5 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
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 5316e3195359c5b6aabad488e4c23f2f96cf247e..053dc59fbb1473f22eac5623d0ec2d15bdad469d 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -447,6 +447,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