| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 content; | 5 module content; |
| 6 | 6 |
| 7 enum ServicePortConnectResult { | 7 enum ServicePortConnectResult { |
| 8 ACCEPT, | 8 ACCEPT, |
| 9 REJECT | 9 REJECT |
| 10 }; | 10 }; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 PostMessage(int32 port_id, string message, | 23 PostMessage(int32 port_id, string message, |
| 24 array<MojoTransferredMessagePort> ports); | 24 array<MojoTransferredMessagePort> ports); |
| 25 ClosePort(int32 port_id); | 25 ClosePort(int32 port_id); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 interface ServicePortServiceClient { | 28 interface ServicePortServiceClient { |
| 29 PostMessage(int32 port_id, string message, | 29 PostMessage(int32 port_id, string message, |
| 30 array<MojoTransferredMessagePort> ports, | 30 array<MojoTransferredMessagePort> ports, |
| 31 array<int32> new_routing_ids); | 31 array<int32> new_routing_ids); |
| 32 }; | 32 }; |
| 33 |
| 34 interface ServicePortDispatcher { |
| 35 Connect(string target_url, string origin, int32 port_id) |
| 36 => (ServicePortConnectResult result, string name, string data); |
| 37 }; |
| OLD | NEW |