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

Unified Diff: services/video_capture/public/interfaces/receiver.mojom

Issue 2844813002: Revert of [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (Closed)
Patch Set: 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/public/interfaces/receiver.mojom
diff --git a/services/video_capture/public/interfaces/receiver.mojom b/services/video_capture/public/interfaces/receiver.mojom
index 6ec99df97cfb5d4d8371244c7728a20113e9044f..287c0579bc581bab9df5af3c2dc096780918fd28 100644
--- a/services/video_capture/public/interfaces/receiver.mojom
+++ b/services/video_capture/public/interfaces/receiver.mojom
@@ -4,22 +4,14 @@
module video_capture.mojom;
-import "media/capture/mojo/video_capture_types.mojom";
import "media/mojo/interfaces/media_types.mojom";
-
-// Empty interface for encapsulating scoped access permission to a Buffer.
-interface ScopedAccessPermission {};
// Callback interface for receiving data and messages from a started
// video_capture.mojom.Device.
interface Receiver {
- OnNewBufferHandle(int32 buffer_id, handle<shared_buffer> buffer_handle);
- OnFrameReadyInBuffer(int32 buffer_id, int32 frame_feedback_id,
- ScopedAccessPermission access_permission,
- media.mojom.VideoFrameInfo frame_info);
- OnBufferRetired(int32 buffer_id);
+ OnIncomingCapturedVideoFrame(media.mojom.VideoFrame frame);
OnError();
OnLog(string message);
OnStarted();
- OnStartedUsingGpuDecode();
+ OnBufferDestroyed(int32 buffer_id_to_drop);
};
« no previous file with comments | « services/video_capture/public/interfaces/device.mojom ('k') | services/video_capture/receiver_mojo_to_media_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698