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

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

Issue 1413683005: Add new, unused methods to SpdyFramerVisitorInterface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile errors of flip_in_mem_edsm_server_unittests target. Created 5 years, 1 month 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 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 } 242 }
243 void OnDataFrameHeader(SpdyStreamId stream_id, 243 void OnDataFrameHeader(SpdyStreamId stream_id,
244 size_t length, 244 size_t length,
245 bool fin) override {} 245 bool fin) override {}
246 void OnStreamFrameData(SpdyStreamId stream_id, 246 void OnStreamFrameData(SpdyStreamId stream_id,
247 const char* data, 247 const char* data,
248 size_t len, 248 size_t len,
249 bool fin) override {} 249 bool fin) override {}
250 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {} 250 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {}
251 SpdyHeadersHandlerInterface* OnHeaderFrameStart(
252 SpdyStreamId stream_id) override {
253 return nullptr;
254 }
255 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {}
251 void OnSettings(bool clear_persisted) override {} 256 void OnSettings(bool clear_persisted) override {}
252 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {} 257 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {}
253 void OnPing(SpdyPingId unique_id, bool is_ack) override {} 258 void OnPing(SpdyPingId unique_id, bool is_ack) override {}
254 void OnRstStream(SpdyStreamId stream_id, 259 void OnRstStream(SpdyStreamId stream_id,
255 SpdyRstStreamStatus status) override {} 260 SpdyRstStreamStatus status) override {}
256 void OnGoAway(SpdyStreamId last_accepted_stream_id, 261 void OnGoAway(SpdyStreamId last_accepted_stream_id,
257 SpdyGoAwayStatus status, 262 SpdyGoAwayStatus status,
258 StringPiece debug_data) override {} 263 StringPiece debug_data) override {}
259 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} 264 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
260 void OnPushPromise(SpdyStreamId stream_id, 265 void OnPushPromise(SpdyStreamId stream_id,
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 } 1356 }
1352 } 1357 }
1353 1358
1354 void SpdyTestUtil::SetPriority(RequestPriority priority, 1359 void SpdyTestUtil::SetPriority(RequestPriority priority,
1355 SpdySynStreamIR* ir) const { 1360 SpdySynStreamIR* ir) const {
1356 ir->set_priority(ConvertRequestPriorityToSpdyPriority( 1361 ir->set_priority(ConvertRequestPriorityToSpdyPriority(
1357 priority, spdy_version())); 1362 priority, spdy_version()));
1358 } 1363 }
1359 1364
1360 } // namespace net 1365 } // 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