| Index: remoting/protocol/webrtc_frame_scheduler.h
|
| diff --git a/remoting/protocol/webrtc_frame_scheduler.h b/remoting/protocol/webrtc_frame_scheduler.h
|
| index 3c15ff9f5eb1c7b9a208c4c6c637f41cc4f698d9..05cf6849b1a84c44477e3f67db41b74d3d1cd6bb 100644
|
| --- a/remoting/protocol/webrtc_frame_scheduler.h
|
| +++ b/remoting/protocol/webrtc_frame_scheduler.h
|
| @@ -13,6 +13,7 @@
|
| namespace remoting {
|
| namespace protocol {
|
|
|
| +struct HostFrameStats;
|
| class VideoChannelStateObserver;
|
| class WebrtcDummyVideoEncoderFactory;
|
|
|
| @@ -39,10 +40,13 @@ class WebrtcFrameScheduler {
|
| const webrtc::DesktopFrame& frame,
|
| WebrtcVideoEncoder::FrameParams* params_out) = 0;
|
|
|
| - // Called after a frame has been encoded and passed to the sender.
|
| + // Called after a frame has been encoded and passed to the sender. If
|
| + // |frame_stats| is not null then sets send_pending_delay, rtt_estimate and
|
| + // bandwidth_estimate_kbps fields.
|
| virtual void OnFrameEncoded(
|
| const WebrtcVideoEncoder::EncodedFrame& encoded_frame,
|
| - const webrtc::EncodedImageCallback::Result& send_result) = 0;
|
| + const webrtc::EncodedImageCallback::Result& send_result,
|
| + HostFrameStats* frame_stats) = 0;
|
| };
|
|
|
| } // namespace protocol
|
|
|