From 505bac209bf672ca4497b8b9f026508d57974b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 18 Jun 2019 15:54:32 +0200 Subject: [PATCH] Add default implementation of deprecated StartAecDump method. Intended to enable deletion in downstream mock classes. Tbr: kwiberg@webrtc.org Bug: webrtc:6463 Change-Id: Iecc568c3ef6a983d21467a2b02ad61c59cac7e4e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/142231 Reviewed-by: Niels Moller Reviewed-by: Alex Loiko Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#28318} --- api/peer_connection_interface.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index 0b2bfa473e..c2e2f50cdc 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -1413,7 +1413,9 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface { return false; } // TODO(webrtc:6463): Deprecated; PlatformFile will soon be deleted. - virtual bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) = 0; + virtual bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) { + return false; + } // Stops logging the AEC dump. virtual void StopAecDump() = 0;