Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / quic / quic_ack_notifier_manager.h
index 5ddf794..bf5b345 100644 (file)
@@ -31,7 +31,6 @@ class QuicAckNotifier;
 // a set of AckNotifiers and a map from sequence number to AckNotifier the sake
 // of efficiency - we can quickly check the map to see if any AckNotifiers are
 // interested in a given sequence number.
-
 class NET_EXPORT_PRIVATE AckNotifierManager {
  public:
   AckNotifierManager();
@@ -40,7 +39,8 @@ class NET_EXPORT_PRIVATE AckNotifierManager {
   // Called when the connection receives a new AckFrame.  If |sequence_number|
   // exists in ack_notifier_map_ then the corresponding AckNotifiers will have
   // their OnAck method called.
-  void OnPacketAcked(QuicPacketSequenceNumber sequence_number);
+  void OnPacketAcked(QuicPacketSequenceNumber sequence_number,
+                     QuicTime::Delta delta_largest_observed);
 
   // If a packet has been retransmitted with a new sequence number, then this
   // will be called. It updates the mapping in ack_notifier_map_, and also
@@ -71,6 +71,8 @@ class NET_EXPORT_PRIVATE AckNotifierManager {
   // number, call OnAck for all mapped AckNotifiers.
   // Does not own the AckNotifiers.
   AckNotifierMap ack_notifier_map_;
+
+  DISALLOW_COPY_AND_ASSIGN(AckNotifierManager);
 };
 
 }  // namespace net