Index: webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
diff --git a/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h b/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
index 66f82b22d531039fed2ecc38e2e2b1698c70a637..e277200f7e991c31dff5ba679800cc2dd8ff2e6e 100644 |
--- a/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
+++ b/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
@@ -39,10 +39,12 @@ class MockAudioEncoder : public AudioEncoder { |
MOCK_METHOD1(SetDtx, bool(bool enable)); |
MOCK_METHOD1(SetApplication, bool(Application application)); |
MOCK_METHOD1(SetMaxPlaybackRate, void(int frequency_hz)); |
- MOCK_METHOD1(SetProjectedPacketLossRate, void(double fraction)); |
- MOCK_METHOD1(SetTargetBitrate, void(int target_bps)); |
MOCK_METHOD1(SetMaxBitrate, void(int max_bps)); |
MOCK_METHOD1(SetMaxPayloadSize, void(int max_payload_size_bytes)); |
+ MOCK_METHOD1(OnReceivedTargetAudioBitrate, |
+ void(int target_audio_bitrate_bps)); |
+ MOCK_METHOD1(OnReceivedUplinkPacketLossFraction, |
+ void(float uplink_packet_loss_fraction)); |
// Note, we explicitly chose not to create a mock for the Encode method. |
MOCK_METHOD3(EncodeImpl, |