summaryrefslogtreecommitdiffstats
path: root/chrome/worker/webworkerclient_proxy.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 20:40:56 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 20:40:56 +0000
commit14396e9b2d58eda3d5734c57a80783e2dc0a705f (patch)
tree0ef906e2df709f9201d0f37544d4519a557852ee /chrome/worker/webworkerclient_proxy.cc
parentbbf362b447de9cdd023e933ae219731fc01d0571 (diff)
downloadchromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.zip
chromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.tar.gz
chromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.tar.bz2
More groundwork for making appcache work in workers.
Widen the IPC message used to start and initialize a worker to include the additional fields needed to initialize the appcache host for that worker. And set those values when sending that message from a renderer. BUG=39368 TEST=manual and existing tests apply Review URL: http://codereview.chromium.org/2013001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/webworkerclient_proxy.cc')
-rw-r--r--chrome/worker/webworkerclient_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/worker/webworkerclient_proxy.cc b/chrome/worker/webworkerclient_proxy.cc
index ca36659..ac061f4 100644
--- a/chrome/worker/webworkerclient_proxy.cc
+++ b/chrome/worker/webworkerclient_proxy.cc
@@ -102,7 +102,8 @@ void WebWorkerClientProxy::workerContextDestroyed() {
WebKit::WebWorker* WebWorkerClientProxy::createWorker(
WebKit::WebWorkerClient* client) {
- return new WebWorkerProxy(client, WorkerThread::current(), 0);
+ return new WebWorkerProxy(client, WorkerThread::current(), 0, 0);
+ // TODO(michaeln): Fill in the appcache_host_id parameter value.
}
bool WebWorkerClientProxy::Send(IPC::Message* message) {