| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 mojo.shell; | |
| 6 | |
| 7 // The following two interfaces are implemented by a service application. Two | |
| 8 // applications are started by a broker that connect to this service | |
| 9 // application, one is limited by the broker to only see Safe while the other | |
| 10 // can see both Safe and Unsafe. | |
| 11 interface Safe { }; | |
| 12 interface Unsafe { }; | |
| 13 | |
| 14 // Implemented by a service that records interfaces exposed to an application | |
| 15 // and connection errors to a target application. | |
| 16 interface Validator { | |
| 17 AddInterfaceCalled(string app_url, | |
| 18 string service_url, | |
| 19 string name, | |
| 20 bool blocked); | |
| 21 ConnectionClosed(string from_url, string to_url); | |
| 22 }; | |
| OLD | NEW |