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

Side by Side Diff: services/shell/public/interfaces/connector.mojom

Issue 2397353002: Purge references of "Mojo Application" from comments & var names. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module shell.mojom; 5 module shell.mojom;
6 6
7 import "services/shell/public/interfaces/interface_provider.mojom"; 7 import "services/shell/public/interfaces/interface_provider.mojom";
8 8
9 const string kRootUserID = "505C0EE9-3013-43C0-82B0-A84F50CF8D84"; 9 const string kRootUserID = "505C0EE9-3013-43C0-82B0-A84F50CF8D84";
10 const string kInheritUserID = "D26290E4-4485-4EAE-81A2-66D1EEB40A9D"; 10 const string kInheritUserID = "D26290E4-4485-4EAE-81A2-66D1EEB40A9D";
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Provides the shell the ability to bind a Service from the client process to 75 // Provides the shell the ability to bind a Service from the client process to
76 // the instance it creates. 76 // the instance it creates.
77 handle<message_pipe> service; 77 handle<message_pipe> service;
78 78
79 // Allows the client process launcher to tell the shell the PID of the process 79 // Allows the client process launcher to tell the shell the PID of the process
80 // it created (the pid isn't supplied directly here as the process may not 80 // it created (the pid isn't supplied directly here as the process may not
81 // have been launched by the time Connect() is called.) 81 // have been launched by the time Connect() is called.)
82 handle<message_pipe> pid_receiver_request; 82 handle<message_pipe> pid_receiver_request;
83 }; 83 };
84 84
85 // Encapsulates establishing connections with other Mojo applications. 85 // Encapsulates establishing connections with other Services.
86 interface Connector { 86 interface Connector {
87 // Requests a connection with another application. The application originating 87 // Requests a connection with another application. The application originating
88 // the request is referred to as the "source" and the one receiving the 88 // the request is referred to as the "source" and the one receiving the
89 // "target". 89 // "target".
90 // 90 //
91 // The connection is embodied by a pair of message pipes binding the 91 // The connection is embodied by a pair of message pipes binding the
92 // InterfaceProvider interface, which allows both the source and target 92 // InterfaceProvider interface, which allows both the source and target
93 // applications to export interfaces to one another. The interfaces bound via 93 // applications to export interfaces to one another. The interfaces bound via
94 // these InterfaceProviders are brokered by the shell according to the 94 // these InterfaceProviders are brokered by the shell according to the
95 // security policy defined by each application in its manifest . 95 // security policy defined by each application in its manifest .
(...skipping 29 matching lines...) Expand all
125 // the shell into a valid user id returned through this callback. 125 // the shell into a valid user id returned through this callback.
126 // 126 //
127 Connect(Identity target, 127 Connect(Identity target,
128 InterfaceProvider&? remote_interfaces, 128 InterfaceProvider&? remote_interfaces,
129 ClientProcessConnection? client_process_connection) => 129 ClientProcessConnection? client_process_connection) =>
130 (ConnectResult result, string user_id); 130 (ConnectResult result, string user_id);
131 131
132 // Clones this Connector so it can be passed to another thread. 132 // Clones this Connector so it can be passed to another thread.
133 Clone(Connector& request); 133 Clone(Connector& request);
134 }; 134 };
OLDNEW
« no previous file with comments | « services/shell/public/interfaces/capabilities.mojom ('k') | services/shell/runner/common/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698