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 <bitset> | 8 #include <bitset> |
9 | 9 |
10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void OnPacketReceived(const IPEndPoint& self_address, | 44 void OnPacketReceived(const IPEndPoint& self_address, |
45 const IPEndPoint& peer_address, | 45 const IPEndPoint& peer_address, |
46 const QuicEncryptedPacket& packet) override; | 46 const QuicEncryptedPacket& packet) override; |
47 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; | 47 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; |
48 void OnUndecryptablePacket() override; | 48 void OnUndecryptablePacket() override; |
49 void OnDuplicatePacket(QuicPacketSequenceNumber sequence_number) override; | 49 void OnDuplicatePacket(QuicPacketSequenceNumber sequence_number) override; |
50 void OnProtocolVersionMismatch(QuicVersion version) override; | 50 void OnProtocolVersionMismatch(QuicVersion version) override; |
51 void OnPacketHeader(const QuicPacketHeader& header) override; | 51 void OnPacketHeader(const QuicPacketHeader& header) override; |
52 void OnStreamFrame(const QuicStreamFrame& frame) override; | 52 void OnStreamFrame(const QuicStreamFrame& frame) override; |
53 void OnAckFrame(const QuicAckFrame& frame) override; | 53 void OnAckFrame(const QuicAckFrame& frame) override; |
54 void OnCongestionFeedbackFrame( | |
55 const QuicCongestionFeedbackFrame& frame) override; | |
56 void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) override; | 54 void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) override; |
57 void OnRstStreamFrame(const QuicRstStreamFrame& frame) override; | 55 void OnRstStreamFrame(const QuicRstStreamFrame& frame) override; |
58 void OnConnectionCloseFrame(const QuicConnectionCloseFrame& frame) override; | 56 void OnConnectionCloseFrame(const QuicConnectionCloseFrame& frame) override; |
59 void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; | 57 void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; |
60 void OnBlockedFrame(const QuicBlockedFrame& frame) override; | 58 void OnBlockedFrame(const QuicBlockedFrame& frame) override; |
61 void OnGoAwayFrame(const QuicGoAwayFrame& frame) override; | 59 void OnGoAwayFrame(const QuicGoAwayFrame& frame) override; |
62 void OnPingFrame(const QuicPingFrame& frame) override; | 60 void OnPingFrame(const QuicPingFrame& frame) override; |
63 void OnPublicResetPacket(const QuicPublicResetPacket& packet) override; | 61 void OnPublicResetPacket(const QuicPublicResetPacket& packet) override; |
64 void OnVersionNegotiationPacket( | 62 void OnVersionNegotiationPacket( |
65 const QuicVersionNegotiationPacket& packet) override; | 63 const QuicVersionNegotiationPacket& packet) override; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // The available type of connection (WiFi, 3G, etc.) when connection was first | 164 // The available type of connection (WiFi, 3G, etc.) when connection was first |
167 // used. | 165 // used. |
168 const char* const connection_description_; | 166 const char* const connection_description_; |
169 | 167 |
170 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 168 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
171 }; | 169 }; |
172 | 170 |
173 } // namespace net | 171 } // namespace net |
174 | 172 |
175 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 173 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
OLD | NEW |