OLD | NEW |
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_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ | 5 #ifndef MEDIA_CAST_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ |
6 #define MEDIA_CAST_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ | 6 #define MEDIA_CAST_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ |
7 | 7 |
8 #include "media/cast/rtp_common/rtp_defines.h" | 8 #include "media/cast/rtp_common/rtp_defines.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 | 10 |
11 namespace media { | 11 namespace media { |
12 namespace cast { | 12 namespace cast { |
13 | 13 |
14 class MockRtpPayloadFeedback : public RtpPayloadFeedback { | 14 class MockRtpPayloadFeedback : public RtpPayloadFeedback { |
15 public: | 15 public: |
16 MockRtpPayloadFeedback(); | |
17 virtual ~MockRtpPayloadFeedback(); | |
18 | |
19 MOCK_METHOD1(CastFeedback, | 16 MOCK_METHOD1(CastFeedback, |
20 void(const RtcpCastMessage& cast_feedback)); | 17 void(const RtcpCastMessage& cast_feedback)); |
21 }; | 18 }; |
22 | 19 |
23 } // namespace cast | 20 } // namespace cast |
24 } // namespace media | 21 } // namespace media |
25 | 22 |
26 #endif // MEDIA_CAST_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ | 23 #endif // MEDIA_CAST_RTP_COMMON_MOCK_RTP_PAYLOAD_FEEDBACK_H_ |
OLD | NEW |