summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 16:27:06 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 16:27:06 +0000
commit6898bbedb15bfddf91ea125e3ffde4b1789d9bf3 (patch)
treee3950c1d597f704af541572cfc39e9874131d667 /chrome/common/render_messages_internal.h
parent1bbe5f61a331b2fb3cd1c0e18cf3aefa7105e635 (diff)
downloadchromium_src-6898bbedb15bfddf91ea125e3ffde4b1789d9bf3.zip
chromium_src-6898bbedb15bfddf91ea125e3ffde4b1789d9bf3.tar.gz
chromium_src-6898bbedb15bfddf91ea125e3ffde4b1789d9bf3.tar.bz2
Added beginnings of browser-process support for shared workers.
Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31077 Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index d568d02..e111866 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -1708,17 +1708,9 @@ IPC_BEGIN_MESSAGES(ViewHost)
// A renderer sends this to the browser process when it wants to create a
// worker. The browser will create the worker process if necessary, and
// will return the route id on success. On error returns MSG_ROUTING_NONE.
- IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateDedicatedWorker,
- GURL /* url */,
- int /* render_view_route_id */,
- int /* route_id */)
-
- // A renderer sends this to the browser process when it wants to create a
- // shared worker. The browser will create the worker process if necessary,
- // and will return the route id on success. On error returns
- // MSG_ROUTING_NONE.
- IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_CreateSharedWorker,
+ IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_CreateWorker,
GURL /* url */,
+ bool /* is_shared */,
string16 /* name */,
int /* render_view_route_id */,
int /* route_id */)