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