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 8f5dafb2d836eca0a9c02b7a41981ab7f6608d88..6531d1eaf7b6d42beeaa0263f72b0b29baa21d54 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -337,6 +337,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 |