| 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_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ | 5 #ifndef NET_QUIC_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ |
| 6 #define NET_QUIC_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ | 6 #define NET_QUIC_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher, | 39 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher, |
| 40 const NetLogWithSource& net_log); | 40 const NetLogWithSource& net_log); |
| 41 | 41 |
| 42 ~QuicConnectionLogger() override; | 42 ~QuicConnectionLogger() override; |
| 43 | 43 |
| 44 // QuicPacketCreator::DebugDelegateInterface | 44 // QuicPacketCreator::DebugDelegateInterface |
| 45 void OnFrameAddedToPacket(const QuicFrame& frame) override; | 45 void OnFrameAddedToPacket(const QuicFrame& frame) override; |
| 46 | 46 |
| 47 // QuicConnectionDebugVisitorInterface | 47 // QuicConnectionDebugVisitorInterface |
| 48 void OnPacketSent(const SerializedPacket& serialized_packet, | 48 void OnPacketSent(const SerializedPacket& serialized_packet, |
| 49 QuicPathId original_path_id, | |
| 50 QuicPacketNumber original_packet_number, | 49 QuicPacketNumber original_packet_number, |
| 51 TransmissionType transmission_type, | 50 TransmissionType transmission_type, |
| 52 QuicTime sent_time) override; | 51 QuicTime sent_time) override; |
| 53 void OnPingSent() override; | 52 void OnPingSent() override; |
| 54 void OnPacketReceived(const QuicSocketAddress& self_address, | 53 void OnPacketReceived(const QuicSocketAddress& self_address, |
| 55 const QuicSocketAddress& peer_address, | 54 const QuicSocketAddress& peer_address, |
| 56 const QuicEncryptedPacket& packet) override; | 55 const QuicEncryptedPacket& packet) override; |
| 57 void OnUnauthenticatedHeader(const QuicPacketHeader& header) override; | 56 void OnUnauthenticatedHeader(const QuicPacketHeader& header) override; |
| 58 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; | 57 void OnIncorrectConnectionId(QuicConnectionId connection_id) override; |
| 59 void OnUndecryptablePacket() override; | 58 void OnUndecryptablePacket() override; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // Receives notifications regarding the performance of the underlying socket | 154 // Receives notifications regarding the performance of the underlying socket |
| 156 // for the QUIC connection. May be null. | 155 // for the QUIC connection. May be null. |
| 157 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 156 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
| 158 | 157 |
| 159 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 158 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
| 160 }; | 159 }; |
| 161 | 160 |
| 162 } // namespace net | 161 } // namespace net |
| 163 | 162 |
| 164 #endif // NET_QUIC_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ | 163 #endif // NET_QUIC_CHROMIUM_QUIC_CONNECTION_LOGGER_H_ |
| OLD | NEW |