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

Unified Diff: voice_engine/channel_proxy.cc

Issue 3020473002: Remove voe::Statistics. (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/channel_proxy.h ('k') | voice_engine/shared_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/channel_proxy.cc
diff --git a/voice_engine/channel_proxy.cc b/voice_engine/channel_proxy.cc
index 15db60d9b9bb8603bfb6fd749783718c4d0a63c6..bea4c0692edd84aa4bcf668f2872a093205320da 100644
--- a/voice_engine/channel_proxy.cc
+++ b/voice_engine/channel_proxy.cc
@@ -213,15 +213,9 @@ void ChannelProxy::SetInputMute(bool muted) {
channel()->SetInputMute(muted);
}
-void ChannelProxy::RegisterExternalTransport(Transport* transport) {
+void ChannelProxy::RegisterTransport(Transport* transport) {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
- int error = channel()->RegisterExternalTransport(transport);
- RTC_DCHECK_EQ(0, error);
-}
-
-void ChannelProxy::DeRegisterExternalTransport() {
- RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
- channel()->DeRegisterExternalTransport();
+ channel()->RegisterTransport(transport);
}
void ChannelProxy::OnRtpPacket(const RtpPacketReceived& packet) {
« no previous file with comments | « voice_engine/channel_proxy.h ('k') | voice_engine/shared_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698