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 786c83cd6ad016c6a222abbe76e50aaa63610082..18d40688734d4b52501c3ee8d93242f75aff8c85 100644 |
--- a/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
+++ b/webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h |
@@ -26,6 +26,7 @@ class MockAudioEncoder : public AudioEncoder { |
MOCK_CONST_METHOD0(MaxEncodedBytes, size_t()); |
MOCK_CONST_METHOD0(Num10MsFramesInNextPacket, int()); |
MOCK_CONST_METHOD0(Max10MsFramesInAPacket, int()); |
+ MOCK_CONST_METHOD0(GetTargetBitrate, int()); |
MOCK_METHOD1(SetTargetBitrate, void(int)); |
MOCK_METHOD1(SetProjectedPacketLossRate, void(double)); |
// Note, we explicitly chose not to create a mock for the Encode method. |
@@ -43,6 +44,7 @@ class MockAudioEncoderMutable : public AudioEncoderMutable { |
MOCK_CONST_METHOD0(MaxEncodedBytes, size_t()); |
MOCK_CONST_METHOD0(Num10MsFramesInNextPacket, int()); |
MOCK_CONST_METHOD0(Max10MsFramesInAPacket, int()); |
+ MOCK_CONST_METHOD0(GetTargetBitrate, int()); |
MOCK_METHOD1(SetTargetBitrate, void(int)); |
MOCK_METHOD1(SetProjectedPacketLossRate, void(double)); |
// Note, we explicitly chose not to create a mock for the Encode method. |