Chromium Code Reviews| Index: media/cast/sender/video_sender.h |
| diff --git a/media/cast/sender/video_sender.h b/media/cast/sender/video_sender.h |
| index 025aaa01cc64a320c29a390f6255b06bc026a4c1..a2e6c9b437c6f27c4c48f118464c1e3bf8177c14 100644 |
| --- a/media/cast/sender/video_sender.h |
| +++ b/media/cast/sender/video_sender.h |
| @@ -104,6 +104,11 @@ class VideoSender : public FrameSender, |
| double last_reported_deadline_utilization_; |
| double last_reported_lossy_utilization_; |
| + // This tracks the time when the request was sent to encoder to encode a key |
| + // frame on receiving a Pli message. It is used to limit the sender not |
| + // to duplicately response to multiple Pli messages in a short period. |
| + base::TimeTicks last_attempt_to_resolve_picture_loss_; |
|
Irfan
2016/02/29 16:01:23
think name needs to indicate it tracks time. do no
xjz
2016/02/29 19:48:58
Done. Renamed it to |last_time_attempted_to_resolv
|
| + |
| // NOTE: Weak pointers must be invalidated before all other member variables. |
| base::WeakPtrFactory<VideoSender> weak_factory_; |