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 the transitional interfaces below. |
| 8 interface RoutedInterface {}; |
| 9 |
| 10 // Implemented by either side of a single route to bind associated interface |
| 11 // requests from the other side. |
| 12 interface RoutedInterfaceProvider { |
| 13 GetRoutedInterface(string name, associated RoutedInterface& request); |
| 14 }; |
| 15 |
| 16 // Implemented by anything which manages one or more routes, to map a routing |
| 17 // ID to an interface provider. |
| 18 interface RouteProvider { |
| 19 GetRoutedInterfaces(int32 routing_id, |
| 20 associated RoutedInterfaceProvider& request); |
| 21 }; |
OLD | NEW |