#ifndef MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
#define MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
#include <vector>
#include "media/cast/rtcp/rtcp_defines.h"
#include "media/cast/rtcp/rtcp_receiver.h"
#include "media/cast/transport/cast_transport_defines.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace media {
namespace cast {
class MockRtcpReceiverFeedback : public RtcpReceiverFeedback {
public:
MockRtcpReceiverFeedback();
virtual ~MockRtcpReceiverFeedback();
MOCK_METHOD1(OnReceivedSenderReport,
void(const transport::RtcpSenderInfo& remote_sender_info));
MOCK_METHOD1(OnReceiverReferenceTimeReport,
void(const RtcpReceiverReferenceTimeReport& remote_time_report));
MOCK_METHOD0(OnReceivedSendReportRequest, void());
MOCK_METHOD1(OnReceivedReceiverLog,
void(const RtcpReceiverLogMessage& receiver_log));
MOCK_METHOD1(OnReceivedSenderLog,
void(const transport::RtcpSenderLogMessage& sender_log));
};
class MockRtcpRttFeedback : public RtcpRttFeedback {
public:
MockRtcpRttFeedback();
virtual ~MockRtcpRttFeedback();
MOCK_METHOD3(OnReceivedDelaySinceLastReport,
void(uint32 media_ssrc,
uint32 last_report,
uint32 delay_since_last_report));
};
}
}
#endif