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

Unified Diff: content/renderer/service_worker/embedded_worker_instance_client_impl.cc

Issue 2936623002: Implement dumb URLLoader{Factory} for ServiceWorker script loading (for try)
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/service_worker/embedded_worker_instance_client_impl.cc
diff --git a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
index cf4ab1bef5fcba3db838449d87b01fe32bfb39dd..79a491d9f81f65abf7383565d4bea10ca271d7d6 100644
--- a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
+++ b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
@@ -47,18 +47,19 @@ void EmbeddedWorkerInstanceClientImpl::WorkerContextDestroyed() {
void EmbeddedWorkerInstanceClientImpl::StartWorker(
const EmbeddedWorkerStartParams& params,
mojom::ServiceWorkerEventDispatcherRequest dispatcher_request,
- mojom::EmbeddedWorkerInstanceHostAssociatedPtrInfo instance_host) {
+ mojom::EmbeddedWorkerInstanceHostAssociatedPtrInfo instance_host,
+ mojom::ServiceWorkerProviderClientInfoPtr provider_client_info) {
DCHECK(ChildThreadImpl::current());
DCHECK(!wrapper_);
TRACE_EVENT0("ServiceWorker",
"EmbeddedWorkerInstanceClientImpl::StartWorker");
wrapper_ = StartWorkerContext(
- params,
- base::MakeUnique<ServiceWorkerContextClient>(
- params.embedded_worker_id, params.service_worker_version_id,
- params.scope, params.script_url, std::move(dispatcher_request),
- std::move(instance_host), std::move(temporal_self_)));
+ params, base::MakeUnique<ServiceWorkerContextClient>(
+ params.embedded_worker_id, params.service_worker_version_id,
+ params.scope, params.script_url,
+ std::move(dispatcher_request), std::move(instance_host),
+ std::move(provider_client_info), std::move(temporal_self_)));
}
void EmbeddedWorkerInstanceClientImpl::StopWorker() {

Powered by Google App Engine
This is Rietveld 408576698