summaryrefslogtreecommitdiffstats
path: root/chromium/mojo/public/interfaces/service_provider/service_provider.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/mojo/public/interfaces/service_provider/service_provider.mojom')
-rw-r--r--chromium/mojo/public/interfaces/service_provider/service_provider.mojom19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/mojo/public/interfaces/service_provider/service_provider.mojom b/chromium/mojo/public/interfaces/service_provider/service_provider.mojom
new file mode 100644
index 00000000000..190c85c2d78
--- /dev/null
+++ b/chromium/mojo/public/interfaces/service_provider/service_provider.mojom
@@ -0,0 +1,19 @@
+// 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 {
+
+[Client=ServiceProvider]
+interface ServiceProvider {
+ // Loads url. mojo:{service} will result in the user of the value of the
+ // --origin flag to the shell being used.
+ ConnectToService(string service_url,
+ string service_name,
+ handle<message_pipe> client_handle,
+ // ignored for client making request, filled in by system for
+ // implementor.
+ string requestor_url);
+};
+
+}