| 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_NET_RTP_CAST_MESSAGE_BUILDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
| 8 #define MEDIA_CAST_NET_RTP_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 "base/macros.h" |
| 13 #include "media/cast/net/rtcp/rtcp.h" | 14 #include "media/cast/net/rtcp/rtcp.h" |
| 14 #include "media/cast/net/rtp/rtp_defines.h" | 15 #include "media/cast/net/rtp/rtp_defines.h" |
| 15 | 16 |
| 16 namespace media { | 17 namespace media { |
| 17 namespace cast { | 18 namespace cast { |
| 18 | 19 |
| 19 class Framer; | 20 class Framer; |
| 20 class RtpPayloadFeedback; | 21 class RtpPayloadFeedback; |
| 21 | 22 |
| 22 typedef std::map<uint32_t, base::TimeTicks> TimeLastNackMap; | 23 typedef std::map<uint32_t, base::TimeTicks> TimeLastNackMap; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 uint32_t last_acked_frame_id_; | 61 uint32_t last_acked_frame_id_; |
| 61 std::deque<uint32_t> ack_queue_; | 62 std::deque<uint32_t> ack_queue_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); | 64 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace cast | 67 } // namespace cast |
| 67 } // namespace media | 68 } // namespace media |
| 68 | 69 |
| 69 #endif // MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ | 70 #endif // MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
| OLD | NEW |