| Index: media/cast/transport/cast_transport_defines.h
|
| diff --git a/media/cast/net/cast_net_defines.h b/media/cast/transport/cast_transport_defines.h
|
| similarity index 85%
|
| rename from media/cast/net/cast_net_defines.h
|
| rename to media/cast/transport/cast_transport_defines.h
|
| index 769a1be70c4eb25fd65ffdf53ff48dffa6d1016a..611981c489a478de4e0009bfc034d52fe3e970dc 100644
|
| --- a/media/cast/net/cast_net_defines.h
|
| +++ b/media/cast/transport/cast_transport_defines.h
|
| @@ -2,14 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef MEDIA_CAST_NET_CAST_NET_DEFINES_H_
|
| -#define MEDIA_CAST_NET_CAST_NET_DEFINES_H_
|
| +#ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
|
| +#define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
|
|
|
| #include <list>
|
| #include "base/basictypes.h"
|
|
|
| namespace media {
|
| namespace cast {
|
| +namespace transport {
|
|
|
| // Rtcp defines.
|
|
|
| @@ -52,6 +53,14 @@ struct RtcpDlrrReportBlock {
|
| uint32 delay_since_last_rr;
|
| };
|
|
|
| +inline bool operator==(RtcpSenderInfo lhs, RtcpSenderInfo rhs) {
|
| + return lhs.ntp_seconds == rhs.ntp_seconds &&
|
| + lhs.ntp_fraction == rhs.ntp_fraction &&
|
| + lhs.rtp_timestamp == rhs.rtp_timestamp &&
|
| + lhs.send_packet_count == rhs.send_packet_count &&
|
| + lhs.send_octet_count == rhs.send_octet_count;
|
| +}
|
| +
|
| typedef std::list<RtcpSenderFrameLogMessage> RtcpSenderLogMessage;
|
|
|
| class FrameIdWrapHelper {
|
| @@ -118,7 +127,8 @@ class FrameIdWrapHelper {
|
| Range range_;
|
| };
|
|
|
| +} // namespace transport
|
| } // namespace cast
|
| } // namespace media
|
|
|
| -#endif // MEDIA_CAST_NET_CAST_NET_DEFINES_H_
|
| +#endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
|
|
|