OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module content.mojom; |
| 6 |
| 7 // A generic, nominal interface to support transitional Channel-associated |
| 8 // interfaces at or above the content layer. |
| 9 interface AssociatedInterface {}; |
| 10 |
| 11 // Analogous to the generic InterfaceProvider interface, but for content |
| 12 // AssociatedInterfaces. |
| 13 interface AssociatedInterfaceProvider { |
| 14 GetAssociatedInterface(string name, associated AssociatedInterface& request); |
| 15 }; |
| 16 |
| 17 // Implemented by anything which manages one or more routes, to map a routing |
| 18 // ID to an AssociatedInterfaceProvider. |
| 19 interface RouteProvider { |
| 20 GetRoute(int32 routing_id, associated AssociatedInterfaceProvider& request); |
| 21 }; |
OLD | NEW |