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

Unified Diff: content/common/worker_messages.h

Issue 9154003: Pass Content-security-policy and header type from WebSharedWorkerProxy to WebSharedWorkerStub. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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 | « no previous file | content/renderer/websharedworker_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/worker_messages.h
===================================================================
--- content/common/worker_messages.h (revision 118326)
+++ content/common/worker_messages.h (working copy)
@@ -17,6 +17,7 @@
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorker.h"
// Singly-included section, not converted.
#ifndef CONTENT_COMMON_WORKER_MESSAGES_H_
@@ -52,6 +53,8 @@
IPC_STRUCT_MEMBER(int64, shared_worker_appcache_id)
IPC_STRUCT_END()
+IPC_ENUM_TRAITS(WebKit::WebContentSecurityPolicyType)
+
//-----------------------------------------------------------------------------
// WorkerProcess messages
// These are messages sent from the browser to the worker process.
@@ -135,10 +138,12 @@
//-----------------------------------------------------------------------------
// Worker messages
// These are messages sent from the renderer process to the worker process.
-IPC_MESSAGE_ROUTED3(WorkerMsg_StartWorkerContext,
+IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext,
GURL /* url */,
string16 /* user_agent */,
- string16 /* source_code */)
+ string16 /* source_code */,
+ string16 /* content_security_policy */,
+ WebKit::WebContentSecurityPolicyType)
IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext)
« no previous file with comments | « no previous file | content/renderer/websharedworker_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698