-
eric@webkit.org authored
Reviewed by Dmitry Titov. [Chromium] Add two things to the webkit API to support appcaches in workers. 1) WebURLRequest TargetTypes for worker and shared worker main resources. 2) Factory method on class WebCommonWorkerClient to createApplicationCacheHost() for the associated worker. https://bugs.webkit.org/show_bug.cgi?id=38147 * public/WebCommonWorkerClient.h: add the factory method * public/WebURLRequest.h: add the TargetTypes * src/WebWorkerBase.cpp: call the embedder's factory when needed (WebKit::WebWorkerBase::didCreateDataSource) (WebKit::WebWorkerBase::createApplicationCacheHost) * src/WebWorkerBase.h: ditto * src/WebWorkerClientImpl.h: add a stub impl of the factory method (WebKit::WebWorkerClientImpl::createApplicationCacheHost): 2010-04-27 Michael Nordman <michaeln@google.com> Reviewed by Dmitry Titov. [Chromium] Add two things to the webkit API to support appcaches in workers. 1) WebURLRequest TargetTypes for worker and shared worker main resources. 2) Factory method on class WebCommonWorkerClient to createApplicationCacheHost() for the associated worker. https://bugs.webkit.org/show_bug.cgi?id=38147 * DumpRenderTree/chromium/TestWebWorker.h add a stub impl of the factory method (TestWebWorker::createApplicationCacheHost): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0a1d68fc