| Index: webrtc/video/send_statistics_proxy.h
|
| diff --git a/webrtc/video/send_statistics_proxy.h b/webrtc/video/send_statistics_proxy.h
|
| index 1d37f18b84163dd428e88e45f296b8b0b8690c99..60d962f93b3a1cdf541868fab929001fdce7d801 100644
|
| --- a/webrtc/video/send_statistics_proxy.h
|
| +++ b/webrtc/video/send_statistics_proxy.h
|
| @@ -49,6 +49,9 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver,
|
| // Used to update incoming frame rate.
|
| void OnIncomingFrame(int width, int height);
|
|
|
| + // Used to update encode time of frames.
|
| + void OnEncodedFrame(int encode_time_ms);
|
| +
|
| // From VideoEncoderRateObserver.
|
| void OnSetRates(uint32_t bitrate_bps, int framerate) override;
|
|
|
| @@ -125,6 +128,7 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver,
|
| SampleCounter input_height_counter_ GUARDED_BY(crit_);
|
| SampleCounter sent_width_counter_ GUARDED_BY(crit_);
|
| SampleCounter sent_height_counter_ GUARDED_BY(crit_);
|
| + SampleCounter encode_time_counter_ GUARDED_BY(crit_);
|
| };
|
|
|
| } // namespace webrtc
|
|
|