OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module content.mojom; |
| 6 |
| 7 import "media/mojo/interfaces/audio_output_stream.mojom"; |
| 8 import "media/mojo/interfaces/audio_parameters.mojom"; |
| 9 import "media/mojo/interfaces/media_types.mojom"; |
| 10 import "url/mojo/origin.mojom"; |
| 11 |
| 12 interface RendererAudioOutputStreamFactory { |
| 13 // Used to request a device. The AudioOutputStreamProviderRequest will be |
| 14 // bound to an AudioOutputStreamProvider implementation or closed |
| 15 // (in case of an error). |
| 16 RequestDeviceAuthorization( |
| 17 media.mojom.AudioOutputStreamProvider& stream_provider_request, |
| 18 int64 session_id, |
| 19 string device_id, |
| 20 url.mojom.Origin origin) => |
| 21 (media.mojom.OutputDeviceStatus state, |
| 22 media.mojom.AudioParameters output_params, |
| 23 string matched_device_id); |
| 24 }; |
OLD | NEW |