summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_test_util.cc
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 08:58:37 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 08:58:37 +0000
commit66ca8387165faa63b999b3d3080626cb4d8388b5 (patch)
treef3f33773a2c2a7814e54297eb30bb62e9fc65355 /net/spdy/spdy_test_util.cc
parent02c89fbf01c7c7decffcb109220a400863798f0f (diff)
downloadchromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.zip
chromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.tar.gz
chromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.tar.bz2
Revert "Add chunked uploads support to SPDY"
This reverts commit 8431a6e7be70b1b50b0d5b851bbe728b7fef220f. TBR=satish git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_test_util.cc')
-rw-r--r--net/spdy/spdy_test_util.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/net/spdy/spdy_test_util.cc b/net/spdy/spdy_test_util.cc
index 7e1711a..6342b16 100644
--- a/net/spdy/spdy_test_util.cc
+++ b/net/spdy/spdy_test_util.cc
@@ -672,35 +672,6 @@ spdy::SpdyFrame* ConstructSpdyPost(int64 content_length,
arraysize(post_headers));
}
-// Constructs a chunked transfer SPDY POST SYN packet.
-// |extra_headers| are the extra header-value pairs, which typically
-// will vary the most between calls.
-// Returns a SpdyFrame.
-spdy::SpdyFrame* ConstructChunkedSpdyPost(const char* const extra_headers[],
- int extra_header_count) {
- const char* post_headers[] = {
- "method",
- "POST",
- "url",
- "/",
- "host",
- "www.google.com",
- "scheme",
- "http",
- "version",
- "HTTP/1.1"
- };
- return ConstructSpdyControlFrame(extra_headers,
- extra_header_count,
- false,
- 1,
- LOWEST,
- spdy::SYN_STREAM,
- spdy::CONTROL_FLAG_NONE,
- post_headers,
- arraysize(post_headers));
-}
-
// Constructs a standard SPDY SYN_REPLY packet to match the SPDY POST.
// |extra_headers| are the extra header-value pairs, which typically
// will vary the most between calls.