Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: content/common/service_worker/embedded_worker_start_params.h

Issue 2779763004: Create ServiceWorkerProviderHost before starting worker (Closed)
Patch Set: Split several changes off Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_ 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_
6 #define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ 6 #define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/service_worker/embedded_worker_settings.h" 9 #include "content/common/service_worker/embedded_worker_settings.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class ServiceWorkerProviderHost;
15
14 struct CONTENT_EXPORT EmbeddedWorkerStartParams { 16 struct CONTENT_EXPORT EmbeddedWorkerStartParams {
15 EmbeddedWorkerStartParams(); 17 EmbeddedWorkerStartParams();
16 18
17 int embedded_worker_id; 19 int embedded_worker_id;
18 int64_t service_worker_version_id; 20 int64_t service_worker_version_id;
19 GURL scope; 21 GURL scope;
20 GURL script_url; 22 GURL script_url;
21 int worker_devtools_agent_route_id; 23 int worker_devtools_agent_route_id;
22 bool pause_after_download; 24 bool pause_after_download;
23 bool wait_for_debugger; 25 bool wait_for_debugger;
24 bool is_installed; 26 bool is_installed;
25 EmbeddedWorkerSettings settings; 27 EmbeddedWorkerSettings settings;
28 ServiceWorkerProviderHost* controller_provider;
falken 2017/06/12 07:01:28 It seems weird that content/common has a message w
shimazu 2017/06/14 07:24:40 Actually it was because I could avoid lots of chan
26 }; 29 };
27 30
28 } // namespace content 31 } // namespace content
29 32
30 #endif // CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_ 33 #endif // CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/embedded_worker.mojom ('k') | content/common/service_worker/service_worker.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698