[webkit-dev] Database in Worker context

Dmitry Titov dimich at chromium.org
Wed Dec 9 16:11:03 PST 2009


On Wed, Dec 9, 2009 at 12:58 PM, Eric Uhrhane <ericu at chromium.org> wrote:

>
>  I've pulled the database-related members out of Document and made a
> new class for them, DatabaseManager.  An instance of that is owned by
> each ScriptExecutionContext.  There are two flavors,
> DocumentDatabaseManager and WorkerDatabaseManager.  They're not very
> different, but in a few cases it was necessary to distinguish between
> them


I don't see your code, just generic thought: If those classes are small,
then perhaps ScriptExecutionContext could absorb a couple of methods to deal
with that? Some of them could be virtual and implemented differently on
Document and WorkerContext.

Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091209/885c1e00/attachment.html>


More information about the webkit-dev mailing list