| 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 #include "content/common/content_export.h" | |
| 6 #include "content/common/service_worker/embedded_worker_settings.h" | |
| 7 #include "url/gurl.h" | |
| 8 | |
| 9 #ifndef CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ |
| 10 #define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ | 6 #define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ |
| 11 | 7 |
| 8 #include "content/common/service_worker/embedded_worker_start_params_internal.h" |
| 9 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" |
| 10 |
| 12 namespace content { | 11 namespace content { |
| 13 | 12 |
| 14 struct CONTENT_EXPORT EmbeddedWorkerStartParams { | 13 struct CONTENT_EXPORT EmbeddedWorkerStartParams { |
| 15 EmbeddedWorkerStartParams(); | 14 EmbeddedWorkerStartParams(); |
| 15 ~EmbeddedWorkerStartParams(); |
| 16 | 16 |
| 17 int embedded_worker_id; | 17 EmbeddedWorkerStartParamsInternal internal; |
| 18 int64_t service_worker_version_id; | 18 mojom::ServiceWorkerEventDispatcherRequest dispatcher_request; |
| 19 GURL scope; | |
| 20 GURL script_url; | |
| 21 int worker_devtools_agent_route_id; | |
| 22 bool pause_after_download; | |
| 23 bool wait_for_debugger; | |
| 24 bool is_installed; | |
| 25 EmbeddedWorkerSettings settings; | |
| 26 }; | 19 }; |
| 27 | 20 |
| 28 } // namespace content | 21 } // namespace content |
| 29 | 22 |
| 30 #endif // CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ | 23 #endif // CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ |
| OLD | NEW |