Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: media/cast/rtp_sender/rtp_packetizer/test/rtp_header_parser.h

Issue 112133002: Cast:Moving netwrok sender related code to a designated folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moving const' to .cc Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Utility parser for rtp packetizer unittests
6 #ifndef MEDIA_CAST_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER_H_
7 #define MEDIA_CAST_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER_H_
8
9 #include "media/cast/rtp_common/rtp_defines.h"
10
11 namespace media {
12 namespace cast {
13
14 class RtpHeaderParser {
15 public:
16 RtpHeaderParser(const uint8* rtpData, size_t rtpDataLength);
17 ~RtpHeaderParser();
18
19 bool Parse(RtpCastHeader* parsed_packet) const;
20 private:
21 bool ParseCommon(RtpCastHeader* parsed_packet) const;
22 bool ParseCast(RtpCastHeader* parsed_packet) const;
23 const uint8* const rtp_data_begin_;
24 size_t length_;
25
26 mutable FrameIdWrapHelper frame_id_wrap_helper_;
27 mutable FrameIdWrapHelper reference_frame_id_wrap_helper_;
28
29 DISALLOW_COPY_AND_ASSIGN(RtpHeaderParser);
30 };
31
32 } // namespace cast
33 } // namespace media
34
35 #endif // MEDIA_CAST_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698