[Webkit-unassigned] [Bug 44433] Add AsyncFileSystem interface for platform-dependent FileSystem API implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 15:26:37 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44433
--- Comment #13 from Kinuko Yasuda <kinuko at chromium.org> 2010-08-25 15:26:36 PST ---
(In reply to comment #10)
> (From update of attachment 65460 [details])
> WebCore/storage/LocalFileSystem.cpp:72
> + AsyncFileSystem::openFileSystem(m_basePath, context->securityOrigin()->databaseIdentifier(), type, new FileSystemCallbacks(successCallback, errorCallback, context, asyncFileSystem.release()));
> it seems a bit awkward that openFileSystem is a static method and not an instance
> method on AsyncFileSystem. you have an instance of AsyncFileSystem here.
That's true... I was afraid it might complicate the ownership of AsyncFileSystem.
Changed the method to virtual method.
> WebCore/storage/LocalFileSystem.h:52
> + void requestFileSystem(ScriptExecutionContext*, AsyncFileSystem::Type type, long long size, PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCallback>);
> nit: leave off the "type" parameter name here
Fixed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list