OLD | NEW |
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 "net/quic/quic_connection.h" | 8 #include "net/quic/quic_connection.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // QuicConnectionDebugVisitorInterface | 26 // QuicConnectionDebugVisitorInterface |
27 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number, | 27 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number, |
28 EncryptionLevel level, | 28 EncryptionLevel level, |
29 const QuicEncryptedPacket& packet, | 29 const QuicEncryptedPacket& packet, |
30 int rv) OVERRIDE; | 30 int rv) OVERRIDE; |
31 | 31 |
32 virtual void OnPacketReceived(const IPEndPoint& self_address, | 32 virtual void OnPacketReceived(const IPEndPoint& self_address, |
33 const IPEndPoint& peer_address, | 33 const IPEndPoint& peer_address, |
34 const QuicEncryptedPacket& packet) OVERRIDE; | 34 const QuicEncryptedPacket& packet) OVERRIDE; |
35 virtual void OnProtocolVersionMismatch(QuicTag version) OVERRIDE; | 35 virtual void OnProtocolVersionMismatch(QuicVersion version) OVERRIDE; |
36 virtual void OnPacketHeader(const QuicPacketHeader& header) OVERRIDE; | 36 virtual void OnPacketHeader(const QuicPacketHeader& header) OVERRIDE; |
37 virtual void OnStreamFrame(const QuicStreamFrame& frame) OVERRIDE; | 37 virtual void OnStreamFrame(const QuicStreamFrame& frame) OVERRIDE; |
38 virtual void OnAckFrame(const QuicAckFrame& frame) OVERRIDE; | 38 virtual void OnAckFrame(const QuicAckFrame& frame) OVERRIDE; |
39 virtual void OnCongestionFeedbackFrame( | 39 virtual void OnCongestionFeedbackFrame( |
40 const QuicCongestionFeedbackFrame& frame) OVERRIDE; | 40 const QuicCongestionFeedbackFrame& frame) OVERRIDE; |
41 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE; | 41 virtual void OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE; |
42 virtual void OnConnectionCloseFrame( | 42 virtual void OnConnectionCloseFrame( |
43 const QuicConnectionCloseFrame& frame) OVERRIDE; | 43 const QuicConnectionCloseFrame& frame) OVERRIDE; |
44 virtual void OnPublicResetPacket( | 44 virtual void OnPublicResetPacket( |
45 const QuicPublicResetPacket& packet) OVERRIDE; | 45 const QuicPublicResetPacket& packet) OVERRIDE; |
(...skipping 14 matching lines...) Expand all Loading... |
60 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_; | 60 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_; |
61 // Number of times that the current received packet sequence number is | 61 // Number of times that the current received packet sequence number is |
62 // smaller than the last received packet sequence number. | 62 // smaller than the last received packet sequence number. |
63 size_t out_of_order_recieved_packet_count_; | 63 size_t out_of_order_recieved_packet_count_; |
64 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 64 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace net | 67 } // namespace net |
68 | 68 |
69 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 69 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
OLD | NEW |