Index: services/video_capture/device_media_to_mojo_adapter.h |
diff --git a/services/video_capture/device_media_to_mojo_adapter.h b/services/video_capture/device_media_to_mojo_adapter.h |
index dd3a712525fa91e0ba35e50161d667fea6e31c6f..e09e9c08b3c8f1213e0f8dfeb99e47fab7d1c79d 100644 |
--- a/services/video_capture/device_media_to_mojo_adapter.h |
+++ b/services/video_capture/device_media_to_mojo_adapter.h |
@@ -24,11 +24,17 @@ class DeviceMediaToMojoAdapter : public mojom::Device { |
// mojom::Device: |
void Start(const media::VideoCaptureParams& requested_settings, |
mojom::ReceiverPtr receiver) override; |
+ void OnReceiverReportingUtilization(int32_t frame_feedback_id, |
+ double utilization) override; |
void Stop(); |
void OnClientConnectionErrorOrClose(); |
+ // Returns the fixed maximum number of buffers passed to the constructor |
+ // of VideoCaptureBufferPoolImpl. |
+ static int max_buffer_pool_buffer_count(); |
+ |
private: |
const std::unique_ptr<media::VideoCaptureDevice> device_; |
media::VideoCaptureJpegDecoderFactoryCB jpeg_decoder_factory_callback_; |