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

Side by Side Diff: net/tools/flip_server/spdy_interface.h

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_test_util_common.cc ('k') | net/tools/flip_server/spdy_interface_test.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 #ifndef NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ 5 #ifndef NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_
6 #define NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ 6 #define NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {} 118 void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) override {}
119 119
120 // Called when a PING frame has been parsed. 120 // Called when a PING frame has been parsed.
121 void OnPing(SpdyPingId unique_id, bool is_ack) override {} 121 void OnPing(SpdyPingId unique_id, bool is_ack) override {}
122 122
123 // Called when a RST_STREAM frame has been parsed. 123 // Called when a RST_STREAM frame has been parsed.
124 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override; 124 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override;
125 125
126 // Called when a GOAWAY frame has been parsed. 126 // Called when a GOAWAY frame has been parsed.
127 void OnGoAway(SpdyStreamId last_accepted_stream_id, 127 void OnGoAway(SpdyStreamId last_accepted_stream_id,
128 SpdyGoAwayStatus status) override {} 128 SpdyGoAwayStatus status,
129 StringPiece debug_data) override {}
129 130
130 // Called when a WINDOW_UPDATE frame has been parsed. 131 // Called when a WINDOW_UPDATE frame has been parsed.
131 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} 132 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
132 133
133 // Called when a PUSH_PROMISE frame has been parsed. 134 // Called when a PUSH_PROMISE frame has been parsed.
134 void OnPushPromise(SpdyStreamId stream_id, 135 void OnPushPromise(SpdyStreamId stream_id,
135 SpdyStreamId promised_stream_id, 136 SpdyStreamId promised_stream_id,
136 const SpdyHeaderBlock& headers) override {} 137 const SpdyHeaderBlock& headers) override {}
137 138
138 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override; 139 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 typedef std::map<uint32, SMInterface*> StreamToSmif; 217 typedef std::map<uint32, SMInterface*> StreamToSmif;
217 StreamToSmif stream_to_smif_; 218 StreamToSmif stream_to_smif_;
218 bool close_on_error_; 219 bool close_on_error_;
219 220
220 static std::string forward_ip_header_; 221 static std::string forward_ip_header_;
221 }; 222 };
222 223
223 } // namespace net 224 } // namespace net
224 225
225 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ 226 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/tools/flip_server/spdy_interface_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698