Index: content/browser/renderer_host/media/video_capture_controller.h |
diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h |
index b5f4a10f9d0e97c50e33c315fc4dc426cd921f77..0ba1cfb95041653499060596087836132428d2ec 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller.h |
+++ b/content/browser/renderer_host/media/video_capture_controller.h |
@@ -102,6 +102,7 @@ class CONTENT_EXPORT VideoCaptureController : public media::VideoFrameReceiver { |
void OnError() override; |
void OnLog(const std::string& message) override; |
void OnStarted() override; |
+ void OnStartedUsingGpuDecode() override; |
private: |
struct ControllerClient; |
@@ -172,6 +173,11 @@ class CONTENT_EXPORT VideoCaptureController : public media::VideoFrameReceiver { |
void ReleaseBufferContext( |
const std::vector<BufferContext>::iterator& buffer_state_iter); |
+ using EventHandlerAction = |
+ base::Callback<void(VideoCaptureControllerEventHandler* client, |
+ VideoCaptureControllerID id)>; |
+ void PerformForClientsWithOpenSession(EventHandlerAction action); |
+ |
std::unique_ptr<media::VideoFrameConsumerFeedbackObserver> |
consumer_feedback_observer_; |