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 test application to allow service applications to inform it |
| 15 // of services/connections blocked. |
| 16 interface Client { |
| 17 AddServiceCalled(string app_url, |
| 18 string service_url, |
| 19 string name, |
| 20 bool blocked); |
| 21 }; |
OLD | NEW |