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

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

Issue 1223193009: WIP attempt to replace StartWorker/StopWorker IPCs with a new mojo EmbeddedWorker service. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-event-dispatching-option2
Patch Set: 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/embedded_worker_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/embedded_worker.mojom
diff --git a/content/common/service_worker/embedded_worker.mojom b/content/common/service_worker/embedded_worker.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..0bc22768d47af8c922e2d6b6894f9c0af7e98131
--- /dev/null
+++ b/content/common/service_worker/embedded_worker.mojom
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module content;
+
+struct EmbeddedWorkerStartWorkerParams {
+ int32 embedded_worker_id;
+ int64 service_worker_version_id;
+ string scope;
+ string script_url;
+ int32 worker_devtools_agent_route_id;
+ bool pause_after_download;
+ bool wait_for_debugger;
+ int32 v8_cache_options; // content::V8CacheOptions
+};
+
+interface EmbeddedWorker {
+ Initialize(EmbeddedWorkerStartWorkerParams params);
+};
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/embedded_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698