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 d95d4689109b4231461ba54b6fab9aba4adec60a..333e509fcc7827d12e470a4c4fded55d5ea147d6 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -336,6 +336,13 @@ class SpdyTestUtil { |
SpdySerializedFrame ConstructSpdyRstStream(SpdyStreamId stream_id, |
SpdyRstStreamStatus status); |
+ // Construct a PRIORITY frame. The weight is derived from |request_priority|. |
+ // Returns the constructed frame. The caller takes ownership of the frame. |
+ SpdySerializedFrame ConstructSpdyPriority(SpdyStreamId stream_id, |
+ SpdyStreamId parent_stream_id, |
+ RequestPriority request_priority, |
+ bool exclusive); |
+ |
// Constructs a standard SPDY GET HEADERS frame for |url| with header |
// compression. |
// |extra_headers| are the extra header-value pairs, which typically |