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

Unified Diff: net/quic/quic_ack_notifier.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_ack_notifier.h
diff --git a/net/quic/quic_ack_notifier.h b/net/quic/quic_ack_notifier.h
index f19d0f8c6b995de6d157b3535cc94019de3452ca..f8d813ec7c1b13592c0438e665a4d75e50f06a5d 100644
--- a/net/quic/quic_ack_notifier.h
+++ b/net/quic/quic_ack_notifier.h
@@ -17,21 +17,18 @@ namespace net {
// trigger a call to a provided Closure.
class NET_EXPORT_PRIVATE QuicAckNotifier {
public:
- class NET_EXPORT_PRIVATE DelegateInterface
- : public base::RefCounted<DelegateInterface> {
+ class NET_EXPORT_PRIVATE DelegateInterface
+ : public base::RefCounted<DelegateInterface> {
public:
DelegateInterface();
// Args:
- // num_original_packets - Number of packets in the original transmission.
- // num_original_bytes - Number of packets in the original transmission.
// num_retransmitted_packets - Number of packets that had to be
// retransmitted.
// num_retransmitted_bytes - Number of bytes that had to be retransmitted.
- virtual void OnAckNotification(int num_original_packets,
- int num_original_bytes,
- int num_retransmitted_packets,
+ virtual void OnAckNotification(int num_retransmitted_packets,
int num_retransmitted_bytes,
QuicTime::Delta delta_largest_observed) = 0;
+
protected:
friend class base::RefCounted<DelegateInterface>;
@@ -83,11 +80,6 @@ class NET_EXPORT_PRIVATE QuicAckNotifier {
// delegate will not be called until this is empty.
base::hash_map<QuicPacketSequenceNumber, PacketInfo> sequence_numbers_;
- // Transmission and retransmission stats.
- // Number of packets in the original transmission.
- int original_packet_count_;
- // Number of packets in the original transmission.
- int original_byte_count_;
// Number of packets that had to be retransmitted.
int retransmitted_packet_count_;
// Number of bytes that had to be retransmitted.
« no previous file with comments | « net/quic/port_suggester.cc ('k') | net/quic/quic_ack_notifier.cc » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698