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..d16b7523abb9d974336e72bfe10c39908951f941 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -411,6 +411,15 @@ class SpdyTestUtil { |
RequestPriority request_priority, |
bool direct); |
+ // Same as above, but with an option to set the |fin| flag. |
+ SpdyFrame* ConstructSpdyGet(const char* const extra_headers[], |
+ int extra_header_count, |
+ bool compressed, |
+ int stream_id, |
+ RequestPriority request_priority, |
+ bool direct, |
+ bool fin); |
+ |
// Constructs a standard SPDY SYN_STREAM frame for a CONNECT request. |
SpdyFrame* ConstructSpdyConnect(const char* const extra_headers[], |
int extra_header_count, |
@@ -447,6 +456,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, |