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