OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #include "net/quic/congestion_control/tcp_loss_algorithm.h" | 5 #include "net/quic/congestion_control/tcp_loss_algorithm.h" |
6 | 6 |
7 #include "net/quic/quic_protocol.h" | 7 #include "net/quic/quic_protocol.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 if (it->second.nack_count < num_nacks_needed) { | 41 if (it->second.nack_count < num_nacks_needed) { |
42 continue; | 42 continue; |
43 } | 43 } |
44 | 44 |
45 lost_packets.insert(it->first); | 45 lost_packets.insert(it->first); |
46 } | 46 } |
47 | 47 |
48 return lost_packets; | 48 return lost_packets; |
49 } | 49 } |
50 | 50 |
| 51 QuicTime TCPLossAlgorithm::GetLossTimeout() const { |
| 52 return QuicTime::Zero(); |
| 53 } |
| 54 |
51 } // namespace net | 55 } // namespace net |
OLD | NEW |