summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_test_util.h
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 16:16:59 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 16:16:59 +0000
commit018aabcf36470b5d2cd625d1b5e1ce4b70772138 (patch)
treebef5a32916a962632c57e18352ad17e8a1c086fd /net/spdy/spdy_test_util.h
parentc8386693c8e8cb4b9da464a62d1004cb3cc8efff (diff)
downloadchromium_src-018aabcf36470b5d2cd625d1b5e1ce4b70772138.zip
chromium_src-018aabcf36470b5d2cd625d1b5e1ce4b70772138.tar.gz
chromium_src-018aabcf36470b5d2cd625d1b5e1ce4b70772138.tar.bz2
Add unit test for Basic authentication over SPDY.
BUG=46620 TEST=net_unittests --gtest_filter="*SpdyBasicAuth*" Review URL: http://codereview.chromium.org/4148009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_test_util.h')
-rw-r--r--net/spdy/spdy_test_util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/spdy/spdy_test_util.h b/net/spdy/spdy_test_util.h
index e3e85c8..aecf08e 100644
--- a/net/spdy/spdy_test_util.h
+++ b/net/spdy/spdy_test_util.h
@@ -260,8 +260,12 @@ spdy::SpdyFrame* ConstructSpdySynReplyError(int stream_id);
// Constructs a standard SPDY SYN_REPLY packet with the specified status code.
// Returns a SpdyFrame.
-spdy::SpdyFrame* ConstructSpdySynReplyError(const char* const status,
- int stream_id);
+spdy::SpdyFrame* ConstructSpdySynReplyError(
+ const char* const status,
+ const char* const* const extra_headers,
+ int extra_header_count,
+ int stream_id);
+
// Constructs a standard SPDY POST SYN packet.
// |extra_headers| are the extra header-value pairs, which typically
// will vary the most between calls.