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

Side by Side Diff: net/spdy/spdy_websocket_test_util_spdy3.cc

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix flip_in_mem_edsm_server Created 8 years 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_test_util_spdy2.cc ('k') | net/tools/flip_server/spdy_interface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/spdy/spdy_websocket_test_util_spdy3.h" 5 #include "net/spdy/spdy_websocket_test_util_spdy3.h"
6 6
7 #include "net/spdy/buffered_spdy_framer.h" 7 #include "net/spdy/buffered_spdy_framer.h"
8 #include "net/spdy/spdy_http_utils.h" 8 #include "net/spdy/spdy_http_utils.h"
9 #include "net/spdy/spdy_test_util_spdy3.h" 9 #include "net/spdy/spdy_test_util_spdy3.h"
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 arraysize(kHeaders)); 145 arraysize(kHeaders));
146 } 146 }
147 147
148 SpdyFrame* ConstructSpdyWebSocketDataFrame( 148 SpdyFrame* ConstructSpdyWebSocketDataFrame(
149 const char* data, 149 const char* data,
150 int len, 150 int len,
151 SpdyStreamId stream_id, 151 SpdyStreamId stream_id,
152 bool fin) { 152 bool fin) {
153 153
154 // Construct SPDY data frame. 154 // Construct SPDY data frame.
155 BufferedSpdyFramer framer(3); 155 BufferedSpdyFramer framer(3, false);
156 return framer.CreateDataFrame( 156 return framer.CreateDataFrame(
157 stream_id, 157 stream_id,
158 data, 158 data,
159 len, 159 len,
160 fin ? DATA_FLAG_FIN : DATA_FLAG_NONE); 160 fin ? DATA_FLAG_FIN : DATA_FLAG_NONE);
161 } 161 }
162 162
163 } // namespace test_spdy3 163 } // namespace test_spdy3
164 164
165 } // namespace net 165 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_websocket_test_util_spdy2.cc ('k') | net/tools/flip_server/spdy_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698