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] | |
10 interface ServiceProvider { | 9 interface ServiceProvider { |
11 // Connect the given message pipe handle to the named service. If the named | 10 // Connect the given message pipe handle to the named service. If the named |
12 // service does not exist, then the handle will be closed. | 11 // service does not exist, then the handle will be closed. |
13 ConnectToService(string interface_name, handle<message_pipe> pipe); | 12 ConnectToService(string interface_name, handle<message_pipe> pipe); |
14 }; | 13 }; |
OLD | NEW |