Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: mojo/shell/external_application_registrar.mojom

Issue 522443003: Accept inbound connections on unix domain socket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug407782
Patch Set: Deleted extra curly brace, which was closing a namespace too early Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/shell/external_application_registrar.mojom
diff --git a/mojo/shell/external_application_registrar.mojom b/mojo/shell/external_application_registrar.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..db76aec4526fe0f100b257a683961f6d1017d318
--- /dev/null
+++ b/mojo/shell/external_application_registrar.mojom
@@ -0,0 +1,18 @@
+// Copyright 2014 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.
+
+import "mojo/public/interfaces/application/shell.mojom"
+
+module mojo {
+
+// This interface allows applications running outside the auspices of a Shell
+// to request registration at the given application_url.
+// The shell implementing this interface will make the calling application
+// available to other apps at that URL and bind the provided Shell& to
+// an impl capable of servicing the external application's connection requests.
+interface ExternalApplicationRegistrar {
+ Register(string application_url, Shell& shell) => ();
+};
+
+}
« no previous file with comments | « mojo/shell/external_application_listener_win.cc ('k') | mojo/shell/external_application_registrar_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698