Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d0598740a712c651f60ab388da20b90956fe366
      
https://github.com/WebKit/WebKit/commit/3d0598740a712c651f60ab388da20b90956fe366
  Author: Chris Dumez <[email protected]>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M Source/WTF/wtf/FileSystem.cpp
    M Source/WTF/wtf/FileSystem.h
    M Source/WTF/wtf/cocoa/FileSystemCocoa.mm
    M Source/WTF/wtf/posix/FileSystemPOSIX.cpp
    M Source/WebCore/workers/service/server/SWScriptStorage.cpp
    M Source/WebKit/NetworkProcess/storage/BackgroundFetchStoreManager.cpp
    M Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp
    M Source/WebKit/NetworkProcess/storage/CacheStorageManager.cpp
    M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp
    M 
Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerConfigurationCocoa.mm
    M Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm
    M Source/WebKit/webpushd/WebPushDaemonMain.mm
    M Tools/TestWebKitAPI/Tests/WTF/FileSystem.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/win/WebCoreBundle.cpp

  Log Message:
  -----------
  Update FileSystem::pathByAppendingComponents() to take in a std::span
https://bugs.webkit.org/show_bug.cgi?id=293099

Reviewed by Darin Adler.

Update FileSystem::pathByAppendingComponents() to take in a std::span
instead of a `const Vector&`. This avoids having to construct a Vector
at many of the call sites.

* Source/WTF/wtf/FileSystem.cpp:
(WTF::FileSystemImpl::pathByAppendingComponents):
* Source/WTF/wtf/FileSystem.h:
* Source/WTF/wtf/cocoa/FileSystemCocoa.mm:
(WTF::FileSystemImpl::createTemporaryFileInDirectory):
* Source/WTF/wtf/posix/FileSystemPOSIX.cpp:
(WTF::FileSystemImpl::pathByAppendingComponents):
* Source/WebCore/workers/service/server/SWScriptStorage.cpp:
(WebCore::SWScriptStorage::registrationDirectory const):
* Source/WebKit/NetworkProcess/storage/BackgroundFetchStoreManager.cpp:
(WebKit::BackgroundFetchStoreManager::clearFetch):
(WebKit::BackgroundFetchStoreManager::clearAllFetches):
(WebKit::BackgroundFetchStoreManager::storeFetchAfterQuotaCheck):
* Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp:
(WebKit::recordFilePathWithDirectory):
* Source/WebKit/NetworkProcess/storage/CacheStorageManager.cpp:
(WebKit::CacheStorageManager::originsOfCacheStorageData):
* Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:
(WebKit::originDirectoryPath):
* Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp:
(webkitWebsiteDataManagerGetFaviconDatabasePath):
* 
Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerConfigurationCocoa.mm:
(WebKit::WebExtensionControllerConfiguration::createStorageDirectoryPath):
* Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
(WebKit::WebsiteDataStore::defaultCookieStorageFile):
* Source/WebKit/webpushd/WebPushDaemonMain.mm:
(WebKit::getWebPushDirectoryPathWithMigrationIfNecessary):
* Tools/TestWebKitAPI/Tests/WTF/FileSystem.cpp:
(TestWebKitAPI::TEST_F(FileSystemTest, deleteNonEmptyDirectory)):
(TestWebKitAPI::TEST_F(FileSystemTest, makeAllDirectories)):
(TestWebKitAPI::TEST_F(FileSystemTest, pathFileName)):
(TestWebKitAPI::TEST_F(FileSystemTest, parentPath)):
(TestWebKitAPI::TEST_F(FileSystemTest, pathByAppendingComponents)):
(TestWebKitAPI::TEST_F(FileSystemTest, listDirectory)):
(TestWebKitAPI::TEST_F(FileSystemTest, realPath)):
* Tools/TestWebKitAPI/Tests/WebCore/win/WebCoreBundle.cpp:
(TEST_F(WebCoreBundleTest, BundlePathFromPath)):
(TEST_F(WebCoreBundleTest, BundlePathFromNameTypeDirectory)):
(TEST_F(WebCoreBundleTest, BundlePathFromComponents)):

Canonical link: https://commits.webkit.org/295020@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to