| 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 f04ad4205c34534efa7deec2395dfeee2a4ddb7d..38c4139aaa8e8a2f9520ee31b3d4e11765b10591 100644
|
| --- a/net/spdy/spdy_test_util_common.h
|
| +++ b/net/spdy/spdy_test_util_common.h
|
| @@ -465,6 +465,12 @@ class SpdyTestUtil {
|
| const char* const extra_headers[],
|
| int extra_header_count);
|
|
|
| + // Construct a SPDY reply (HEADERS or SYN_REPLY, depending on protocol
|
| + // version) carrying exactly the given headers, and the default priority
|
| + // (or no priority, depending on protocl version).
|
| + // The |headers| parameter variant is preferred.
|
| + SpdyFrame* ConstructSpdyReply(int stream_id, const SpdyHeaderBlock& headers);
|
| +
|
| // Constructs a standard SPDY SYN_REPLY frame to match the SPDY GET.
|
| // |extra_headers| are the extra header-value pairs, which typically
|
| // will vary the most between calls.
|
| @@ -532,6 +538,7 @@ class SpdyTestUtil {
|
|
|
| // For versions below SPDY4, adds the version HTTP/1.1 header.
|
| void MaybeAddVersionHeader(SpdyFrameWithNameValueBlockIR* frame_ir) const;
|
| + void MaybeAddVersionHeader(SpdyHeaderBlock* block) const;
|
|
|
| // Maps |priority| to SPDY version priority, and sets it on |frame_ir|.
|
| void SetPriority(RequestPriority priority, SpdySynStreamIR* frame_ir) const;
|
|
|