Index: net/spdy/spdy_test_util_spdy3.cc |
diff --git a/net/spdy/spdy_test_util_spdy3.cc b/net/spdy/spdy_test_util_spdy3.cc |
index 0005366b67c999e216d4316cc50f551bf24d5405..56e823cabeee4b62e065e0b03910fb180d6f9c4e 100644 |
--- a/net/spdy/spdy_test_util_spdy3.cc |
+++ b/net/spdy/spdy_test_util_spdy3.cc |
@@ -200,8 +200,14 @@ SpdyFrame* ConstructSpdyPing(uint32 ping_id) { |
// Construct a SPDY GOAWAY frame. |
// Returns the constructed frame. The caller takes ownership of the frame. |
SpdyFrame* ConstructSpdyGoAway() { |
+ return ConstructSpdyGoAway(0); |
+} |
+ |
+// Construct a SPDY GOAWAY frame. |
akalin
2013/04/17 21:14:20
here too
Ryan Hamilton
2013/04/18 00:30:40
ditto :>
|
+// Returns the constructed frame. The caller takes ownership of the frame. |
+SpdyFrame* ConstructSpdyGoAway(SpdyStreamId last_good_stream_id) { |
BufferedSpdyFramer framer(3, false); |
- return framer.CreateGoAway(0, GOAWAY_OK); |
+ return framer.CreateGoAway(last_good_stream_id, GOAWAY_OK); |
} |
// Construct a SPDY WINDOW_UPDATE frame. |