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

Side by Side Diff: media/cast/net/rtcp/test_rtcp_packet_builder.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months 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
« no previous file with comments | « media/cast/net/rtcp/rtcp_utility.cc ('k') | media/cast/net/rtcp/test_rtcp_packet_builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // A very simple packet builder class for building RTCP packets. 5 // A very simple packet builder class for building RTCP packets.
6 // Used for testing only. 6 // Used for testing only.
7 #ifndef MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ 7 #ifndef MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_
8 #define MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ 8 #define MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_
9 9
10 #include "base/big_endian.h" 10 #include "base/big_endian.h"
11 #include "media/cast/cast_config.h" 11 #include "media/cast/cast_config.h"
12 #include "media/cast/rtcp/rtcp_defines.h" 12 #include "media/cast/net/cast_transport_defines.h"
13 #include "media/cast/net/rtcp/rtcp_defines.h"
13 14
14 namespace media { 15 namespace media {
15 namespace cast { 16 namespace cast {
16 17
17 // These values are arbitrary only for the purpose of testing. 18 // These values are arbitrary only for the purpose of testing.
18 19
19 namespace { 20 namespace {
20 // Sender report. 21 // Sender report.
21 static const int kNtpHigh = 0x01020304; 22 static const int kNtpHigh = 0x01020304;
22 static const int kNtpLow = 0x05060708; 23 static const int kNtpLow = 0x05060708;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 char* ptr_of_length_; 105 char* ptr_of_length_;
105 base::BigEndianWriter big_endian_writer_; 106 base::BigEndianWriter big_endian_writer_;
106 107
107 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder); 108 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder);
108 }; 109 };
109 110
110 } // namespace cast 111 } // namespace cast
111 } // namespace media 112 } // namespace media
112 113
113 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ 114 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtcp/rtcp_utility.cc ('k') | media/cast/net/rtcp/test_rtcp_packet_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698