| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 int64_t* max_rtt)); | 140 int64_t* max_rtt)); |
| 141 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packet_type)); | 141 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packet_type)); |
| 142 MOCK_METHOD1(SendCompoundRTCP, | 142 MOCK_METHOD1(SendCompoundRTCP, |
| 143 int32_t(const std::set<RTCPPacketType>& packet_types)); | 143 int32_t(const std::set<RTCPPacketType>& packet_types)); |
| 144 MOCK_CONST_METHOD2(DataCountersRTP, | 144 MOCK_CONST_METHOD2(DataCountersRTP, |
| 145 int32_t(size_t* bytes_sent, uint32_t* packets_sent)); | 145 int32_t(size_t* bytes_sent, uint32_t* packets_sent)); |
| 146 MOCK_CONST_METHOD2(GetSendStreamDataCounters, | 146 MOCK_CONST_METHOD2(GetSendStreamDataCounters, |
| 147 void(StreamDataCounters*, StreamDataCounters*)); | 147 void(StreamDataCounters*, StreamDataCounters*)); |
| 148 MOCK_CONST_METHOD3(GetRtpPacketLossStats, | 148 MOCK_CONST_METHOD3(GetRtpPacketLossStats, |
| 149 void(bool, uint32_t, struct RtpPacketLossStats*)); | 149 void(bool, uint32_t, struct RtpPacketLossStats*)); |
| 150 MOCK_METHOD1(RemoteRTCPStat, int32_t(RTCPSenderInfo* sender_info)); | |
| 151 MOCK_CONST_METHOD1(RemoteRTCPStat, | 150 MOCK_CONST_METHOD1(RemoteRTCPStat, |
| 152 int32_t(std::vector<RTCPReportBlock>* receive_blocks)); | 151 int32_t(std::vector<RTCPReportBlock>* receive_blocks)); |
| 153 MOCK_METHOD4(SetRTCPApplicationSpecificData, | 152 MOCK_METHOD4(SetRTCPApplicationSpecificData, |
| 154 int32_t(uint8_t sub_type, | 153 int32_t(uint8_t sub_type, |
| 155 uint32_t name, | 154 uint32_t name, |
| 156 const uint8_t* data, | 155 const uint8_t* data, |
| 157 uint16_t length)); | 156 uint16_t length)); |
| 158 MOCK_METHOD1(SetRTCPVoIPMetrics, int32_t(const RTCPVoIPMetric* voip_metric)); | 157 MOCK_METHOD1(SetRTCPVoIPMetrics, int32_t(const RTCPVoIPMetric* voip_metric)); |
| 159 MOCK_METHOD1(SetRtcpXrRrtrStatus, void(bool enable)); | 158 MOCK_METHOD1(SetRtcpXrRrtrStatus, void(bool enable)); |
| 160 MOCK_CONST_METHOD0(RtcpXrRrtrStatus, bool()); | 159 MOCK_CONST_METHOD0(RtcpXrRrtrStatus, bool()); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 private: | 204 private: |
| 206 // Mocking this method is currently not required and having a default | 205 // Mocking this method is currently not required and having a default |
| 207 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t()) | 206 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t()) |
| 208 // can be dangerous since it can cause a tight loop on a process thread. | 207 // can be dangerous since it can cause a tight loop on a process thread. |
| 209 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; } | 208 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; } |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 } // namespace webrtc | 211 } // namespace webrtc |
| 213 | 212 |
| 214 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 213 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
| OLD | NEW |