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 "services/shell/public/interfaces/interface_provider.mojom"; | 7 import "services/service_manager/public/interfaces/interface_provider.mojom"; |
8 import "url/mojo/url.mojom"; | 8 import "url/mojo/url.mojom"; |
9 | 9 |
10 [Native] | 10 [Native] |
11 struct EmbeddedWorkerStartParams; | 11 struct EmbeddedWorkerStartParams; |
12 | 12 |
13 // Interface to control a renderer-side worker's environment. | 13 // Interface to control a renderer-side worker's environment. |
14 interface EmbeddedWorkerInstanceClient { | 14 interface EmbeddedWorkerInstanceClient { |
15 StartWorker(EmbeddedWorkerStartParams params); | 15 StartWorker(EmbeddedWorkerStartParams params); |
16 StopWorker() => (); | 16 StopWorker() => (); |
17 }; | 17 }; |
OLD | NEW |