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

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

Issue 289823002: SPDY4: SpdySession should send SETTINGS acknowledgements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_test_util.h ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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.h" 5 #include "net/spdy/spdy_websocket_test_util.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 9
10 namespace net { 10 namespace net {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 data, 143 data,
144 len, 144 len,
145 fin ? DATA_FLAG_FIN : DATA_FLAG_NONE); 145 fin ? DATA_FLAG_FIN : DATA_FLAG_NONE);
146 } 146 }
147 147
148 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettings( 148 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettings(
149 const SettingsMap& settings) const { 149 const SettingsMap& settings) const {
150 return spdy_util_.ConstructSpdySettings(settings); 150 return spdy_util_.ConstructSpdySettings(settings);
151 } 151 }
152 152
153 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettingsAck() const {
154 return spdy_util_.ConstructSpdySettingsAck();
155 }
156
153 SpdyMajorVersion SpdyWebSocketTestUtil::spdy_version() const { 157 SpdyMajorVersion SpdyWebSocketTestUtil::spdy_version() const {
154 return spdy_util_.spdy_version(); 158 return spdy_util_.spdy_version();
155 } 159 }
156 160
157 std::string SpdyWebSocketTestUtil::GetHeaderKey( 161 std::string SpdyWebSocketTestUtil::GetHeaderKey(
158 const std::string& key) const { 162 const std::string& key) const {
159 return (spdy_util_.is_spdy2() ? "" : ":") + key; 163 return (spdy_util_.is_spdy2() ? "" : ":") + key;
160 } 164 }
161 165
162 } // namespace net 166 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_websocket_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698