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

Side by Side Diff: trunk/src/media/cast/rtcp/mock_rtcp_sender_feedback.h

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_ 5 #ifndef MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_
6 #define MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_ 6 #define MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/cast/rtcp/rtcp_receiver.h" 10 #include "media/cast/rtcp/rtcp_receiver.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 namespace media { 13 namespace media {
14 namespace cast { 14 namespace cast {
15 15
16 class MockRtcpSenderFeedback : public RtcpSenderFeedback { 16 class MockRtcpSenderFeedback : public RtcpSenderFeedback {
17 public: 17 public:
18 MockRtcpSenderFeedback();
19 virtual ~MockRtcpSenderFeedback();
20
21 MOCK_METHOD1(OnReceivedReportBlock, 18 MOCK_METHOD1(OnReceivedReportBlock,
22 void(const RtcpReportBlock& report_block)); 19 void(const RtcpReportBlock& report_block));
23 20
24 MOCK_METHOD0(OnReceivedIntraFrameRequest, void()); 21 MOCK_METHOD0(OnReceivedIntraFrameRequest, void());
25 22
26 MOCK_METHOD2(OnReceivedRpsi, void(uint8 payload_type, uint64 picture_id)); 23 MOCK_METHOD2(OnReceivedRpsi, void(uint8 payload_type, uint64 picture_id));
27 24
28 MOCK_METHOD1(OnReceivedRemb, void(uint32 bitrate)); 25 MOCK_METHOD1(OnReceivedRemb, void(uint32 bitrate));
29 26
30 MOCK_METHOD1(OnReceivedNackRequest, 27 MOCK_METHOD1(OnReceivedNackRequest,
31 void(const std::list<uint16>& nack_sequence_numbers)); 28 void(const std::list<uint16>& nack_sequence_numbers));
32 29
33 MOCK_METHOD1(OnReceivedCastFeedback, 30 MOCK_METHOD1(OnReceivedCastFeedback,
34 void(const RtcpCastMessage& cast_feedback)); 31 void(const RtcpCastMessage& cast_feedback));
35 }; 32 };
36 33
37 } // namespace cast 34 } // namespace cast
38 } // namespace media 35 } // namespace media
39 36
40 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_ 37 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_
OLDNEW
« no previous file with comments | « trunk/src/media/cast/rtcp/mock_rtcp_receiver_feedback.cc ('k') | trunk/src/media/cast/rtcp/mock_rtcp_sender_feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698