Chromium Code Reviews| 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 // This interface is used to create output streams. The client supplies a | |
| 13 // request for a stream provider, and then supplies the desired audio | |
| 14 // parameters to that to create the stream. | |
| 15 interface RendererAudioOutputStreamFactory { | |
| 16 // Used to request a device. The AudioOutputStreamProviderRequest will be | |
| 17 // bound to an AudioOutputStreamProvider implementation or closed | |
| 18 // (in case of an error). | |
| 19 RequestDeviceAuthorization( | |
| 20 media.mojom.AudioOutputStreamProvider& stream_provider_request, | |
| 21 int64 session_id, | |
| 22 string device_id, | |
| 23 url.mojom.Origin origin) => | |
|
Mike West
2017/03/29 08:22:07
Why are you passing in an origin here? Shouldn't t
Max Morin
2017/03/30 12:48:50
I changed to getting it from RFH::GetLastCommitted
| |
| 24 (media.mojom.OutputDeviceStatus state, | |
| 25 media.mojom.AudioParameters output_params, | |
| 26 string matched_device_id); | |
| 27 }; | |
| OLD | NEW |