| Index: net/quic/core/quic_buffered_packet_store.cc
|
| diff --git a/net/quic/core/quic_buffered_packet_store.cc b/net/quic/core/quic_buffered_packet_store.cc
|
| index 82e1584db1cb27c08f4af3317729a71793aabccc..c921c9eaead6a60af4c17333314548f80cf5be82 100644
|
| --- a/net/quic/core/quic_buffered_packet_store.cc
|
| +++ b/net/quic/core/quic_buffered_packet_store.cc
|
| @@ -145,9 +145,9 @@ bool QuicBufferedPacketStore::HasChlosBuffered() const {
|
| return !connections_with_chlo_.empty();
|
| }
|
|
|
| -list<BufferedPacket> QuicBufferedPacketStore::DeliverPackets(
|
| +std::list<BufferedPacket> QuicBufferedPacketStore::DeliverPackets(
|
| QuicConnectionId connection_id) {
|
| - list<BufferedPacket> packets_to_deliver;
|
| + std::list<BufferedPacket> packets_to_deliver;
|
| auto it = undecryptable_packets_.find(connection_id);
|
| if (it != undecryptable_packets_.end()) {
|
| packets_to_deliver = std::move(it->second.buffered_packets);
|
| @@ -201,16 +201,17 @@ bool QuicBufferedPacketStore::ShouldBufferPacket(bool is_chlo) {
|
| return is_store_full || reach_non_chlo_limit;
|
| }
|
|
|
| -list<BufferedPacket> QuicBufferedPacketStore::DeliverPacketsForNextConnection(
|
| +std::list<BufferedPacket>
|
| +QuicBufferedPacketStore::DeliverPacketsForNextConnection(
|
| QuicConnectionId* connection_id) {
|
| if (connections_with_chlo_.empty()) {
|
| // Returns empty list if no CHLO has been buffered.
|
| - return list<BufferedPacket>();
|
| + return std::list<BufferedPacket>();
|
| }
|
| *connection_id = connections_with_chlo_.front().first;
|
| connections_with_chlo_.erase(connections_with_chlo_.begin());
|
|
|
| - list<BufferedPacket> packets = DeliverPackets(*connection_id);
|
| + std::list<BufferedPacket> packets = DeliverPackets(*connection_id);
|
| DCHECK(!packets.empty()) << "Try to deliver connectons without CHLO";
|
| return packets;
|
| }
|
|
|