Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / net / quic / congestion_control / receive_algorithm_interface.h
index e2bae4b..cd96b02 100644 (file)
@@ -17,8 +17,7 @@ namespace net {
 
 class NET_EXPORT_PRIVATE ReceiveAlgorithmInterface {
  public:
-  static ReceiveAlgorithmInterface* Create(const QuicClock* clock,
-                                           CongestionFeedbackType type);
+  static ReceiveAlgorithmInterface* Create(CongestionFeedbackType type);
 
   virtual ~ReceiveAlgorithmInterface() {}
 
@@ -31,12 +30,9 @@ class NET_EXPORT_PRIVATE ReceiveAlgorithmInterface {
   // bytes: is the packet size in bytes including IP headers.
   // sequence_number: is the unique sequence number from the QUIC packet header.
   // timestamp: is the sent timestamp from the QUIC packet header.
-  // revived: is set if the packet is lost and then recovered with help of FEC
-  // (Forward Error Correction) packet(s).
   virtual void RecordIncomingPacket(QuicByteCount bytes,
                                     QuicPacketSequenceNumber sequence_number,
-                                    QuicTime timestamp,
-                                    bool revived) = 0;
+                                    QuicTime timestamp) = 0;
 };
 
 }  // namespace net