| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 #ifndef NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ | 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ |
| 6 #define NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ | 6 #define NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ |
| 7 | 7 |
| 8 #include <ostream> |
| 8 #include <string> | 9 #include <string> |
| 9 | 10 |
| 10 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 11 #include "net/quic/core/interval_set.h" | 12 #include "net/quic/core/interval_set.h" |
| 12 #include "net/quic/core/quic_types.h" | 13 #include "net/quic/core/quic_types.h" |
| 13 #include "net/quic/platform/api/quic_export.h" | 14 #include "net/quic/platform/api/quic_export.h" |
| 14 | 15 |
| 15 namespace net { | 16 namespace net { |
| 16 | 17 |
| 17 // A sequence of packet numbers where each number is unique. Intended to be used | 18 // A sequence of packet numbers where each number is unique. Intended to be used |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // as missing. | 124 // as missing. |
| 124 // Always returns false for packet numbers less than least_unacked. | 125 // Always returns false for packet numbers less than least_unacked. |
| 125 QUIC_EXPORT_PRIVATE bool IsAwaitingPacket( | 126 QUIC_EXPORT_PRIVATE bool IsAwaitingPacket( |
| 126 const QuicAckFrame& ack_frame, | 127 const QuicAckFrame& ack_frame, |
| 127 QuicPacketNumber packet_number, | 128 QuicPacketNumber packet_number, |
| 128 QuicPacketNumber peer_least_packet_awaiting_ack); | 129 QuicPacketNumber peer_least_packet_awaiting_ack); |
| 129 | 130 |
| 130 } // namespace net | 131 } // namespace net |
| 131 | 132 |
| 132 #endif // NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ | 133 #endif // NET_QUIC_CORE_FRAMES_QUIC_ACK_FRAME_H_ |
| OLD | NEW |