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

Side by Side Diff: net/quic/quic_connection.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 | « no previous file | net/quic/quic_connection.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The entity that handles framing writes for a Quic client or server. 5 // The entity that handles framing writes for a Quic client or server.
6 // Each QuicSession will have a connection associated with it. 6 // Each QuicSession will have a connection associated with it.
7 // 7 //
8 // On the server side, the Dispatcher handles the raw reads, and hands off 8 // On the server side, the Dispatcher handles the raw reads, and hands off
9 // packets via ProcessUdpPacket for framing and processing. 9 // packets via ProcessUdpPacket for framing and processing.
10 // 10 //
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 : public QuicPacketGenerator::DebugDelegate, 151 : public QuicPacketGenerator::DebugDelegate,
152 public QuicSentPacketManager::DebugDelegate { 152 public QuicSentPacketManager::DebugDelegate {
153 public: 153 public:
154 ~QuicConnectionDebugVisitor() override {} 154 ~QuicConnectionDebugVisitor() override {}
155 155
156 // Called when a packet has been sent. 156 // Called when a packet has been sent.
157 virtual void OnPacketSent(const SerializedPacket& serialized_packet, 157 virtual void OnPacketSent(const SerializedPacket& serialized_packet,
158 QuicPacketNumber original_packet_number, 158 QuicPacketNumber original_packet_number,
159 EncryptionLevel level, 159 EncryptionLevel level,
160 TransmissionType transmission_type, 160 TransmissionType transmission_type,
161 const QuicEncryptedPacket& packet, 161 size_t encrypted_length,
162 QuicTime sent_time) {} 162 QuicTime sent_time) {}
163 163
164 // Called when a packet has been received, but before it is 164 // Called when a packet has been received, but before it is
165 // validated or parsed. 165 // validated or parsed.
166 virtual void OnPacketReceived(const IPEndPoint& self_address, 166 virtual void OnPacketReceived(const IPEndPoint& self_address,
167 const IPEndPoint& peer_address, 167 const IPEndPoint& peer_address,
168 const QuicEncryptedPacket& packet) {} 168 const QuicEncryptedPacket& packet) {}
169 169
170 // Called when the unauthenticated portion of the header has been parsed. 170 // Called when the unauthenticated portion of the header has been parsed.
171 virtual void OnUnauthenticatedHeader(const QuicPacketHeader& header) {} 171 virtual void OnUnauthenticatedHeader(const QuicPacketHeader& header) {}
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 982
983 // Whether a GoAway has been received. 983 // Whether a GoAway has been received.
984 bool goaway_received_; 984 bool goaway_received_;
985 985
986 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 986 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
987 }; 987 };
988 988
989 } // namespace net 989 } // namespace net
990 990
991 #endif // NET_QUIC_QUIC_CONNECTION_H_ 991 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698