| 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 26 matching lines...) Expand all Loading... |
| 37 ~QuicConnectionLogger() override; | 37 ~QuicConnectionLogger() override; |
| 38 | 38 |
| 39 // QuicPacketGenerator::DebugDelegateInterface | 39 // QuicPacketGenerator::DebugDelegateInterface |
| 40 void OnFrameAddedToPacket(const QuicFrame& frame) override; | 40 void OnFrameAddedToPacket(const QuicFrame& frame) override; |
| 41 | 41 |
| 42 // QuicConnectionDebugVisitorInterface | 42 // QuicConnectionDebugVisitorInterface |
| 43 void OnPacketSent(const SerializedPacket& serialized_packet, | 43 void OnPacketSent(const SerializedPacket& serialized_packet, |
| 44 QuicPacketNumber original_packet_number, | 44 QuicPacketNumber original_packet_number, |
| 45 EncryptionLevel level, | 45 EncryptionLevel level, |
| 46 TransmissionType transmission_type, | 46 TransmissionType transmission_type, |
| 47 const QuicEncryptedPacket& packet, | 47 size_t encrypted_length, |
| 48 QuicTime sent_time) override; | 48 QuicTime sent_time) override; |
| 49 void OnPacketReceived(const IPEndPoint& self_address, | 49 void OnPacketReceived(const IPEndPoint& self_address, |
| 50 const IPEndPoint& peer_address, | 50 const IPEndPoint& peer_address, |
| 51 const QuicEncryptedPacket& packet) override; | 51 const QuicEncryptedPacket& packet) override; |
| 52 void OnUnauthenticatedHeader(const QuicPacketHeader& header) override; | 52 void OnUnauthenticatedHeader(const QuicPacketHeader& header) override; |
| 53 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; | 53 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; |
| 54 void OnUndecryptablePacket() override; | 54 void OnUndecryptablePacket() override; |
| 55 void OnDuplicatePacket(QuicPacketNumber packet_number) override; | 55 void OnDuplicatePacket(QuicPacketNumber packet_number) override; |
| 56 void OnProtocolVersionMismatch(QuicVersion version) override; | 56 void OnProtocolVersionMismatch(QuicVersion version) override; |
| 57 void OnPacketHeader(const QuicPacketHeader& header) override; | 57 void OnPacketHeader(const QuicPacketHeader& header) override; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Receives notifications regarding the performance of the underlying socket | 186 // Receives notifications regarding the performance of the underlying socket |
| 187 // for the QUIC connection. May be null. | 187 // for the QUIC connection. May be null. |
| 188 const scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 188 const scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
| 189 | 189 |
| 190 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 190 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 } // namespace net | 193 } // namespace net |
| 194 | 194 |
| 195 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 195 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
| OLD | NEW |