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

Side by Side Diff: media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.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
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 // Test helper class that builds rtp packets. 5 // Test helper class that builds rtp packets.
6 6
7 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 7 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
8 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 8 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
9 9
10 10
11 #include "media/cast/rtp_common/rtp_defines.h" 11 #include "media/cast/rtp_receiver/rtp_receiver_defines.h"
12 12
13 namespace media { 13 namespace media {
14 namespace cast { 14 namespace cast {
15 15
16 class RtpPacketBuilder { 16 class RtpPacketBuilder {
17 public: 17 public:
18 RtpPacketBuilder(); 18 RtpPacketBuilder();
19 void SetKeyFrame(bool is_key); 19 void SetKeyFrame(bool is_key);
20 void SetFrameId(uint32 frame_id); 20 void SetFrameId(uint32 frame_id);
21 void SetPacketId(uint16 packet_id); 21 void SetPacketId(uint16 packet_id);
(...skipping 20 matching lines...) Expand all
42 uint32 ssrc_; 42 uint32 ssrc_;
43 43
44 void BuildCastHeader(uint8* data, uint32 data_length); 44 void BuildCastHeader(uint8* data, uint32 data_length);
45 void BuildCommonHeader(uint8* data, uint32 data_length); 45 void BuildCommonHeader(uint8* data, uint32 data_length);
46 }; 46 };
47 47
48 } // namespace cast 48 } // namespace cast
49 } // namespace media 49 } // namespace media
50 50
51 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 51 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_
OLDNEW
« no previous file with comments | « media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc ('k') | media/cast/rtp_receiver/rtp_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698