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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines messages between the browser and worker process, as well as between 5 // Defines messages between the browser and worker process, as well as between
6 // the renderer and worker process. 6 // the renderer and worker process.
7 7
8 // Multiply-included message file, hence no include guard. 8 // Multiply-included message file, hence no include guard.
9 9
10 #include <string> 10 #include <string>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Sent by the worker process to check whether access to file system is allowed. 129 // Sent by the worker process to check whether access to file system is allowed.
130 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem, 130 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem,
131 int /* worker_route_id */, 131 int /* worker_route_id */,
132 GURL /* origin url */, 132 GURL /* origin url */,
133 bool /* result */) 133 bool /* result */)
134 134
135 //----------------------------------------------------------------------------- 135 //-----------------------------------------------------------------------------
136 // Worker messages 136 // Worker messages
137 // These are messages sent from the renderer process to the worker process. 137 // These are messages sent from the renderer process to the worker process.
138 IPC_MESSAGE_ROUTED3(WorkerMsg_StartWorkerContext, 138 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext,
139 GURL /* url */, 139 GURL /* url */,
140 string16 /* user_agent */, 140 string16 /* user_agent */,
141 string16 /* source_code */) 141 string16 /* source_code */,
142 string16 /* content_security_policy */,
143 bool /* report_only */)
142 144
143 IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext) 145 IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext)
144 146
145 IPC_MESSAGE_ROUTED3(WorkerMsg_PostMessage, 147 IPC_MESSAGE_ROUTED3(WorkerMsg_PostMessage,
146 string16 /* message */, 148 string16 /* message */,
147 std::vector<int> /* sent_message_port_ids */, 149 std::vector<int> /* sent_message_port_ids */,
148 std::vector<int> /* new_routing_ids */) 150 std::vector<int> /* new_routing_ids */)
149 151
150 IPC_MESSAGE_ROUTED2(WorkerMsg_Connect, 152 IPC_MESSAGE_ROUTED2(WorkerMsg_Connect,
151 int /* sent_message_port_id */, 153 int /* sent_message_port_id */,
(...skipping 16 matching lines...) Expand all
168 170
169 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, 171 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject,
170 bool /* bool has_pending_activity */) 172 bool /* bool has_pending_activity */)
171 173
172 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, 174 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity,
173 bool /* bool has_pending_activity */) 175 bool /* bool has_pending_activity */)
174 176
175 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, 177 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed,
176 int /* worker_route_id */) 178 int /* worker_route_id */)
177 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) 179 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed)
OLDNEW
« no previous file with comments | « no previous file | content/renderer/websharedworker_proxy.h » ('j') | content/worker/websharedworker_stub.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698