Index: webrtc/video/send_statistics_proxy.cc |
diff --git a/webrtc/video/send_statistics_proxy.cc b/webrtc/video/send_statistics_proxy.cc |
index 505dc07ab7bb8f418fe567cea3b9f7cd695b7220..a95ade5d83cbd45abbf8bf700a4a04d410330373 100644 |
--- a/webrtc/video/send_statistics_proxy.cc |
+++ b/webrtc/video/send_statistics_proxy.cc |
@@ -66,9 +66,7 @@ void SendStatisticsProxy::UpdateHistograms() { |
RTC_HISTOGRAM_COUNTS_1000("WebRTC.Video.EncodeTimeInMs", encode_ms); |
} |
-void SendStatisticsProxy::OutgoingRate(const int video_channel, |
- const unsigned int framerate, |
- const unsigned int bitrate) { |
+void SendStatisticsProxy::OnOutgoingRate(uint32_t framerate, uint32_t bitrate) { |
rtc::CritScope lock(&crit_); |
stats_.encode_frame_rate = framerate; |
stats_.media_bitrate_bps = bitrate; |
@@ -82,7 +80,7 @@ void SendStatisticsProxy::CpuOveruseMetricsUpdated( |
stats_.encode_usage_percent = metrics.encode_usage_percent; |
} |
-void SendStatisticsProxy::SuspendChange(int video_channel, bool is_suspended) { |
+void SendStatisticsProxy::OnSuspendChange(bool is_suspended) { |
rtc::CritScope lock(&crit_); |
stats_.suspended = is_suspended; |
} |