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

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

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
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/interfaces/shell.mojom ('k') | mojo/shell/public/interfaces/shell_client_factory.mojom » ('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 8a6e4be604935b41c58e9b399ca1ea981ac2589a..e8643e60a73165aac8741dac0cc92940dbfc5195 100644
--- a/mojo/shell/public/interfaces/shell_client.mojom
+++ b/mojo/shell/public/interfaces/shell_client.mojom
@@ -20,8 +20,8 @@ interface ShellClient {
// An interface back to the shell by which new connections may be
// established.
//
- // url
- // The resolved URL used in the connection request that resulted in this
+ // name
+ // The resolved name used in the connection request that resulted in this
// application being initialized.
//
// id
@@ -33,7 +33,7 @@ interface ShellClient {
// instantiated is run as. This will always be a valid user id, never
// Shell::kUserInherit.
//
- Initialize(Connector connector, string url, uint32 id, uint32 user_id);
+ Initialize(Connector connector, string name, uint32 id, uint32 user_id);
// Called when another application attempts to open a connection to this
// application. An application implements this method to complete the exchange
@@ -44,8 +44,8 @@ interface ShellClient {
//
// Parameters:
//
- // requestor_url
- // The URL of the source application.
+ // requestor_name
+ // The name of the source application.
//
// requestor_id
// A unique identifier used by the shell to identify the source
@@ -71,14 +71,14 @@ interface ShellClient {
// manifests. Attempts to bind interfaces not in this whitelist must not be
// fulfilled.
//
- // resolved_url
- // The resolved URL used to complete this connection.
+ // resolved_name
+ // The resolved name used to complete this connection.
//
- AcceptConnection(string requestor_url,
+ AcceptConnection(string requestor_name,
uint32 requestor_id,
uint32 requestor_user_id,
InterfaceProvider&? local_interfaces,
InterfaceProvider? remote_interfaces,
array<string> allowed_interfaces,
- string resolved_url);
+ string resolved_name);
};
« no previous file with comments | « mojo/shell/public/interfaces/shell.mojom ('k') | mojo/shell/public/interfaces/shell_client_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698