[Webkit-unassigned] [Bug 79449] Move FILE_SYSTEM code out of WorkerContext and into the fileapi folder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 25 21:58:41 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79449


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128864|review?                     |review-
               Flag|                            |




--- Comment #8 from Adam Barth <abarth at webkit.org>  2012-02-25 21:58:40 PST ---
(From update of attachment 128864)
View in context: https://bugs.webkit.org/attachment.cgi?id=128864&action=review

Looks like you're having some trouble building.

> Source/WebCore/fileapi/WorkerContextFileSystem.h:44
> +    void webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback>);
> +    PassRefPtr<DOMFileSystemSync> webkitRequestFileSystemSync(int type, long long size, ExceptionCode&);
> +    void webkitResolveLocalFileSystemURL(const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback>);
> +    PassRefPtr<EntrySync> webkitResolveLocalFileSystemSyncURL(const String& url, ExceptionCode&);

These all should be static and take a WorkerContext as the first argument.

Also, WorkerContextFileSystem should have a private constructor and destructor, like DOMWindowFileSystem.

> Source/WebCore/workers/WorkerContext.h:130
> +        // FIXME: Move these constants to WorkerContextFileSystem.

You should be able to move these now.  We didn't move them right away in the other patch because of a bug in the code generator that has since been 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