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/quic/quic_connection.h

Issue 338933003: Log QuicGoAwayFrames and QuicPingFrames, sent and received, in net log. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documented GOAWAY fields Created 6 years, 6 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/base/net_log_event_type_list.h ('k') | net/quic/quic_connection.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 // The entity that handles framing writes for a Quic client or server. 5 // The entity that handles framing writes for a Quic client or server.
6 // Each QuicSession will have a connection associated with it. 6 // Each QuicSession will have a connection associated with it.
7 // 7 //
8 // On the server side, the Dispatcher handles the raw reads, and hands off 8 // On the server side, the Dispatcher handles the raw reads, and hands off
9 // packets via ProcessUdpPacket for framing and processing. 9 // packets via ProcessUdpPacket for framing and processing.
10 // 10 //
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // Called when a CongestionFeedbackFrame has been parsed. 153 // Called when a CongestionFeedbackFrame has been parsed.
154 virtual void OnCongestionFeedbackFrame( 154 virtual void OnCongestionFeedbackFrame(
155 const QuicCongestionFeedbackFrame& frame) {} 155 const QuicCongestionFeedbackFrame& frame) {}
156 156
157 // Called when a StopWaitingFrame has been parsed. 157 // Called when a StopWaitingFrame has been parsed.
158 virtual void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) {} 158 virtual void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) {}
159 159
160 // Called when a Ping has been parsed. 160 // Called when a Ping has been parsed.
161 virtual void OnPingFrame(const QuicPingFrame& frame) {} 161 virtual void OnPingFrame(const QuicPingFrame& frame) {}
162 162
163 // Called when a GoAway has been parsed.
164 virtual void OnGoAwayFrame(const QuicGoAwayFrame& frame) {}
165
163 // Called when a RstStreamFrame has been parsed. 166 // Called when a RstStreamFrame has been parsed.
164 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) {} 167 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) {}
165 168
166 // Called when a ConnectionCloseFrame has been parsed. 169 // Called when a ConnectionCloseFrame has been parsed.
167 virtual void OnConnectionCloseFrame( 170 virtual void OnConnectionCloseFrame(
168 const QuicConnectionCloseFrame& frame) {} 171 const QuicConnectionCloseFrame& frame) {}
169 172
170 // Called when a WindowUpdate has been parsed. 173 // Called when a WindowUpdate has been parsed.
171 virtual void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) {} 174 virtual void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) {}
172 175
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 // If non-empty this contains the set of versions received in a 767 // If non-empty this contains the set of versions received in a
765 // version negotiation packet. 768 // version negotiation packet.
766 QuicVersionVector server_supported_versions_; 769 QuicVersionVector server_supported_versions_;
767 770
768 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 771 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
769 }; 772 };
770 773
771 } // namespace net 774 } // namespace net
772 775
773 #endif // NET_QUIC_QUIC_CONNECTION_H_ 776 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698