Bug 68951 - Expose +[WebStorageManager _storageDirectoryPath] as SPI
Summary: Expose +[WebStorageManager _storageDirectoryPath] as SPI
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anton D'Auria
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 16:25 PDT by Anton D'Auria
Modified: 2011-09-28 13:45 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.20 KB, patch)
2011-09-27 16:46 PDT, Anton D'Auria
no flags Details | Formatted Diff | Diff
Patch (3.74 KB, patch)
2011-09-27 17:29 PDT, Anton D'Auria
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton D'Auria 2011-09-27 16:25:40 PDT
It's useful to get the current LocalStorage directory via SPI, like +[WebStorageManager _storageDirectoryPath].
Comment 1 Anton D'Auria 2011-09-27 16:46:41 PDT
Created attachment 108932 [details]
Patch
Comment 2 Brady Eidson 2011-09-27 17:01:41 PDT
Comment on attachment 108932 [details]
Patch

I don't think <Foundation/NSFileManager_NSURLExtras.h> is public
Comment 3 Anton D'Auria 2011-09-27 17:29:17 PDT
Created attachment 108940 [details]
Patch

the path will be created by StorageTracker during initialization so the dependency on the private NSFileManager_NSURLExtras.h isn't necessary.
Comment 4 WebKit Review Bot 2011-09-28 13:45:43 PDT
Comment on attachment 108940 [details]
Patch

Clearing flags on attachment: 108940

Committed r96255: <http://trac.webkit.org/changeset/96255>
Comment 5 WebKit Review Bot 2011-09-28 13:45:47 PDT
All reviewed patches have been landed.  Closing bug.