| OLD | NEW |
| (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 }; |
| OLD | NEW |