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

Unified Diff: net/quic/quic_connection.h

Issue 103973007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for android compile error Created 7 years 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
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 3cf338484b3cf63e0468528ee5c75f760b6f51a8..beb8985d4d1bdf887a82e0da6261a43511a70578 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -359,14 +359,10 @@ class NET_EXPORT_PRIVATE QuicConnection
// Sets up a packet with an QuicAckFrame and sends it out.
void SendAck();
- // Called when an RTO fires. Returns the time when this alarm
- // should next fire, or 0 if no retransmission alarm should be set.
+ // Called when an RTO fires. Resets the retransmission alarm if there are
+ // remaining unacked packets.
void OnRetransmissionTimeout();
- // Called when an alarm to abandon sent FEC packets fires. The alarm is set
- // by the same policy as the RTO alarm, but is a separate alarm.
- QuicTime OnAbandonFecTimeout();
-
// Retransmits all unacked packets with retransmittable frames if
// |retransmission_type| is ALL_PACKETS, otherwise retransmits only initially
// encrypted packets. Used when the negotiated protocol version is different
@@ -579,8 +575,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Sends a version negotiation packet to the peer.
void SendVersionNegotiationPacket();
- void SetupRetransmission(QuicPacketSequenceNumber sequence_number,
- EncryptionLevel level);
+ void SetupRetransmissionAlarm(QuicPacketSequenceNumber sequence_number);
bool IsRetransmission(QuicPacketSequenceNumber sequence_number);
void SetupAbandonFecTimer(QuicPacketSequenceNumber sequence_number);
@@ -708,8 +703,6 @@ class NET_EXPORT_PRIVATE QuicConnection
scoped_ptr<QuicAlarm> ack_alarm_;
// An alarm that fires when a packet needs to be retransmitted.
scoped_ptr<QuicAlarm> retransmission_alarm_;
- // An alarm that fires when one or more FEC packets are to be discarded.
- scoped_ptr<QuicAlarm> abandon_fec_alarm_;
// An alarm that is scheduled when the sent scheduler requires a
// a delay before sending packets and fires when the packet may be sent.
scoped_ptr<QuicAlarm> send_alarm_;
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698