| Index: net/spdy/spdy_test_util_common.cc
|
| diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
|
| index 913287c34dbc302b01ba2b81eaf464d039b75db3..36e94f42638a9528fc26a091195e73f06e39a434 100644
|
| --- a/net/spdy/spdy_test_util_common.cc
|
| +++ b/net/spdy/spdy_test_util_common.cc
|
| @@ -808,6 +808,19 @@ SpdySerializedFrame SpdyTestUtil::ConstructSpdyRstStream(
|
| headerless_spdy_framer_.SerializeRstStream(rst_ir));
|
| }
|
|
|
| +// TODO(jgraettinger): Eliminate uses of this method in tests (prefer
|
| +// SpdyPriorityIR).
|
| +SpdySerializedFrame SpdyTestUtil::ConstructSpdyPriority(
|
| + SpdyStreamId stream_id,
|
| + SpdyStreamId parent_stream_id,
|
| + RequestPriority request_priority,
|
| + bool exclusive) {
|
| + int weight = Spdy3PriorityToHttp2Weight(
|
| + ConvertRequestPriorityToSpdyPriority(request_priority));
|
| + SpdyPriorityIR ir(stream_id, parent_stream_id, weight, exclusive);
|
| + return SpdySerializedFrame(headerless_spdy_framer_.SerializePriority(ir));
|
| +}
|
| +
|
| SpdySerializedFrame SpdyTestUtil::ConstructSpdyGet(
|
| const char* const url,
|
| SpdyStreamId stream_id,
|
|
|