| 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 #ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| 6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| 7 | 7 |
| 8 #include "base/big_endian.h" | 8 #include "base/big_endian.h" |
| 9 #include "base/macros.h" |
| 9 #include "media/cast/logging/logging_defines.h" | 10 #include "media/cast/logging/logging_defines.h" |
| 10 #include "media/cast/net/cast_transport_config.h" | 11 #include "media/cast/net/cast_transport_config.h" |
| 11 #include "media/cast/net/rtcp/rtcp_defines.h" | 12 #include "media/cast/net/rtcp/rtcp_defines.h" |
| 12 | 13 |
| 13 namespace media { | 14 namespace media { |
| 14 namespace cast { | 15 namespace cast { |
| 15 | 16 |
| 16 // RFC 3550 page 44, including end null. | 17 // RFC 3550 page 44, including end null. |
| 17 static const size_t kRtcpCnameSize = 256; | 18 static const size_t kRtcpCnameSize = 256; |
| 18 | 19 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 128 |
| 128 // Maps an NTP timestamp, comprised of two components, to a base::TimeTicks | 129 // Maps an NTP timestamp, comprised of two components, to a base::TimeTicks |
| 129 // value. | 130 // value. |
| 130 base::TimeTicks ConvertNtpToTimeTicks(uint32_t ntp_seconds, | 131 base::TimeTicks ConvertNtpToTimeTicks(uint32_t ntp_seconds, |
| 131 uint32_t ntp_fractions); | 132 uint32_t ntp_fractions); |
| 132 | 133 |
| 133 } // namespace cast | 134 } // namespace cast |
| 134 } // namespace media | 135 } // namespace media |
| 135 | 136 |
| 136 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 137 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| OLD | NEW |