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

Unified Diff: content/common/service_port_service.mojom

Issue 1210643002: Update navigator.services API to use the new services.onconnect event [2/3]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serviceport
Patch Set: properly run error callbacks when worker is stopped Created 5 years, 5 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: content/common/service_port_service.mojom
diff --git a/content/common/service_port_service.mojom b/content/common/service_port_service.mojom
index 116194dccb024dd4bd40ea1c37fb30e2271cc572..41cee6a4ea99503e5c73efab2cc7bed3cab8989a 100644
--- a/content/common/service_port_service.mojom
+++ b/content/common/service_port_service.mojom
@@ -30,3 +30,8 @@ interface ServicePortServiceClient {
array<MojoTransferredMessagePort> ports,
array<int32> new_routing_ids);
};
+
+interface ServicePortDispatcher {
+ Connect(string target_url, string origin, int32 port_id)
+ => (ServicePortConnectResult result, string name, string data);
+};

Powered by Google App Engine
This is Rietveld 408576698