OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NET_MOCK_CAST_TRANSPORT_SENDER_H_ | 5 #ifndef MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ |
6 #define MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ | 6 #define MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "media/cast/net/cast_transport_sender.h" | 10 #include "media/cast/net/cast_transport_sender.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 MOCK_METHOD0(PacketReceiverForTesting, PacketReceiverCallback()); | 38 MOCK_METHOD0(PacketReceiverForTesting, PacketReceiverCallback()); |
39 MOCK_METHOD1(AddValidSsrc, void(uint32_t ssrc)); | 39 MOCK_METHOD1(AddValidSsrc, void(uint32_t ssrc)); |
40 MOCK_METHOD7(SendRtcpFromRtpReceiver, | 40 MOCK_METHOD7(SendRtcpFromRtpReceiver, |
41 void(uint32_t ssrc, | 41 void(uint32_t ssrc, |
42 uint32_t sender_ssrc, | 42 uint32_t sender_ssrc, |
43 const RtcpTimeData& time_data, | 43 const RtcpTimeData& time_data, |
44 const RtcpCastMessage* cast_message, | 44 const RtcpCastMessage* cast_message, |
45 base::TimeDelta target_delay, | 45 base::TimeDelta target_delay, |
46 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events, | 46 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events, |
47 const RtpReceiverStatistics* rtp_receiver_statistics)); | 47 const RtpReceiverStatistics* rtp_receiver_statistics)); |
| 48 MOCK_METHOD1(SetOptions, void(const base::DictionaryValue& options)); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace cast | 51 } // namespace cast |
51 } // namespace media | 52 } // namespace media |
52 | 53 |
53 #endif // MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ | 54 #endif // MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ |
OLD | NEW |