Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: net/quic/quic_connection_logger.h

Issue 1433783004: Replace QuicEncryptedPacket argument in QuicConnectionDebugVisitor::OnPacketSent with an encrypted … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106990301
Patch Set: Fix quic_connection_logger Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698