diff options
Diffstat (limited to 'net/spdy/spdy_test_util.cc')
-rw-r--r-- | net/spdy/spdy_test_util.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/spdy/spdy_test_util.cc b/net/spdy/spdy_test_util.cc index 922bab6..697a3a6 100644 --- a/net/spdy/spdy_test_util.cc +++ b/net/spdy/spdy_test_util.cc @@ -385,13 +385,6 @@ spdy::SpdyFrame* ConstructSpdyBodyFrame() { return framer.CreateDataFrame(1, "hello!", 6, spdy::DATA_FLAG_FIN); } -// Constructs a single SPDY reset frame. -spdy::SpdyFrame* ConstructSpdyRstFrame() { - spdy::SpdyFramer framer; - return framer.CreateRstStream(1, spdy::CANCEL); - -} - // Construct an expected SPDY reply string. // |extra_headers| are the extra header-value pairs, which typically // will vary the most between calls. @@ -482,12 +475,6 @@ MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq) { true, req.data(), req.length() + spdy::SpdyFrame::size(), seq); } -// Create a MockWrite from the given SpdyFrame and sequence number. -MockWrite CreateMockWrite(spdy::SpdyFrame* req, int seq) { - return MockWrite( - true, req->data(), req->length() + spdy::SpdyFrame::size(), seq); -} - // Create a MockRead from the given SpdyFrame. MockRead CreateMockRead(const spdy::SpdyFrame& resp) { return MockRead( |