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_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/net/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(); | 18 MockRtcpSenderFeedback(); |
19 virtual ~MockRtcpSenderFeedback(); | 19 virtual ~MockRtcpSenderFeedback(); |
20 | 20 |
21 MOCK_METHOD1(OnReceivedCastFeedback, | 21 MOCK_METHOD1(OnReceivedCastFeedback, |
22 void(const RtcpCastMessage& cast_feedback)); | 22 void(const RtcpCastMessage& cast_feedback)); |
23 }; | 23 }; |
24 | 24 |
25 } // namespace cast | 25 } // namespace cast |
26 } // namespace media | 26 } // namespace media |
27 | 27 |
28 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_ | 28 #endif // MEDIA_CAST_RTCP_MOCK_RTCP_SENDER_FEEDBACK_H_ |
OLD | NEW |