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

Unified Diff: content/common/service_worker/embedded_worker_start_params.h

Issue 2490623005: Remove InterfaceRegistry/Provider from service workers (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/common/service_worker/embedded_worker_start_params.h
diff --git a/content/common/service_worker/embedded_worker_start_params.h b/content/common/service_worker/embedded_worker_start_params.h
index 9e2ef2a5b9a222a7dc2ab5d16ac7199bbfc71ad3..dd734f8b2f4ae8160203053dbb90b035ca3f50c7 100644
--- a/content/common/service_worker/embedded_worker_start_params.h
+++ b/content/common/service_worker/embedded_worker_start_params.h
@@ -2,27 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/content_export.h"
-#include "content/common/service_worker/embedded_worker_settings.h"
-#include "url/gurl.h"
-
#ifndef CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_
#define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_START_PARAMS_H_
+#include "content/common/service_worker/embedded_worker_start_params_internal.h"
+#include "content/common/service_worker/service_worker_event_dispatcher.mojom.h"
+
namespace content {
struct CONTENT_EXPORT EmbeddedWorkerStartParams {
EmbeddedWorkerStartParams();
+ ~EmbeddedWorkerStartParams();
- int embedded_worker_id;
- int64_t service_worker_version_id;
- GURL scope;
- GURL script_url;
- int worker_devtools_agent_route_id;
- bool pause_after_download;
- bool wait_for_debugger;
- bool is_installed;
- EmbeddedWorkerSettings settings;
+ EmbeddedWorkerStartParamsInternal internal;
+ mojom::ServiceWorkerEventDispatcherRequest dispatcher_request;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698