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

Unified Diff: mojo/shell/public/interfaces/application_manager.mojom

Issue 1761153002: Replace ChildController with ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@29binding
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « mojo/shell/public/cpp/names.h ('k') | mojo/shell/runner/child/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/interfaces/application_manager.mojom
diff --git a/mojo/shell/public/interfaces/application_manager.mojom b/mojo/shell/public/interfaces/application_manager.mojom
index 943c7675e05aba2f97e9eee812d86c68ac602f6b..c0a681eecb9cfcf292ce3566394207550c2d1094 100644
--- a/mojo/shell/public/interfaces/application_manager.mojom
+++ b/mojo/shell/public/interfaces/application_manager.mojom
@@ -5,6 +5,7 @@
module mojo.shell.mojom;
import "mojo/shell/public/interfaces/shell.mojom";
+import "mojo/shell/public/interfaces/shell_client_factory.mojom";
struct InstanceInfo {
uint32 id;
@@ -46,14 +47,12 @@ interface PIDReceiver {
interface ApplicationManager {
// Instructs the ApplicationManager to create an instance for an existing
- // process at the other end of |channel|, and perform applicable
- // initialization. This assumes the target process will bind the other end of
- // channel to an implementation of ChildController and bind an Application
- // request there.
- CreateInstanceForHandle(handle channel,
- string name,
- CapabilityFilter filter,
- PIDReceiver& pid_receiver);
+ // process at the other end of |factory|, and perform applicable
+ // initialization.
+ CreateInstanceForFactory(ShellClientFactory factory,
+ string name,
+ CapabilityFilter filter,
+ PIDReceiver& pid_receiver);
// The listener is removed when the |listener| pipe is closed.
AddInstanceListener(InstanceListener listener);
« no previous file with comments | « mojo/shell/public/cpp/names.h ('k') | mojo/shell/runner/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698