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

Unified Diff: mojo/shell/external_application_registrar.mojom

Issue 614663003: Change ExternalApplicationRegistrar::Register API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
index db76aec4526fe0f100b257a683961f6d1017d318..26a284a9d04526f116d069af4a6e239072c34eb1 100644
--- a/mojo/shell/external_application_registrar.mojom
+++ b/mojo/shell/external_application_registrar.mojom
@@ -2,6 +2,7 @@
// 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/application.mojom"
import "mojo/public/interfaces/application/shell.mojom"
module mojo {
@@ -9,10 +10,10 @@ 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
+// available to other apps at that URL and pass back a Shell bound to
// an impl capable of servicing the external application's connection requests.
interface ExternalApplicationRegistrar {
- Register(string application_url, Shell& shell) => ();
+ Register(string application_url) => (Shell shell);
};
}
« no previous file with comments | « mojo/shell/external_application_listener_unittest.cc ('k') | mojo/shell/external_application_registrar_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698