summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_test_util.h
diff options
context:
space:
mode:
authorlzheng@google.com <lzheng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:08:34 +0000
committerlzheng@google.com <lzheng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:08:34 +0000
commit6f8013422aeb79649086c0ee99b3fa453b3738af (patch)
tree88ee5593e3f06f367bd3f5c9d95ecaaf3f0b841a /net/spdy/spdy_test_util.h
parentdd9b904b47f8c529e20e9f4f87d8f019e2a594bc (diff)
downloadchromium_src-6f8013422aeb79649086c0ee99b3fa453b3738af.zip
chromium_src-6f8013422aeb79649086c0ee99b3fa453b3738af.tar.gz
chromium_src-6f8013422aeb79649086c0ee99b3fa453b3738af.tar.bz2
Add content-length to spdy post request header.
TEST=spdy_network_transaction_unittest.cc BUG=50545 Review URL: http://codereview.chromium.org/3023029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54378 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_test_util.h')
-rw-r--r--net/spdy/spdy_test_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_test_util.h b/net/spdy/spdy_test_util.h
index 4114fe2..0282763 100644
--- a/net/spdy/spdy_test_util.h
+++ b/net/spdy/spdy_test_util.h
@@ -181,7 +181,8 @@ spdy::SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[],
// |extra_headers| are the extra header-value pairs, which typically
// will vary the most between calls.
// Returns a SpdyFrame.
-spdy::SpdyFrame* ConstructSpdyPost(const char* const extra_headers[],
+spdy::SpdyFrame* ConstructSpdyPost(int64 content_length,
+ const char* const extra_headers[],
int extra_header_count);
// Constructs a standard SPDY SYN_REPLY packet to match the SPDY POST.