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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <bitset> | 10 #include <bitset> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) override; | 62 void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) override; |
63 void OnRstStreamFrame(const QuicRstStreamFrame& frame) override; | 63 void OnRstStreamFrame(const QuicRstStreamFrame& frame) override; |
64 void OnConnectionCloseFrame(const QuicConnectionCloseFrame& frame) override; | 64 void OnConnectionCloseFrame(const QuicConnectionCloseFrame& frame) override; |
65 void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; | 65 void OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; |
66 void OnBlockedFrame(const QuicBlockedFrame& frame) override; | 66 void OnBlockedFrame(const QuicBlockedFrame& frame) override; |
67 void OnGoAwayFrame(const QuicGoAwayFrame& frame) override; | 67 void OnGoAwayFrame(const QuicGoAwayFrame& frame) override; |
68 void OnPingFrame(const QuicPingFrame& frame) override; | 68 void OnPingFrame(const QuicPingFrame& frame) override; |
69 void OnPublicResetPacket(const QuicPublicResetPacket& packet) override; | 69 void OnPublicResetPacket(const QuicPublicResetPacket& packet) override; |
70 void OnVersionNegotiationPacket( | 70 void OnVersionNegotiationPacket( |
71 const QuicVersionNegotiationPacket& packet) override; | 71 const QuicVersionNegotiationPacket& packet) override; |
72 void OnRevivedPacket(const QuicPacketHeader& revived_header, | |
73 base::StringPiece payload) override; | |
74 void OnConnectionClosed(QuicErrorCode error, | 72 void OnConnectionClosed(QuicErrorCode error, |
75 ConnectionCloseSource source) override; | 73 ConnectionCloseSource source) override; |
76 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; | 74 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; |
77 void OnRttChanged(QuicTime::Delta rtt) const override; | 75 void OnRttChanged(QuicTime::Delta rtt) const override; |
78 | 76 |
79 void OnCryptoHandshakeMessageReceived(const CryptoHandshakeMessage& message); | 77 void OnCryptoHandshakeMessageReceived(const CryptoHandshakeMessage& message); |
80 void OnCryptoHandshakeMessageSent(const CryptoHandshakeMessage& message); | 78 void OnCryptoHandshakeMessageSent(const CryptoHandshakeMessage& message); |
81 void UpdateReceivedFrameCounts(QuicStreamId stream_id, | 79 void UpdateReceivedFrameCounts(QuicStreamId stream_id, |
82 int num_frames_received, | 80 int num_frames_received, |
83 int num_duplicate_frames_received); | 81 int num_duplicate_frames_received); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // Receives notifications regarding the performance of the underlying socket | 185 // Receives notifications regarding the performance of the underlying socket |
188 // for the QUIC connection. May be null. | 186 // for the QUIC connection. May be null. |
189 const scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 187 const scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
190 | 188 |
191 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 189 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
192 }; | 190 }; |
193 | 191 |
194 } // namespace net | 192 } // namespace net |
195 | 193 |
196 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 194 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
OLD | NEW |