Index: net/quic/quic_unacked_packet_map.h |
diff --git a/net/quic/quic_unacked_packet_map.h b/net/quic/quic_unacked_packet_map.h |
index 6034837c05566a9dfa7f0b488cfa4670949fdcf5..d739b91ab7bac84cd257efea3ec77d0482e3d7aa 100644 |
--- a/net/quic/quic_unacked_packet_map.h |
+++ b/net/quic/quic_unacked_packet_map.h |
@@ -139,6 +139,9 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap { |
// Returns true if there are multiple packet pending. |
bool HasMultiplePendingPackets() const; |
+ // Returns true if there are any pending crypto packets. |
+ bool HasPendingCryptoPackets() const; |
+ |
// Removes entries from the unacked packet map, and deletes |
// the retransmittable frames associated with the packet. |
// Does not remove any previous or subsequent transmissions of this packet. |
@@ -162,6 +165,8 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap { |
UnackedPacketMap unacked_packets_; |
size_t bytes_in_flight_; |
+ // Number of outstanding crypto handshake packets. |
+ size_t pending_crypto_packet_count_; |
DISALLOW_COPY_AND_ASSIGN(QuicUnackedPacketMap); |
}; |