Chromium Code Reviews| Index: media/cast/net/rtp/rtp_header_parser.h |
| diff --git a/media/cast/net/rtp/rtp_header_parser.h b/media/cast/net/rtp/rtp_header_parser.h |
| deleted file mode 100644 |
| index fd235c2aa59bdab11e1ae17f3aac403736b295b5..0000000000000000000000000000000000000000 |
| --- a/media/cast/net/rtp/rtp_header_parser.h |
| +++ /dev/null |
| @@ -1,62 +0,0 @@ |
| -// Copyright 2014 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. |
| - |
| -// Utility parser for rtp packetizer unittests |
| -#ifndef MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_ |
| -#define MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_ |
| - |
| -#include "base/basictypes.h" |
| -#include "media/cast/net/cast_transport_defines.h" |
| - |
| -namespace media { |
| -namespace cast { |
| - |
| -// TODO(miu): Kill this and use RtpCastHeader instead. |
|
miu
2015/10/01 00:36:22
Yep. This got lost in my attempts to create crbug
|
| -struct RtpCastTestHeader { |
| - RtpCastTestHeader(); |
| - ~RtpCastTestHeader(); |
| - // Cast specific. |
| - bool is_key_frame; |
| - uint32 frame_id; |
| - uint16 packet_id; |
| - uint16 max_packet_id; |
| - bool is_reference; // Set to true if the previous frame is not available, |
| - // and the reference frame id is available. |
| - uint32 reference_frame_id; |
| - |
| - // Rtp Generic. |
| - bool marker; |
| - uint16 sequence_number; |
| - uint32 rtp_timestamp; |
| - uint32 ssrc; |
| - int payload_type; |
| - uint8 num_csrcs; |
| - uint8 audio_num_energy; |
| - int header_length; |
| -}; |
| - |
| -// TODO(miu): Kill this and use RtpParser instead. |
| -class RtpHeaderParser { |
| - public: |
| - RtpHeaderParser(const uint8* rtpData, size_t rtpDataLength); |
| - ~RtpHeaderParser(); |
| - |
| - bool Parse(RtpCastTestHeader* parsed_packet) const; |
| - |
| - private: |
| - bool ParseCommon(RtpCastTestHeader* parsed_packet) const; |
| - bool ParseCast(RtpCastTestHeader* parsed_packet) const; |
| - const uint8* const rtp_data_begin_; |
| - size_t length_; |
| - |
| - mutable FrameIdWrapHelper frame_id_wrap_helper_; |
| - mutable FrameIdWrapHelper reference_frame_id_wrap_helper_; |
| - |
| - DISALLOW_COPY_AND_ASSIGN(RtpHeaderParser); |
| -}; |
| - |
| -} // namespace cast |
| -} // namespace media |
| - |
| -#endif // MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_ |