| Index: webrtc/media/base/videoadapter.h
|
| diff --git a/webrtc/media/base/videoadapter.h b/webrtc/media/base/videoadapter.h
|
| index 0146182d1d9d300894c54b77b7b29a682263fea4..13a342d86eaec0068b4f0f262df06f312a94d807 100644
|
| --- a/webrtc/media/base/videoadapter.h
|
| +++ b/webrtc/media/base/videoadapter.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "webrtc/base/common.h" // For ASSERT
|
| #include "webrtc/base/criticalsection.h"
|
| +#include "webrtc/base/optional.h"
|
| #include "webrtc/base/sigslot.h"
|
| #include "webrtc/media/base/videocommon.h"
|
|
|
| @@ -139,6 +140,9 @@ class CoordinatedVideoAdapter
|
| void OnEncoderResolutionRequest(int width, int height, AdaptRequest request);
|
| // Handle the resolution request for CPU overuse.
|
| void OnCpuResolutionRequest(AdaptRequest request);
|
| + void OnCpuResolutionRequest(rtc::Optional<int> max_pixel_count,
|
| + rtc::Optional<int> max_pixel_count_step_up);
|
| +
|
| // Handle the CPU load provided by a CPU monitor.
|
| void OnCpuLoadUpdated(int current_cpus, int max_cpus,
|
| float process_load, float system_load);
|
|
|