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

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

Issue 1360253002: Log GOAWAY frame debug data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #12. Created 5 years, 2 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_unittest.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 <cstddef> 7 #include <cstddef>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const char* data, 244 const char* data,
245 size_t len, 245 size_t len,
246 bool fin) override {} 246 bool fin) override {}
247 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {} 247 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {}
248 void OnSettings(bool clear_persisted) override {} 248 void OnSettings(bool clear_persisted) override {}
249 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {} 249 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {}
250 void OnPing(SpdyPingId unique_id, bool is_ack) override {} 250 void OnPing(SpdyPingId unique_id, bool is_ack) override {}
251 void OnRstStream(SpdyStreamId stream_id, 251 void OnRstStream(SpdyStreamId stream_id,
252 SpdyRstStreamStatus status) override {} 252 SpdyRstStreamStatus status) override {}
253 void OnGoAway(SpdyStreamId last_accepted_stream_id, 253 void OnGoAway(SpdyStreamId last_accepted_stream_id,
254 SpdyGoAwayStatus status) override {} 254 SpdyGoAwayStatus status,
255 StringPiece debug_data) override {}
255 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} 256 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
256 void OnPushPromise(SpdyStreamId stream_id, 257 void OnPushPromise(SpdyStreamId stream_id,
257 SpdyStreamId promised_stream_id, 258 SpdyStreamId promised_stream_id,
258 const SpdyHeaderBlock& headers) override {} 259 const SpdyHeaderBlock& headers) override {}
259 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override { 260 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override {
260 return false; 261 return false;
261 } 262 }
262 263
263 private: 264 private:
264 SpdyPriority priority_; 265 SpdyPriority priority_;
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 } 1340 }
1340 } 1341 }
1341 1342
1342 void SpdyTestUtil::SetPriority(RequestPriority priority, 1343 void SpdyTestUtil::SetPriority(RequestPriority priority,
1343 SpdySynStreamIR* ir) const { 1344 SpdySynStreamIR* ir) const {
1344 ir->set_priority(ConvertRequestPriorityToSpdyPriority( 1345 ir->set_priority(ConvertRequestPriorityToSpdyPriority(
1345 priority, spdy_version())); 1346 priority, spdy_version()));
1346 } 1347 }
1347 1348
1348 } // namespace net 1349 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/tools/flip_server/spdy_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698