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

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: Stop using forward reference to enum type. 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
Index: content/renderer/websharedworker_proxy.cc
diff --git a/content/renderer/websharedworker_proxy.cc b/content/renderer/websharedworker_proxy.cc
index b796e6072c1d436ea583a492d41106db05d4a2bb..e426075332c376115e2b6cc3bd07db02cca48ae9 100644
--- a/content/renderer/websharedworker_proxy.cc
+++ b/content/renderer/websharedworker_proxy.cc
@@ -64,6 +64,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_view_route_id = render_view_route_id_;
params.render_frame_route_id = render_frame_route_id_;

Powered by Google App Engine
This is Rietveld 408576698