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

Unified Diff: content/renderer/websharedworker_proxy.cc

Issue 115713004: Move the worker script loading code to the worker process (phase:2/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) to content_param_traits_macros.h. Created 6 years, 11 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
« no previous file with comments | « content/renderer/shared_worker_repository.cc ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/websharedworker_proxy.cc
diff --git a/content/renderer/websharedworker_proxy.cc b/content/renderer/websharedworker_proxy.cc
index 8cc0a3ba78773dcab5e3ebce9dfc9728fd0c27ba..2da468bba72e7ecd1893ff1397d239d96dcf226d 100644
--- a/content/renderer/websharedworker_proxy.cc
+++ b/content/renderer/websharedworker_proxy.cc
@@ -62,6 +62,8 @@ void WebSharedWorkerProxy::CreateWorkerContext(
ViewHostMsg_CreateWorker_Params params;
params.url = script_url;
params.name = name;
+ params.content_security_policy = content_security_policy;
+ params.security_policy_type = policy_type;
params.document_id = document_id_;
params.render_frame_route_id = render_frame_route_id_;
params.route_id = pending_route_id;
« no previous file with comments | « content/renderer/shared_worker_repository.cc ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698