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

Side by Side Diff: webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h

Issue 2448463003: Rename {,Set}GenericFECStatus to {,Set}UlpfecConfig. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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
OLDNEW
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); 179 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet));
180 MOCK_METHOD1(SetAudioPacketSize, int32_t(uint16_t packet_size_samples)); 180 MOCK_METHOD1(SetAudioPacketSize, int32_t(uint16_t packet_size_samples));
181 MOCK_METHOD3(SendTelephoneEventOutband, 181 MOCK_METHOD3(SendTelephoneEventOutband,
182 int32_t(uint8_t key, uint16_t time_ms, uint8_t level)); 182 int32_t(uint8_t key, uint16_t time_ms, uint8_t level));
183 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type)); 183 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type));
184 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type)); 184 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type));
185 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, 185 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus,
186 int32_t(bool enable, uint8_t id)); 186 int32_t(bool enable, uint8_t id));
187 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov)); 187 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov));
188 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps)); 188 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps));
189 MOCK_METHOD3(SetGenericFECStatus, 189 MOCK_METHOD3(SetUlpfecConfig,
190 void(bool enable, 190 void(bool ulpfec_enabled,
191 uint8_t payload_type_red, 191 int red_payload_type,
192 uint8_t payload_type_fec)); 192 int fec_payload_type));
193 MOCK_METHOD3(GenericFECStatus,
194 void(bool* enable,
195 uint8_t* payload_type_red,
196 uint8_t* payload_type_fec));
197 MOCK_METHOD2(SetFecParameters, 193 MOCK_METHOD2(SetFecParameters,
198 int32_t(const FecProtectionParams* delta_params, 194 int32_t(const FecProtectionParams* delta_params,
199 const FecProtectionParams* key_params)); 195 const FecProtectionParams* key_params));
200 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); 196 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method));
201 MOCK_METHOD0(RequestKeyFrame, int32_t()); 197 MOCK_METHOD0(RequestKeyFrame, int32_t());
202 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); 198 MOCK_METHOD0(TimeUntilNextProcess, int64_t());
203 MOCK_METHOD0(Process, void()); 199 MOCK_METHOD0(Process, void());
204 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); 200 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*));
205 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); 201 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void));
206 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, 202 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback,
207 void(StreamDataCountersCallback*)); 203 void(StreamDataCountersCallback*));
208 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, 204 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback,
209 StreamDataCountersCallback*(void)); 205 StreamDataCountersCallback*(void));
210 // Members. 206 // Members.
211 unsigned int remote_ssrc_; 207 unsigned int remote_ssrc_;
212 }; 208 };
213 209
214 } // namespace webrtc 210 } // namespace webrtc
215 211
216 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 212 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698