Index: mojo/shell/public/interfaces/shell.mojom |
diff --git a/mojo/shell/public/interfaces/shell.mojom b/mojo/shell/public/interfaces/shell.mojom |
index f29df889a34d1cf13296db524547bd27785c0864..5e0469f3e5400b595d61404dae5fc2c58a846290 100644 |
--- a/mojo/shell/public/interfaces/shell.mojom |
+++ b/mojo/shell/public/interfaces/shell.mojom |
@@ -36,39 +36,7 @@ interface InstanceListener { |
InstancePIDAvailable(uint32 id, uint32 pid); |
}; |
-// Implemented by an object in the shell associated with a specific instance. |
-// Tells it the PID for a process launched by the client. This interface is only |
-// available to callers of Shell::CreateInstanceForFactory(). |
-interface PIDReceiver { |
- SetPID(uint32 pid); |
-}; |
- |
-// Specifies a whitelist of applications and services an application can connect |
-// to. Connections to applications not explicitly specified here as a key are |
-// rejected. Connections to services not specified in an application's allowed |
-// interfaces value are not made. |
-// A "*" value as the only key in an otherwise empty map means the application |
-// may connect to any other application. |
-// A "*" value as the only string in an otherwise empty array of interface names |
-// means the application may connect to any service in that application. |
-// An empty interface name array means the application may not connect to any |
-// services exposed by the application it is connecting to. |
-struct CapabilityFilter { |
- map<string, array<string>> filter; |
-}; |
- |
interface Shell { |
- // Instructs the Shell to create an instance for an existing process at the |
- // other end of |factory|, and perform applicable initialization. |user_id| is |
- // the user the instance should be created as. This is typically set to |
- // Connector::kUserInherit, unless the application has the ability to connect |
- // as other users. |result| passed in the response indicates (via a MojoResult |
- // code, see connector.mojom for definitions) the status of the instance |
- // creation. |
- CreateInstance(ShellClientFactory factory, |
- Identity target, |
- PIDReceiver& pid_receiver) => (ConnectResult result); |
- |
// The listener is removed when the |listener| pipe is closed. |
AddInstanceListener(InstanceListener listener); |
}; |