diff options
Diffstat (limited to 'chromium/chromeos/services/media_perception/public/mojom/media_perception_service.mojom')
-rw-r--r-- | chromium/chromeos/services/media_perception/public/mojom/media_perception_service.mojom | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/chromeos/services/media_perception/public/mojom/media_perception_service.mojom b/chromium/chromeos/services/media_perception/public/mojom/media_perception_service.mojom new file mode 100644 index 00000000000..12151a5d6ce --- /dev/null +++ b/chromium/chromeos/services/media_perception/public/mojom/media_perception_service.mojom @@ -0,0 +1,29 @@ +// Copyright 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Next MinVersion: 1 + +module chromeos.media_perception.mojom; + +import "chromeos/services/media_perception/public/mojom/media_perception.mojom"; +import "services/video_capture/public/mojom/device_factory.mojom"; + +// Used to establish two-way communication between a client and the media +// perception service. +interface MediaPerceptionService { + GetController@0(MediaPerceptionController& request, + MediaPerceptionControllerClient client); +}; + +interface MediaPerceptionController { + // Used by the client to establish a MediaPerception pipe. + ActivateMediaPerception@0(MediaPerception& request); +}; + +interface MediaPerceptionControllerClient { + // Interface for the service to connect to the Video Capture Service + // directly via a Mojo pipe set up through a DeviceFactory request. + ConnectToVideoCaptureService@0(video_capture.mojom.DeviceFactory& request); +}; + |