Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: media/cast/rtcp/mock_rtcp_receiver_feedback.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
6 #define MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
7
8 #include <vector>
9
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"
14
15 namespace media {
16 namespace cast {
17
18 class MockRtcpReceiverFeedback : public RtcpReceiverFeedback {
19 public:
20 MockRtcpReceiverFeedback();
21 virtual ~MockRtcpReceiverFeedback();
22
23 MOCK_METHOD1(OnReceivedSenderReport,
24 void(const transport::RtcpSenderInfo& remote_sender_info));
25
26 MOCK_METHOD1(OnReceiverReferenceTimeReport,
27 void(const RtcpReceiverReferenceTimeReport& remote_time_report));
28
29 MOCK_METHOD0(OnReceivedSendReportRequest, void());
30
31 MOCK_METHOD1(OnReceivedReceiverLog,
32 void(const RtcpReceiverLogMessage& receiver_log));
33 };
34
35 class MockRtcpRttFeedback : public RtcpRttFeedback {
36 public:
37 MockRtcpRttFeedback();
38 virtual ~MockRtcpRttFeedback();
39
40 MOCK_METHOD3(OnReceivedDelaySinceLastReport,
41 void(uint32 media_ssrc,
42 uint32 last_report,
43 uint32 delay_since_last_report));
44 };
45
46 } // namespace cast
47 } // namespace media
48
49 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_RECEIVER_FEEDBACK_H_
OLDNEW
« no previous file with comments | « media/cast/receiver/video_decoder_unittest.cc ('k') | media/cast/rtcp/mock_rtcp_receiver_feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698