From 07331d79c72e07472722ed527ddfb3ac7f0b2c15 Mon Sep 17 00:00:00 2001 From: "michaeln@chromium.org" Date: Sat, 8 May 2010 00:32:44 +0000 Subject: Add some more IPC plumbing and scaffolding to support having appcache work in workers. Everything is still stubbed out at runtime (runtime feature is still disabled in the worker process, and the values in the IPC messages are all zero'd out). * Widen the CreateWorker IPC message sent from the browser to the worker process to contain additional data needed to initialize an appcache for that worker. * Add a new worker specific WorkerWebApplicationCacheHostImpl class and instantiate one with the initialization data received in the IPC. * Give the WorkerThread an AppCacheDispatcher. * Propagate the cmd-line argument to disable the appcache to the worker process. * Fixup DEPs to show that chrome/workers depends on webkit/appcache BUG=39368 TEST=thinking about what tests to put together for this CL Review URL: http://codereview.chromium.org/1719007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46765 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/worker/webworker_stub.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/worker/webworker_stub.h') diff --git a/chrome/worker/webworker_stub.h b/chrome/worker/webworker_stub.h index dab69d0..a3f7595 100644 --- a/chrome/worker/webworker_stub.h +++ b/chrome/worker/webworker_stub.h @@ -17,7 +17,8 @@ class WebWorker; // appropriate WebWorker APIs. class WebWorkerStub : public WebWorkerStubBase { public: - WebWorkerStub(const GURL& url, int route_id); + WebWorkerStub(const GURL& url, int route_id, + const WorkerAppCacheInitInfo& appcache_init_info); // IPC::Channel::Listener implementation. virtual void OnMessageReceived(const IPC::Message& message); -- cgit v1.1