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

Unified Diff: webrtc/test/mock_voice_engine.h

Issue 2307533004: Moving/renaming webrtc/common.h. (Closed)
Patch Set: Comments+small fixes Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/test/mock_voice_engine.h
diff --git a/webrtc/test/mock_voice_engine.h b/webrtc/test/mock_voice_engine.h
index 469028dbf692cfb486573a706f929337dc4d8a5e..fbe7088e1e1584681cd8f30524cdb8094ef8fa3f 100644
--- a/webrtc/test/mock_voice_engine.h
+++ b/webrtc/test/mock_voice_engine.h
@@ -30,8 +30,7 @@ class MockVoiceEngine : public VoiceEngineImpl {
// http://crbug.com/428099.
MockVoiceEngine(
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory = nullptr)
- : VoiceEngineImpl(new Config(), true),
- decoder_factory_(decoder_factory) {
+ : decoder_factory_(decoder_factory) {
// Increase ref count so this object isn't automatically deleted whenever
// interfaces are Release():d.
++_ref_count;
@@ -123,7 +122,7 @@ class MockVoiceEngine : public VoiceEngineImpl {
MOCK_METHOD0(audio_processing, AudioProcessing*());
MOCK_METHOD0(Terminate, int());
MOCK_METHOD0(CreateChannel, int());
- MOCK_METHOD1(CreateChannel, int(const Config& config));
+ MOCK_METHOD1(CreateChannel, int(const AudioCodingModule::Config& acm_config));
MOCK_METHOD1(DeleteChannel, int(int channel));
MOCK_METHOD1(StartReceive, int(int channel));
MOCK_METHOD1(StopReceive, int(int channel));

Powered by Google App Engine
This is Rietveld 408576698