OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module content.mojom; | 5 module content.mojom; |
6 | 6 |
| 7 import "content/common/service_worker/service_worker_event_dispatcher.mojom"; |
7 import "services/service_manager/public/interfaces/interface_provider.mojom"; | 8 import "services/service_manager/public/interfaces/interface_provider.mojom"; |
8 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
9 | 10 |
10 [Native] | 11 [Native] |
11 struct EmbeddedWorkerStartParams; | 12 struct EmbeddedWorkerStartParams; |
12 | 13 |
13 // Interface to control a renderer-side worker's environment. | 14 // Interface to control a renderer-side worker's environment. |
14 interface EmbeddedWorkerInstanceClient { | 15 interface EmbeddedWorkerInstanceClient { |
15 StartWorker(EmbeddedWorkerStartParams params, | 16 StartWorker(EmbeddedWorkerStartParams params, |
16 service_manager.mojom.InterfaceProvider browser_interfaces, | 17 ServiceWorkerEventDispatcher& dispatcher_request); |
17 service_manager.mojom.InterfaceProvider& renderer_request); | |
18 StopWorker() => (); | 18 StopWorker() => (); |
19 }; | 19 }; |
OLD | NEW |