| Index: net/quic/quic_received_packet_manager.cc
|
| diff --git a/net/quic/quic_received_packet_manager.cc b/net/quic/quic_received_packet_manager.cc
|
| index 984aa6fec9fe829e034c3da1605e0dd07c598ea7..f4d121bbbf2bc00a51b2a6dd8bc30e98850ec87e 100644
|
| --- a/net/quic/quic_received_packet_manager.cc
|
| +++ b/net/quic/quic_received_packet_manager.cc
|
| @@ -287,6 +287,10 @@ void QuicReceivedPacketManager::UpdatePacketInformationSentByPeer(
|
| ack_frame_.missing_packets.Min() >= peer_least_packet_awaiting_ack_);
|
| }
|
|
|
| +bool QuicReceivedPacketManager::HasMissingPackets() const {
|
| + return !ack_frame_.missing_packets.Empty();
|
| +}
|
| +
|
| bool QuicReceivedPacketManager::HasNewMissingPackets() const {
|
| return !ack_frame_.missing_packets.Empty() &&
|
| (ack_frame_.largest_observed - ack_frame_.missing_packets.Max()) <=
|
|
|