Revert safe-browsing PrefixSet size_t handling.
[chromium-blink-merge.git] / media / cast / rtcp / rtcp_defines.cc
blobc1ad8fc89f1e546451f2593e56f059a69edf2603
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
3 // found in the LICENSE file.
5 #include "media/cast/rtcp/rtcp_defines.h"
7 #include "media/cast/logging/logging_defines.h"
9 namespace media {
10 namespace cast {
12 RtcpCastMessage::RtcpCastMessage(uint32 media_ssrc)
13 : media_ssrc_(media_ssrc), ack_frame_id_(0u) {}
14 RtcpCastMessage::~RtcpCastMessage() {}
16 void RtcpCastMessage::Copy(const RtcpCastMessage& cast_message) {
17 media_ssrc_ = cast_message.media_ssrc_;
18 ack_frame_id_ = cast_message.ack_frame_id_;
19 missing_frames_and_packets_ = cast_message.missing_frames_and_packets_;
22 RtcpReceiverEventLogMessage::RtcpReceiverEventLogMessage()
23 : type(kUnknown), packet_id(0u) {}
24 RtcpReceiverEventLogMessage::~RtcpReceiverEventLogMessage() {}
26 RtcpReceiverFrameLogMessage::RtcpReceiverFrameLogMessage(uint32 timestamp)
27 : rtp_timestamp_(timestamp) {}
28 RtcpReceiverFrameLogMessage::~RtcpReceiverFrameLogMessage() {}
30 RtcpRpsiMessage::RtcpRpsiMessage()
31 : remote_ssrc(0u), payload_type(0u), picture_id(0u) {}
32 RtcpRpsiMessage::~RtcpRpsiMessage() {}
34 RtcpNackMessage::RtcpNackMessage() : remote_ssrc(0u) {}
35 RtcpNackMessage::~RtcpNackMessage() {}
37 RtcpRembMessage::RtcpRembMessage() : remb_bitrate(0u) {}
38 RtcpRembMessage::~RtcpRembMessage() {}
40 RtcpReceiverReferenceTimeReport::RtcpReceiverReferenceTimeReport()
41 : remote_ssrc(0u), ntp_seconds(0u), ntp_fraction(0u) {}
42 RtcpReceiverReferenceTimeReport::~RtcpReceiverReferenceTimeReport() {}
44 RtcpEvent::RtcpEvent() : type(kUnknown), packet_id(0u) {}
45 RtcpEvent::~RtcpEvent() {}
47 } // namespace cast
48 } // namespace media