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

Unified Diff: content/common/worker_messages.h

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/common/view_messages.h ('k') | content/renderer/shared_worker_repository.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/worker_messages.h
diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h
index 6145f802b4e5dfc12a9fe89b8d6ce8e1a88d9adb..0507464a3838692f833eb9a538edaf47d2567d03 100644
--- a/content/common/worker_messages.h
+++ b/content/common/worker_messages.h
@@ -14,9 +14,9 @@
#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
+#include "content/common/content_param_traits.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
-#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
#include "url/gurl.h"
#undef IPC_MESSAGE_EXPORT
@@ -40,13 +40,13 @@ IPC_STRUCT_END()
IPC_STRUCT_BEGIN(WorkerProcessMsg_CreateWorker_Params)
IPC_STRUCT_MEMBER(GURL, url)
IPC_STRUCT_MEMBER(base::string16, name)
+ IPC_STRUCT_MEMBER(base::string16, content_security_policy)
+ IPC_STRUCT_MEMBER(blink::WebContentSecurityPolicyType, security_policy_type)
IPC_STRUCT_MEMBER(int, route_id)
IPC_STRUCT_MEMBER(int, creator_process_id)
IPC_STRUCT_MEMBER(int64, shared_worker_appcache_id)
IPC_STRUCT_END()
-IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType)
-
//-----------------------------------------------------------------------------
// WorkerProcess messages
// These are messages sent from the browser to the worker process.
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/shared_worker_repository.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698