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