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

Side by Side Diff: net/quic/quic_connection_logger.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/quic/quic_connection.cc ('k') | net/quic/quic_connection_logger.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) 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 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 5 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_
6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void OnStreamFrame(const QuicStreamFrame& frame) OVERRIDE; 46 virtual void OnStreamFrame(const QuicStreamFrame& frame) OVERRIDE;
47 virtual void OnAckFrame(const QuicAckFrame& frame) OVERRIDE; 47 virtual void OnAckFrame(const QuicAckFrame& frame) OVERRIDE;
48 virtual void OnCongestionFeedbackFrame( 48 virtual void OnCongestionFeedbackFrame(
49 const QuicCongestionFeedbackFrame& frame) OVERRIDE; 49 const QuicCongestionFeedbackFrame& frame) OVERRIDE;
50 virtual void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) OVERRIDE; 50 virtual void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) OVERRIDE;
51 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE; 51 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE;
52 virtual void OnConnectionCloseFrame( 52 virtual void OnConnectionCloseFrame(
53 const QuicConnectionCloseFrame& frame) OVERRIDE; 53 const QuicConnectionCloseFrame& frame) OVERRIDE;
54 virtual void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) OVERRIDE; 54 virtual void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) OVERRIDE;
55 virtual void OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE; 55 virtual void OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE;
56 virtual void OnGoAwayFrame(const QuicGoAwayFrame& frame) OVERRIDE;
57 virtual void OnPingFrame(const QuicPingFrame& frame) OVERRIDE;
56 virtual void OnPublicResetPacket( 58 virtual void OnPublicResetPacket(
57 const QuicPublicResetPacket& packet) OVERRIDE; 59 const QuicPublicResetPacket& packet) OVERRIDE;
58 virtual void OnVersionNegotiationPacket( 60 virtual void OnVersionNegotiationPacket(
59 const QuicVersionNegotiationPacket& packet) OVERRIDE; 61 const QuicVersionNegotiationPacket& packet) OVERRIDE;
60 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header, 62 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header,
61 base::StringPiece payload) OVERRIDE; 63 base::StringPiece payload) OVERRIDE;
62 64
63 void OnCryptoHandshakeMessageReceived( 65 void OnCryptoHandshakeMessageReceived(
64 const CryptoHandshakeMessage& message); 66 const CryptoHandshakeMessage& message);
65 void OnCryptoHandshakeMessageSent( 67 void OnCryptoHandshakeMessageSent(
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // The available type of connection (WiFi, 3G, etc.) when connection was first 148 // The available type of connection (WiFi, 3G, etc.) when connection was first
147 // used. 149 // used.
148 const char* const connection_description_; 150 const char* const connection_description_;
149 151
150 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 152 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
151 }; 153 };
152 154
153 } // namespace net 155 } // namespace net
154 156
155 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 157 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698