Index: webrtc/video/overuse_frame_detector.h |
diff --git a/webrtc/video/overuse_frame_detector.h b/webrtc/video/overuse_frame_detector.h |
index 752642b1601c6d3b2c8c1332de409dbaaa5fd8da..2fb3104d538dccc756ca9464f61a12f434b8b9d3 100644 |
--- a/webrtc/video/overuse_frame_detector.h |
+++ b/webrtc/video/overuse_frame_detector.h |
@@ -87,6 +87,7 @@ class OveruseFrameDetector { |
void CheckForOveruse(); // Protected for test purposes. |
private: |
+ class OverdoseInjector; |
class SendProcessingUsage; |
class CheckOveruseTask; |
struct FrameTiming { |
@@ -110,6 +111,9 @@ class OveruseFrameDetector { |
void ResetAll(int num_pixels); |
+ static std::unique_ptr<SendProcessingUsage> CreateSendProcessingUsage( |
+ const CpuOveruseOptions& options); |
+ |
rtc::SequencedTaskChecker task_checker_; |
// Owned by the task queue from where StartCheckForOveruse is called. |
CheckOveruseTask* check_overuse_task_; |