diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 20:20:22 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 20:20:22 +0000 |
commit | e18e7ad1c60f6472c25bc4af2554f471e55a85a6 (patch) | |
tree | 4240f999b4a49da982a2ba91324416db381412f0 /chrome/common/worker_messages_internal.h | |
parent | 63b397506f70501d8089eecf28f50e17417fdd48 (diff) | |
download | chromium_src-e18e7ad1c60f6472c25bc4af2554f471e55a85a6.zip chromium_src-e18e7ad1c60f6472c25bc4af2554f471e55a85a6.tar.gz chromium_src-e18e7ad1c60f6472c25bc4af2554f471e55a85a6.tar.bz2 |
Enable message ports for workers.
TEST=included ui test
Review URL: http://codereview.chromium.org/160576
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/worker_messages_internal.h')
-rw-r--r-- | chrome/common/worker_messages_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/common/worker_messages_internal.h b/chrome/common/worker_messages_internal.h index eb536e8..16dab5d 100644 --- a/chrome/common/worker_messages_internal.h +++ b/chrome/common/worker_messages_internal.h @@ -88,8 +88,10 @@ IPC_BEGIN_MESSAGES(Worker) IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext) - IPC_MESSAGE_ROUTED1(WorkerMsg_PostMessageToWorkerContext, - string16 /* message */) + IPC_MESSAGE_ROUTED3(WorkerMsg_PostMessage, + string16 /* message */, + int /* sent_message_port_id */, + int /* new_routing_id */) IPC_MESSAGE_ROUTED0(WorkerMsg_WorkerObjectDestroyed) IPC_END_MESSAGES(Worker) @@ -99,9 +101,7 @@ IPC_END_MESSAGES(Worker) // WorkerHost messages // These are messages sent from the worker process to the renderer process. IPC_BEGIN_MESSAGES(WorkerHost) - IPC_MESSAGE_ROUTED1(WorkerHostMsg_PostMessageToWorkerObject, - string16 /* message */) - + // WorkerMsg_PostMessage is also sent here. IPC_MESSAGE_ROUTED3(WorkerHostMsg_PostExceptionToWorkerObject, string16 /* error_message */, int /* line_number */, |