Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0200b038d629471c44af42122601f71e35e26982 https://github.com/WebKit/WebKit/commit/0200b038d629471c44af42122601f71e35e26982 Author: Youenn Fablet <you...@apple.com> Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths: M Source/WebCore/Modules/cache/CacheStorageConnection.h M Source/WebCore/Modules/cache/DOMCacheStorage.cpp M Source/WebCore/Modules/cache/WorkerCacheStorageConnection.cpp M Source/WebCore/Modules/cache/WorkerCacheStorageConnection.h M Source/WebCore/page/CacheStorageProvider.h M Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.cpp M Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.h Log Message: ----------- Use native promise for CacheStorageConnection::remove rdar://128529826 https://bugs.webkit.org/show_bug.cgi?id=274514 Reviewed by Sihui Liu. Refactoring to use native promise for CacheStorageConnection::remove allows to simplify code. This might pave the way towards sending IPC message to the network process from the worker thread directly as well. * Source/WebCore/Modules/cache/CacheStorageConnection.h: * Source/WebCore/Modules/cache/DOMCacheStorage.cpp: (WebCore::DOMCacheStorage::doRemove): * Source/WebCore/Modules/cache/WorkerCacheStorageConnection.cpp: (WebCore::WorkerCacheStorageConnection::remove): (WebCore::WorkerCacheStorageConnection::clearPendingRequests): (WebCore::WorkerCacheStorageConnection::removeCompleted): Deleted. * Source/WebCore/Modules/cache/WorkerCacheStorageConnection.h: * Source/WebCore/page/CacheStorageProvider.h: * Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.cpp: (WebKit::WebCacheStorageConnection::remove): (WebKit::WebCacheStorageConnection::retrieveCaches): Deleted. (WebKit::WebCacheStorageConnection::retrieveRecords): Deleted. (WebKit::WebCacheStorageConnection::batchDeleteOperation): Deleted. (WebKit::WebCacheStorageConnection::batchPutOperation): Deleted. (WebKit::WebCacheStorageConnection::reference): Deleted. (WebKit::WebCacheStorageConnection::dereference): Deleted. (WebKit::WebCacheStorageConnection::lockStorage): Deleted. (WebKit::WebCacheStorageConnection::unlockStorage): Deleted. (WebKit::WebCacheStorageConnection::clearMemoryRepresentation): Deleted. (WebKit::WebCacheStorageConnection::engineRepresentation): Deleted. (WebKit::WebCacheStorageConnection::updateQuotaBasedOnSpaceUsage): Deleted. (WebKit::WebCacheStorageConnection::networkProcessConnectionClosed): Deleted. Canonical link: https://commits.webkit.org/279192@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes