Remove Unused AsTextButtonBorder RTTI helper.
[chromium-blink-merge.git] / media / cast / rtcp / mock_rtcp_receiver_feedback.h
blobb8946d972cab0e97e2bc4117a08252e5b63ba2e1
1 // Copyright 2013 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 #ifndef MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
6 #define MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
8 #include <vector>
10 #include "media/cast/rtcp/rtcp_defines.h"
11 #include "media/cast/rtcp/rtcp_receiver.h"
12 #include "media/cast/transport/cast_transport_defines.h"
13 #include "testing/gmock/include/gmock/gmock.h"
15 namespace media {
16 namespace cast {
18 class MockRtcpReceiverFeedback : public RtcpReceiverFeedback {
19 public:
20 MockRtcpReceiverFeedback();
21 virtual ~MockRtcpReceiverFeedback();
23 MOCK_METHOD1(OnReceivedSenderReport,
24 void(const transport::RtcpSenderInfo& remote_sender_info));
26 MOCK_METHOD1(OnReceiverReferenceTimeReport,
27 void(const RtcpReceiverReferenceTimeReport& remote_time_report));
29 MOCK_METHOD0(OnReceivedSendReportRequest, void());
31 MOCK_METHOD1(OnReceivedReceiverLog,
32 void(const RtcpReceiverLogMessage& receiver_log));
33 MOCK_METHOD1(OnReceivedSenderLog,
34 void(const transport::RtcpSenderLogMessage& sender_log));
37 class MockRtcpRttFeedback : public RtcpRttFeedback {
38 public:
39 MockRtcpRttFeedback();
40 virtual ~MockRtcpRttFeedback();
42 MOCK_METHOD3(OnReceivedDelaySinceLastReport,
43 void(uint32 media_ssrc,
44 uint32 last_report,
45 uint32 delay_since_last_report));
48 } // namespace cast
49 } // namespace media
51 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_