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

Side by Side 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: Added argument check and updated comment and BUILD.gn 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module content.mojom;
6
7 import "content/public/common/web_preferences.mojom";
8 import "services/shell/public/interfaces/interface_provider.mojom";
9 import "url/mojo/url.mojom";
10
11 struct EmbeddedWorkerSettings {
12 V8CacheOptions v8_cache_options;
13 bool data_saver_enabled;
14 };
15
16 struct EmbeddedWorkerStartWorkerParams {
17 int32 embedded_worker_id;
18 int64 service_worker_version_id;
19 url.mojom.Url scope;
20 url.mojom.Url script_url;
21 int32 worker_devtools_agent_route_id;
22 bool pause_after_download;
23 bool wait_for_debugger;
24 bool is_installed;
25 EmbeddedWorkerSettings settings;
26 };
27
28 interface EmbeddedWorkerInstanceClient {
29 StartWorker(EmbeddedWorkerStartWorkerParams params);
30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698