| 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 |
| 12 // content::ServiceWorkerProviderHost. |
| 11 // See also comments in | 13 // See also comments in |
| 12 // content/common/service_worker/service_worker_provider_host_info.h. | 14 // content/common/service_worker/service_worker_provider_host_info.h. |
| 13 struct ServiceWorkerProviderHostInfo { | 15 struct ServiceWorkerProviderHostInfo { |
| 14 int32 provider_id; | 16 int32 provider_id; |
| 15 int32 route_id; | 17 int32 route_id; |
| 16 ServiceWorkerProviderType type; | 18 ServiceWorkerProviderType type; |
| 17 bool is_parent_frame_secure; | 19 bool is_parent_frame_secure; |
| 20 associated ServiceWorkerProviderHost& host_request; |
| 21 associated ServiceWorkerProvider client_ptr_info; |
| 18 }; | 22 }; |
| OLD | NEW |