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 58e1b0043cbbe0915580ea5cbb6b4bce3cdb6413..c244074c3ab41694c4435dcc21820c2ab22fa47b 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -537,6 +537,13 @@ class SpdyTestUtil { |
SpdyFrame* ConstructSpdyBodyFrame(int stream_id, const char* data, |
uint32 len, bool fin); |
+ // Constructs a single SPDY data frame with the given content and padding. |
+ SpdyFrame* ConstructSpdyBodyFrame(int stream_id, |
+ const char* data, |
+ uint32 len, |
+ bool fin, |
+ int padding_length); |
+ |
// Wraps |frame| in the payload of a data frame in stream |stream_id|. |
SpdyFrame* ConstructWrappedSpdyFrame(const scoped_ptr<SpdyFrame>& frame, |
int stream_id); |