| 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_STOP_WAITING_FRAME_H_ | 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ |
| 6 #define NET_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ | 6 #define NET_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ |
| 7 | 7 |
| 8 #include <ostream> |
| 9 |
| 8 #include "net/quic/core/quic_types.h" | 10 #include "net/quic/core/quic_types.h" |
| 9 #include "net/quic/platform/api/quic_export.h" | 11 #include "net/quic/platform/api/quic_export.h" |
| 10 | 12 |
| 11 namespace net { | 13 namespace net { |
| 12 | 14 |
| 13 struct QUIC_EXPORT_PRIVATE QuicStopWaitingFrame { | 15 struct QUIC_EXPORT_PRIVATE QuicStopWaitingFrame { |
| 14 QuicStopWaitingFrame(); | 16 QuicStopWaitingFrame(); |
| 15 ~QuicStopWaitingFrame(); | 17 ~QuicStopWaitingFrame(); |
| 16 | 18 |
| 17 friend QUIC_EXPORT_PRIVATE std::ostream& operator<<( | 19 friend QUIC_EXPORT_PRIVATE std::ostream& operator<<( |
| 18 std::ostream& os, | 20 std::ostream& os, |
| 19 const QuicStopWaitingFrame& s); | 21 const QuicStopWaitingFrame& s); |
| 22 |
| 20 // Path which this stop waiting frame belongs to. | 23 // Path which this stop waiting frame belongs to. |
| 21 QuicPathId path_id; | 24 QuicPathId path_id; |
| 22 // The lowest packet we've sent which is unacked, and we expect an ack for. | 25 // The lowest packet we've sent which is unacked, and we expect an ack for. |
| 23 QuicPacketNumber least_unacked; | 26 QuicPacketNumber least_unacked; |
| 24 }; | 27 }; |
| 25 | 28 |
| 26 } // namespace net | 29 } // namespace net |
| 27 | 30 |
| 28 #endif // NET_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ | 31 #endif // NET_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ |
| OLD | NEW |