| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Handles NACK list and manages ACK. | 5 // Handles NACK list and manages ACK. |
| 6 | 6 |
| 7 #ifndef MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
| 8 #define MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 8 #define MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| 11 #include <map> | 11 #include <map> |
| 12 | 12 |
| 13 #include "media/cast/net/rtcp/rtcp.h" | 13 #include "media/cast/net/rtcp/rtcp.h" |
| 14 #include "media/cast/net/rtp/rtp_receiver_defines.h" | 14 #include "media/cast/net/rtp/rtp_defines.h" |
| 15 | 15 |
| 16 namespace media { | 16 namespace media { |
| 17 namespace cast { | 17 namespace cast { |
| 18 | 18 |
| 19 class Framer; | 19 class Framer; |
| 20 class RtpPayloadFeedback; | 20 class RtpPayloadFeedback; |
| 21 | 21 |
| 22 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; | 22 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; |
| 23 | 23 |
| 24 class CastMessageBuilder { | 24 class CastMessageBuilder { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 bool acked_last_frame_; | 59 bool acked_last_frame_; |
| 60 uint32 last_acked_frame_id_; | 60 uint32 last_acked_frame_id_; |
| 61 std::deque<uint32> ack_queue_; | 61 std::deque<uint32> ack_queue_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); | 63 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace cast | 66 } // namespace cast |
| 67 } // namespace media | 67 } // namespace media |
| 68 | 68 |
| 69 #endif // MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 69 #endif // MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
| OLD | NEW |