Summary: | Add a diskCacheSizeOverride accessor function on WKContextConfigurationRef | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||
Component: | WebKit API | Assignee: | Sihui Liu <sihui_liu> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, cdumez, commit-queue, sihui_liu, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Sihui Liu
2018-05-21 11:48:39 PDT
Created attachment 340868 [details]
Patch
Comment on attachment 340868 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=340868&action=review > Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h:83 > +WK_EXPORT int64_t WKContextConfigurationDiskCacheSizeOverride(WKContextConfigurationRef configuration); Is there an equivalent Cocoa API / SPI already? We are not supposed to add any new C API without a Cocoa equivalent. (In reply to Chris Dumez from comment #3) > Comment on attachment 340868 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=340868&action=review > > > Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h:83 > > +WK_EXPORT int64_t WKContextConfigurationDiskCacheSizeOverride(WKContextConfigurationRef configuration); > > Is there an equivalent Cocoa API / SPI already? We are not supposed to add > any new C API without a Cocoa equivalent. There is diskCacheSizeOverride in API/Cocoa/_WKProcessPoolConfiguration.h. (In reply to Sihui Liu from comment #4) > (In reply to Chris Dumez from comment #3) > > Comment on attachment 340868 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=340868&action=review > > > > > Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h:83 > > > +WK_EXPORT int64_t WKContextConfigurationDiskCacheSizeOverride(WKContextConfigurationRef configuration); > > > > Is there an equivalent Cocoa API / SPI already? We are not supposed to add > > any new C API without a Cocoa equivalent. > > There is diskCacheSizeOverride in API/Cocoa/_WKProcessPoolConfiguration.h. Great, thanks. Comment on attachment 340868 [details] Patch Clearing flags on attachment: 340868 Committed r232025: <https://trac.webkit.org/changeset/232025> All reviewed patches have been landed. Closing bug. |