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

Unified Diff: content/common/service_worker/embedded_worker.mojom

Issue 2227593002: ServiceWorker: Implement StartWorker by using mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialized StartParams Created 4 years, 3 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_worker/embedded_worker.mojom
diff --git a/media/mojo/interfaces/media_service.mojom b/content/common/service_worker/embedded_worker.mojom
similarity index 52%
copy from media/mojo/interfaces/media_service.mojom
copy to content/common/service_worker/embedded_worker.mojom
index 44b13a52f996b7ffb12881c0387b209db4174650..00f7558fc09315d57bc71f4c1d7265ba2777d3ef 100644
--- a/media/mojo/interfaces/media_service.mojom
+++ b/content/common/service_worker/embedded_worker.mojom
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module media.mojom;
+module content.mojom;
-import "media/mojo/interfaces/service_factory.mojom";
import "services/shell/public/interfaces/interface_provider.mojom";
+import "url/mojo/url.mojom";
-interface MediaService {
- CreateServiceFactory(ServiceFactory& factory,
- shell.mojom.InterfaceProvider frame_interfaces);
+[Native]
+struct EmbeddedWorkerStartParams;
+
+interface EmbeddedWorkerInstanceClient {
falken 2016/09/13 05:48:02 Can you add some lightweight documentation? I'm lo
shimazu 2016/09/15 03:24:42 Done.
+ StartWorker(EmbeddedWorkerStartParams params);
};

Powered by Google App Engine
This is Rietveld 408576698