OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> |
| 11 |
10 #include "base/big_endian.h" | 12 #include "base/big_endian.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "media/cast/net/cast_transport_defines.h" | 14 #include "media/cast/net/cast_transport_defines.h" |
13 #include "media/cast/net/rtcp/rtcp_defines.h" | 15 #include "media/cast/net/rtcp/rtcp_defines.h" |
14 | 16 |
15 namespace media { | 17 namespace media { |
16 namespace cast { | 18 namespace cast { |
17 | 19 |
18 // These values are arbitrary only for the purpose of testing. | 20 // These values are arbitrary only for the purpose of testing. |
19 | 21 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 base::BigEndianWriter big_endian_writer_; | 99 base::BigEndianWriter big_endian_writer_; |
98 base::BigEndianReader big_endian_reader_; | 100 base::BigEndianReader big_endian_reader_; |
99 | 101 |
100 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder); | 102 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder); |
101 }; | 103 }; |
102 | 104 |
103 } // namespace cast | 105 } // namespace cast |
104 } // namespace media | 106 } // namespace media |
105 | 107 |
106 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ | 108 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ |
OLD | NEW |