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

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

Issue 1997863002: Revert of Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/tools/flip_server/spdy_interface.h » ('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) 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_test_util_common.h" 5 #include "net/spdy/spdy_test_util_common.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <memory> 10 #include <memory>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 } 210 }
211 void OnDataFrameHeader(SpdyStreamId stream_id, 211 void OnDataFrameHeader(SpdyStreamId stream_id,
212 size_t length, 212 size_t length,
213 bool fin) override {} 213 bool fin) override {}
214 void OnStreamFrameData(SpdyStreamId stream_id, 214 void OnStreamFrameData(SpdyStreamId stream_id,
215 const char* data, 215 const char* data,
216 size_t len) override {} 216 size_t len) override {}
217 void OnStreamEnd(SpdyStreamId stream_id) override {} 217 void OnStreamEnd(SpdyStreamId stream_id) override {}
218 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {} 218 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {}
219 SpdyHeadersHandlerInterface* OnHeaderFrameStart(
220 SpdyStreamId stream_id) override {
221 return nullptr;
222 }
223 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {}
219 void OnSettings(bool clear_persisted) override {} 224 void OnSettings(bool clear_persisted) override {}
220 void OnSetting(SpdySettingsIds id, uint8_t flags, uint32_t value) override {} 225 void OnSetting(SpdySettingsIds id, uint8_t flags, uint32_t value) override {}
221 void OnPing(SpdyPingId unique_id, bool is_ack) override {} 226 void OnPing(SpdyPingId unique_id, bool is_ack) override {}
222 void OnRstStream(SpdyStreamId stream_id, 227 void OnRstStream(SpdyStreamId stream_id,
223 SpdyRstStreamStatus status) override {} 228 SpdyRstStreamStatus status) override {}
224 void OnGoAway(SpdyStreamId last_accepted_stream_id, 229 void OnGoAway(SpdyStreamId last_accepted_stream_id,
225 SpdyGoAwayStatus status, 230 SpdyGoAwayStatus status,
226 base::StringPiece debug_data) override {} 231 base::StringPiece debug_data) override {}
227 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} 232 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
228 void OnPushPromise(SpdyStreamId stream_id, 233 void OnPushPromise(SpdyStreamId stream_id,
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 } 1314 }
1310 } 1315 }
1311 1316
1312 void SpdyTestUtil::SetPriority(RequestPriority priority, 1317 void SpdyTestUtil::SetPriority(RequestPriority priority,
1313 SpdySynStreamIR* ir) const { 1318 SpdySynStreamIR* ir) const {
1314 ir->set_priority(ConvertRequestPriorityToSpdyPriority( 1319 ir->set_priority(ConvertRequestPriorityToSpdyPriority(
1315 priority, spdy_version())); 1320 priority, spdy_version()));
1316 } 1321 }
1317 1322
1318 } // namespace net 1323 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/tools/flip_server/spdy_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698