| 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 // Test helper class that builds rtp packets. | 5 // Test helper class that builds rtp packets. |
| 6 | 6 |
| 7 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
| 8 #define MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 8 #define MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
| 9 | 9 |
| 10 #include <stdint.h> |
| 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "media/cast/net/rtp/rtp_defines.h" | 13 #include "media/cast/net/rtp/rtp_defines.h" |
| 12 | 14 |
| 13 namespace media { | 15 namespace media { |
| 14 namespace cast { | 16 namespace cast { |
| 15 | 17 |
| 16 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet | 18 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet |
| 17 // serialization implementation. | 19 // serialization implementation. |
| 18 class RtpPacketBuilder { | 20 class RtpPacketBuilder { |
| 19 public: | 21 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 void BuildCastHeader(uint8_t* data, uint32_t data_length); | 46 void BuildCastHeader(uint8_t* data, uint32_t data_length); |
| 45 void BuildCommonHeader(uint8_t* data, uint32_t data_length); | 47 void BuildCommonHeader(uint8_t* data, uint32_t data_length); |
| 46 | 48 |
| 47 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder); | 49 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace cast | 52 } // namespace cast |
| 51 } // namespace media | 53 } // namespace media |
| 52 | 54 |
| 53 #endif // MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 55 #endif // MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
| OLD | NEW |