| 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 "base/big_endian.h" | 10 #include "base/big_endian.h" |
| 11 #include "base/macros.h" |
| 11 #include "media/cast/net/cast_transport_defines.h" | 12 #include "media/cast/net/cast_transport_defines.h" |
| 12 #include "media/cast/net/rtcp/rtcp_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. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 base::BigEndianWriter big_endian_writer_; | 97 base::BigEndianWriter big_endian_writer_; |
| 97 base::BigEndianReader big_endian_reader_; | 98 base::BigEndianReader big_endian_reader_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder); | 100 DISALLOW_COPY_AND_ASSIGN(TestRtcpPacketBuilder); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace cast | 103 } // namespace cast |
| 103 } // namespace media | 104 } // namespace media |
| 104 | 105 |
| 105 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ | 106 #endif // MEDIA_CAST_RTCP_TEST_RTCP_PACKET_BUILDER_H_ |
| OLD | NEW |