Index: net/spdy/spdy_test_util.cc |
=================================================================== |
--- net/spdy/spdy_test_util.cc (revision 105385) |
+++ net/spdy/spdy_test_util.cc (working copy) |
@@ -196,6 +196,13 @@ |
return framer.CreateSettings(settings); |
} |
+// Construct a SPDY PING frame. |
+// Returns the constructed frame. The caller takes ownership of the frame. |
+spdy::SpdyFrame* ConstructSpdyPing() { |
+ spdy::SpdyFramer framer; |
+ return framer.CreatePingFrame(1); |
+} |
+ |
// Construct a SPDY GOAWAY frame. |
// Returns the constructed frame. The caller takes ownership of the frame. |
spdy::SpdyFrame* ConstructSpdyGoAway() { |