From 7aa9b910ff0bc97fd9f2f1bf296ed8e4554862a2 Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 8 Dec 2016 12:21:41 -0800 Subject: [PATCH] Fix issue with deprecated CongestionController interface not working. BUG=b/33446014 Review-Url: https://codereview.webrtc.org/2565503002 Cr-Commit-Position: refs/heads/master@{#15491} --- .../include/congestion_controller.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h index e1151c1544..004a84752e 100644 --- a/webrtc/modules/congestion_controller/include/congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h @@ -47,17 +47,10 @@ class CongestionController : public CallStatsObserver, public Module { // packet headers and is measured in bits per second. class Observer { public: - // This is to be deprecated. Please use the one below instead. - RTC_DEPRECATED virtual void OnNetworkChanged(uint32_t bitrate_bps, - uint8_t fraction_loss, - int64_t rtt_ms) {} - - // TODO(minyue): make this method pure virtual when all uses of the old API - // have been updated. virtual void OnNetworkChanged(uint32_t bitrate_bps, uint8_t fraction_loss, // 0 - 255. int64_t rtt_ms, - int64_t probing_interval_ms) {} + int64_t probing_interval_ms) = 0; protected: virtual ~Observer() {}