Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Side by Side Diff: net/spdy/spdy_websocket_test_util.h

Issue 9582034: Fork SPDY/2 and SPDY/3 versions of our SPDY tests, in preparation for landing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix merge bug Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_websocket_stream_unittest.cc ('k') | net/spdy/spdy_websocket_test_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SPDY_SPDY_WEBSOCKET_TEST_UTIL_H_
6 #define NET_SPDY_SPDY_WEBSOCKET_TEST_UTIL_H_
7 #pragma once
8
9 #include "net/base/request_priority.h"
10 #include "net/spdy/spdy_protocol.h"
11
12 namespace net {
13
14 // Construct a WebSocket over SPDY handshake request packet.
15 spdy::SpdyFrame* ConstructSpdyWebSocketHandshakeRequestFrame(
16 const char* const headers[],
17 int header_count,
18 spdy::SpdyStreamId stream_id,
19 RequestPriority request_priority);
20
21 // Construct a WebSocket over SPDY handshake response packet.
22 spdy::SpdyFrame* ConstructSpdyWebSocketHandshakeResponseFrame(
23 const char* const headers[],
24 int header_count,
25 spdy::SpdyStreamId stream_id,
26 RequestPriority request_priority);
27
28 // Construct a WebSocket over SPDY data packet.
29 spdy::SpdyFrame* ConstructSpdyWebSocketDataFrame(
30 const char* data,
31 int len,
32 spdy::SpdyStreamId stream_id,
33 bool fin);
34
35 } // namespace net
36
37 #endif // NET_SPDY_SPDY_WEBSOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_websocket_stream_unittest.cc ('k') | net/spdy/spdy_websocket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698