| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAMER_CAST_MESSAGE_BUILDER_H_ |
| 8 #define MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 8 #define MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "media/cast/framer/frame_id_map.h" | 12 #include "media/cast/framer/frame_id_map.h" |
| 13 #include "media/cast/rtcp/rtcp.h" | 13 #include "media/cast/rtcp/rtcp.h" |
| 14 #include "media/cast/rtp_common/rtp_defines.h" | 14 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" |
| 15 | 15 |
| 16 namespace media { | 16 namespace media { |
| 17 namespace cast { | 17 namespace cast { |
| 18 | 18 |
| 19 class RtpPayloadFeedback; | 19 class RtpPayloadFeedback; |
| 20 | 20 |
| 21 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; | 21 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; |
| 22 | 22 |
| 23 class CastMessageBuilder { | 23 class CastMessageBuilder { |
| 24 public: | 24 public: |
| (...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 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); | 62 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace cast | 65 } // namespace cast |
| 66 } // namespace media | 66 } // namespace media |
| 67 | 67 |
| 68 #endif // MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 68 #endif // MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ |
| OLD | NEW |