| Index: remoting/host/capture_scheduler.h
|
| diff --git a/remoting/host/capture_scheduler.h b/remoting/host/capture_scheduler.h
|
| index a901ed492eb7c6aa20b9f829645b8ed6911c4da2..9dbecdad3d14720167cf321977f45c46afa4a618 100644
|
| --- a/remoting/host/capture_scheduler.h
|
| +++ b/remoting/host/capture_scheduler.h
|
| @@ -27,10 +27,16 @@ class CaptureScheduler {
|
| void RecordCaptureTime(base::TimeDelta capture_time);
|
| void RecordEncodeTime(base::TimeDelta encode_time);
|
|
|
| + // Sets minimum interval between frames.
|
| + void set_minimum_interval(base::TimeDelta minimum_interval) {
|
| + minimum_interval_ = minimum_interval;
|
| + }
|
| +
|
| // Overrides the number of processors for testing.
|
| void SetNumOfProcessorsForTest(int num_of_processors);
|
|
|
| private:
|
| + base::TimeDelta minimum_interval_;
|
| int num_of_processors_;
|
| RunningAverage capture_time_;
|
| RunningAverage encode_time_;
|
|
|