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

Unified Diff: content/common/view_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: 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/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)

Powered by Google App Engine
This is Rietveld 408576698