Chromium Code Reviews| 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 // Request an InterfaceFactory. |frame_interfaces| can optionally be used to |
|
xhwang
2016/11/30 18:49:31
nit: Request_s_
slan
2016/12/01 00:47:22
Done.
| |
| 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? frame_interfaces); | |
|
alokp
2016/11/30 17:36:20
nit: I do not quite like the name frame_interfaces
slan
2016/11/30 17:40:39
client_interfaces? (As Xiaohan mentioned somewhere
xhwang
2016/11/30 18:49:31
Naming is hard :)
The context is here: https://bu
slan
2016/12/01 00:47:22
I like host_interfaces. Done.
| |
| 13 }; | 17 }; |
| OLD | NEW |