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

Unified Diff: services/service_manager/public/interfaces/connector.mojom

Issue 2610173003: Add RegisterService, split out of Connect(). (Closed)
Patch Set: . Created 3 years, 11 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
Index: services/service_manager/public/interfaces/connector.mojom
diff --git a/services/service_manager/public/interfaces/connector.mojom b/services/service_manager/public/interfaces/connector.mojom
index b1e7314c42fb14e423764fc9201257ec8c2b4001..51356a0a1089ecc4943816cc007038f7598f4779 100644
--- a/services/service_manager/public/interfaces/connector.mojom
+++ b/services/service_manager/public/interfaces/connector.mojom
@@ -87,6 +87,11 @@ struct ClientProcessConnection {
// Encapsulates establishing connections with other Services.
interface Connector {
+ // Registers a Service in a process started by someone other than the Service
+ // Manager.
+ RegisterService(Identity name,
Ken Rockot(use gerrit already) 2017/01/05 20:31:48 nit: I think RegisterInstance might be a more accu
+ ClientProcessConnection client_process_connection);
Ken Rockot(use gerrit already) 2017/01/05 20:31:48 nit: Maybe just flatten service and pid_receiver_r
+
// Requests a connection with another service. The service originating the
// request is referred to as the "source" and the one receiving the "target".
//
« no previous file with comments | « services/service_manager/public/cpp/lib/connector_impl.cc ('k') | services/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698