| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module media.mojom; | 5 module media.mojom; |
| 6 | 6 |
| 7 import "media/mojo/interfaces/interface_factory.mojom"; | 7 import "media/mojo/interfaces/interface_factory.mojom"; |
| 8 import "services/service_manager/public/interfaces/interface_provider.mojom"; | 8 import "services/service_manager/public/interfaces/interface_provider.mojom"; |
| 9 | 9 |
| 10 interface MediaService { | 10 interface MediaService { |
| 11 CreateInterfaceFactory(InterfaceFactory& factory, | 11 // Requests an InterfaceFactory. |host_interfaces| can optionally be used to |
| 12 service_manager.mojom.InterfaceProvider frame_interfaces)
; | 12 // provide interfaces hosted by the caller to the remote InterfaceFactory |
| 13 // implementation. |
| 14 CreateInterfaceFactory( |
| 15 InterfaceFactory& factory, |
| 16 service_manager.mojom.InterfaceProvider? host_interfaces); |
| 13 }; | 17 }; |
| OLD | NEW |