Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: services/video_capture/device_media_to_mojo_adapter.h

Issue 2818513003: [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (Closed)
Patch Set: Fix compile errors Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « services/video_capture/device_factory_media_to_mojo_adapter.cc ('k') | services/video_capture/device_media_to_mojo_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698