| // Copyright 2017 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. |
| |
| module media.mojom; |
| |
| import "media/mojo/mojom/media_types.mojom"; |
| |
| interface TraitsTestService { |
| [Sync] |
| EchoVideoFrame(VideoFrame? f) => (VideoFrame? pass); |
| }; |
| |
| // Test service to help with verifying VideoFrameMetadata traits. |
| interface VideoFrameMetadataTraitsTestService { |
| // Serializes and deserializes VideoFrameMedata. |
| [Sync] |
| EchoVideoFrameMetadata(VideoFrameMetadata vfm) => (VideoFrameMetadata pass); |
| }; |