Index: mojo/public/interfaces/application/service_provider.mojom |
diff --git a/mojo/public/interfaces/application/service_provider.mojom b/mojo/public/interfaces/application/service_provider.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d66dffc091dc8c11a138611caa441855a9c02ca5 |
--- /dev/null |
+++ b/mojo/public/interfaces/application/service_provider.mojom |
@@ -0,0 +1,16 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module mojo { |
+ |
+// ServiceProvider is used to establish connections to services in a bi- |
+// directional fashion between two applications. |
+[Client=ServiceProvider] |
+interface ServiceProvider { |
+ // Connect the given message pipe handle to the named service. If the named |
+ // service does not exist, then the handle will be closed. |
+ ConnectToService(string interface_name, handle<message_pipe> pipe); |
+}; |
+ |
+} |