Index: webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h |
diff --git a/webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h b/webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h |
index d127c5d810a95bf919e7a27d9d41e333a5fe657f..1b4a3c9da5b9361cc27b2bde49719c49dd75ebb7 100644 |
--- a/webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h |
+++ b/webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ |
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ |
+#include <string> |
+ |
#include "webrtc/modules/audio_coding/neteq/decoder_database.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -27,10 +29,12 @@ class MockDecoderDatabase : public DecoderDatabase { |
int()); |
MOCK_METHOD0(Reset, |
void()); |
- MOCK_METHOD2(RegisterPayload, |
- int(uint8_t rtp_payload_type, NetEqDecoder codec_type)); |
- MOCK_METHOD4(InsertExternal, |
- int(uint8_t rtp_payload_type, NetEqDecoder codec_type, int fs_hz, |
+ MOCK_METHOD3(RegisterPayload, |
+ int(uint8_t rtp_payload_type, NetEqDecoder codec_type, |
+ const std::string& name)); |
+ MOCK_METHOD5(InsertExternal, |
+ int(uint8_t rtp_payload_type, NetEqDecoder codec_type, |
+ const std::string& codec_name, int fs_hz, |
AudioDecoder* decoder)); |
MOCK_METHOD1(Remove, |
int(uint8_t rtp_payload_type)); |