Pipe cache quota request from Network Process to UIProcess
Created attachment 358740 [details] Patch
Created attachment 358762 [details] Patch
Created attachment 358763 [details] Patch
Created attachment 358800 [details] Patch
Comment on attachment 358800 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358800&action=review > Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.h:97 > + void notifyCachesOfRequestSpaceEnd(); I might use notifyRequestSpaceCompleted instead.
Comment on attachment 358800 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358800&action=review Can we test this? > Source/WebKit/NetworkProcess/NetworkProcess.cpp:1382 > + parentProcessConnection()->send(Messages::NetworkProcessProxy::RequestCacheStorageSpace(sessionID, requestIdentifier, origin, quota, currentSize, spaceRequired), 0); This seems like a prime candidate for sendWithAsyncReply
(In reply to Alex Christensen from comment #6) > Comment on attachment 358800 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=358800&action=review > > Can we test this? Not yet, https://bugs.webkit.org/attachment.cgi?id=358810&action=review is adding the test along with the callback to the app. > > > Source/WebKit/NetworkProcess/NetworkProcess.cpp:1382 > > + parentProcessConnection()->send(Messages::NetworkProcessProxy::RequestCacheStorageSpace(sessionID, requestIdentifier, origin, quota, currentSize, spaceRequired), 0); > > This seems like a prime candidate for sendWithAsyncReply I can look at that.
Created attachment 359318 [details] Patch
Comment on attachment 359318 [details] Patch Clearing flags on attachment: 359318 Committed r240099: <https://trac.webkit.org/changeset/240099>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47335783>