Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index ea6e7ac1a4f29654543f1ce9abc228982f6d5f5a..72039b8323092163822a48fb493b228b1731a1e1 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -46,6 +46,7 @@ |
#include "third_party/WebKit/public/platform/WebFloatRect.h" |
#include "third_party/WebKit/public/platform/WebScreenInfo.h" |
#include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
+#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
#include "third_party/WebKit/public/web/WebFindOptions.h" |
#include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
#include "third_party/WebKit/public/web/WebPluginAction.h" |
@@ -76,6 +77,7 @@ IPC_ENUM_TRAITS(AccessibilityMode) |
IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType) |
IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) |
+IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) |
IPC_ENUM_TRAITS(blink::WebPluginAction::Type) |
IPC_ENUM_TRAITS(blink::WebPopupType) |
IPC_ENUM_TRAITS(blink::WebTextDirection) |
@@ -388,6 +390,12 @@ IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
// Name for a SharedWorker, otherwise empty string. |
IPC_STRUCT_MEMBER(base::string16, name) |
+ // Security policy used in the worker. |
+ IPC_STRUCT_MEMBER(base::string16, content_security_policy) |
+ |
+ // Security policy type used in the worker. |
+ IPC_STRUCT_MEMBER(blink::WebContentSecurityPolicyType, security_policy_type) |
+ |
// The ID of the parent document (unique within parent renderer). |
IPC_STRUCT_MEMBER(unsigned long long, document_id) |