[webkit-dev] Database in Worker context
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev