| Index: media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h
|
| diff --git a/media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h b/media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h
|
| deleted file mode 100644
|
| index 7337798e3119c005bb1780d1b341bf72bb0ca9d5..0000000000000000000000000000000000000000
|
| --- a/media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -// Test helper class that builds rtp packets.
|
| -
|
| -#ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
|
| -#define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
|
| -
|
| -#include "media/cast/rtp_receiver/rtp_receiver_defines.h"
|
| -
|
| -namespace media {
|
| -namespace cast {
|
| -
|
| -// TODO(miu): Consolidate with RtpPacketizer as a single Cast packet
|
| -// serialization implementation.
|
| -class RtpPacketBuilder {
|
| - public:
|
| - RtpPacketBuilder();
|
| - void SetKeyFrame(bool is_key);
|
| - void SetFrameIds(uint32 frame_id, uint32 reference_frame_id);
|
| - void SetPacketId(uint16 packet_id);
|
| - void SetMaxPacketId(uint16 max_packet_id);
|
| - void SetTimestamp(uint32 timestamp);
|
| - void SetSequenceNumber(uint16 sequence_number);
|
| - void SetMarkerBit(bool marker);
|
| - void SetPayloadType(int payload_type);
|
| - void SetSsrc(uint32 ssrc);
|
| - void BuildHeader(uint8* data, uint32 data_length);
|
| -
|
| - private:
|
| - bool is_key_;
|
| - uint32 frame_id_;
|
| - uint16 packet_id_;
|
| - uint16 max_packet_id_;
|
| - uint32 reference_frame_id_;
|
| - uint32 timestamp_;
|
| - uint16 sequence_number_;
|
| - bool marker_;
|
| - int payload_type_;
|
| - uint32 ssrc_;
|
| -
|
| - void BuildCastHeader(uint8* data, uint32 data_length);
|
| - void BuildCommonHeader(uint8* data, uint32 data_length);
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder);
|
| -};
|
| -
|
| -} // namespace cast
|
| -} // namespace media
|
| -
|
| -#endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
|
|
|