| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 mojo { | 5 module mojo; |
| 6 | 6 |
| 7 // ServiceProvider is used to establish connections to services in a bi- | 7 // ServiceProvider is used to establish connections to services in a bi- |
| 8 // directional fashion between two applications. | 8 // directional fashion between two applications. |
| 9 [Client=ServiceProvider] | 9 [Client=ServiceProvider] |
| 10 interface ServiceProvider { | 10 interface ServiceProvider { |
| 11 // Connect the given message pipe handle to the named service. If the named | 11 // Connect the given message pipe handle to the named service. If the named |
| 12 // service does not exist, then the handle will be closed. | 12 // service does not exist, then the handle will be closed. |
| 13 ConnectToService(string? interface_name, handle<message_pipe>? pipe); | 13 ConnectToService(string? interface_name, handle<message_pipe>? pipe); |
| 14 }; | 14 }; |
| 15 | |
| 16 } | |
| OLD | NEW |