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

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

Issue 1793793002: Remove ShellConnection::WaitForInitialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/shell_connection.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/shell_client.mojom
diff --git a/mojo/shell/public/interfaces/shell_client.mojom b/mojo/shell/public/interfaces/shell_client.mojom
index 260bb2c0259cca5e06dc0a6d81ae59989a046881..b0c601cd0bb547a7440ee73226f768cc77d162c5 100644
--- a/mojo/shell/public/interfaces/shell_client.mojom
+++ b/mojo/shell/public/interfaces/shell_client.mojom
@@ -17,10 +17,6 @@ interface ShellClient {
//
// Parameters:
//
- // connector
- // An interface back to the shell by which new connections may be
- // established.
- //
// identity
// The identity of this instance in the shell. Includes:
// * The resolved name used in the connection request that resulted in this
@@ -32,7 +28,14 @@ interface ShellClient {
// id
// A unique identifier used by the shell to identify this instance.
//
- Initialize(Connector connector, Identity identity, uint32 id);
+ //
+ // Response parameters:
+ //
+ // connector_request
+ // An optional Connector request for the shell to bind, allowing the
+ // initialized client to connect to others.
+ //
+ Initialize(Identity identity, uint32 id) => (Connector&? connector_request);
// Called when another application attempts to open a connection to this
// application. An application implements this method to complete the exchange
« no previous file with comments | « mojo/shell/public/cpp/shell_connection.h ('k') | mojo/shell/runner/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698