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

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

Issue 515003002: Not used in production. Log whether a QUIC packet sent was a crypto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_ping_bug_73837644
Patch Set: Created 6 years, 3 months 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_sent_packet_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 QuicPacketSequenceNumber new_sequence_number, 64 QuicPacketSequenceNumber new_sequence_number,
65 TransmissionType transmission_type, 65 TransmissionType transmission_type,
66 QuicTime time) {} 66 QuicTime time) {}
67 67
68 virtual void OnIncomingAck( 68 virtual void OnIncomingAck(
69 const QuicAckFrame& ack_frame, 69 const QuicAckFrame& ack_frame,
70 QuicTime ack_receive_time, 70 QuicTime ack_receive_time,
71 QuicPacketSequenceNumber largest_observed, 71 QuicPacketSequenceNumber largest_observed,
72 bool largest_observed_acked, 72 bool largest_observed_acked,
73 QuicPacketSequenceNumber least_unacked_sent_packet) {} 73 QuicPacketSequenceNumber least_unacked_sent_packet) {}
74
75 virtual void OnSerializedPacket(
76 const SerializedPacket& packet) {}
74 }; 77 };
75 78
76 // Interface which gets callbacks from the QuicSentPacketManager when 79 // Interface which gets callbacks from the QuicSentPacketManager when
77 // network-related state changes. Implementations must not mutate the 80 // network-related state changes. Implementations must not mutate the
78 // state of the packet manager as a result of these callbacks. 81 // state of the packet manager as a result of these callbacks.
79 class NET_EXPORT_PRIVATE NetworkChangeVisitor { 82 class NET_EXPORT_PRIVATE NetworkChangeVisitor {
80 public: 83 public:
81 virtual ~NetworkChangeVisitor() {} 84 virtual ~NetworkChangeVisitor() {}
82 85
83 // Called when congestion window may have changed. 86 // Called when congestion window may have changed.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // Records bandwidth from server to client in normal operation, over periods 392 // Records bandwidth from server to client in normal operation, over periods
390 // of time with no loss events. 393 // of time with no loss events.
391 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 394 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
392 395
393 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 396 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
394 }; 397 };
395 398
396 } // namespace net 399 } // namespace net
397 400
398 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 401 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698