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

Unified Diff: voice_engine/voice_engine_fixture.cc

Issue 3018523002: Clean out unused methods from VoiceEngine and VoEBase. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « voice_engine/voice_engine_fixture.h ('k') | voice_engine/voice_engine_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/voice_engine_fixture.cc
diff --git a/voice_engine/voice_engine_fixture.cc b/voice_engine/voice_engine_fixture.cc
index eb605c9c5b3b761626e342bdddc6b28a36ab8963..c167b40135ec7067b89b359e7c75c86065171fc8 100644
--- a/voice_engine/voice_engine_fixture.cc
+++ b/voice_engine/voice_engine_fixture.cc
@@ -19,13 +19,11 @@ VoiceEngineFixture::VoiceEngineFixture()
network_(VoENetwork::GetInterface(voe_)) {
EXPECT_NE(nullptr, base_);
EXPECT_NE(nullptr, network_);
- EXPECT_EQ(0, base_->RegisterVoiceEngineObserver(observer_));
apm_ = new rtc::RefCountedObject<test::MockAudioProcessing>();
}
VoiceEngineFixture::~VoiceEngineFixture() {
EXPECT_EQ(2, network_->Release());
- EXPECT_EQ(0, base_->DeRegisterVoiceEngineObserver());
EXPECT_EQ(0, base_->Terminate());
EXPECT_EQ(1, base_->Release());
EXPECT_TRUE(VoiceEngine::Delete(voe_));
« no previous file with comments | « voice_engine/voice_engine_fixture.h ('k') | voice_engine/voice_engine_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698