OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_provider_interfaces.mojom"; | |
7 import "content/common/service_worker/service_worker_types.mojom"; | 8 import "content/common/service_worker/service_worker_types.mojom"; |
8 | 9 |
9 // A container object carried from the renderer to the browser process. | 10 // A container object carried from the renderer to the browser process. |
10 // This contains the params for the constructor of ServiceWorkerProviderHost. | 11 // This contains the params for the constructor of ServiceWorkerProviderHost. |
falken
2017/05/18 04:13:10
content::ServiceWorkerProviderHost
shimazu
2017/05/19 08:31:07
Done.
| |
11 // See also comments in | 12 // See also comments in |
12 // content/common/service_worker/service_worker_provider_host_info.h. | 13 // content/common/service_worker/service_worker_provider_host_info.h. |
13 struct ServiceWorkerProviderHostInfo { | 14 struct ServiceWorkerProviderHostInfo { |
14 int32 provider_id; | 15 int32 provider_id; |
15 int32 route_id; | 16 int32 route_id; |
16 ServiceWorkerProviderType type; | 17 ServiceWorkerProviderType type; |
17 bool is_parent_frame_secure; | 18 bool is_parent_frame_secure; |
19 associated ServiceWorkerProviderHost& host_request; | |
20 associated ServiceWorkerProvider client_ptr_info; | |
falken
2017/05/18 04:13:10
Does it make more sense to just name these |provid
shimazu
2017/05/19 08:31:07
I thought _request/_ptr_info are informative becau
falken
2017/05/22 08:28:12
OK if this is consistent with a common Mojo naming
| |
18 }; | 21 }; |
OLD | NEW |