Move ResourceLoadStatistics files from UIProcess to NetworkProcess
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2019 22:02:16 +0000 (22:02 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2019 22:02:16 +0000 (22:02 +0000)
commit3e66e55016dbd0f1fa0aafbaaf12c200be940336
tree1963cd4442269cad788840d5d5dd48ce41966bb1
parent7646d478886e275a91b130e6dc8ad4265d833177
Move ResourceLoadStatistics files from UIProcess to NetworkProcess
https://bugs.webkit.org/show_bug.cgi?id=193252
<rdar://problem/47125401>

Reviewed by Alex Christensen.

This patch is the first part of a refactoring to move the ResourceLoadStatistics logic from the UIProcess to the NetworkProcess.

This patch moves code into different folders and adjusts necessary build files, but does not change where the code executes. These
changes have no impact on behavior or test results.

I also modified a few files to add missing include files uncovered by the unified build system.

* NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp: Renamed from Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.cpp.
* NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h: Renamed from Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.h.
* NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp: Renamed from Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.cpp.
* NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.h: Renamed from Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.h.
* NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp: Renamed from Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp.
* NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h: Renamed from Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h.
* NetworkProcess/Classifier/WebResourceLoadStatisticsTelemetry.cpp: Renamed from Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp.
* NetworkProcess/Classifier/WebResourceLoadStatisticsTelemetry.h: Renamed from Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.h.
* NetworkProcess/Downloads/PendingDownload.cpp:
* NetworkProcess/Downloads/PendingDownload.h:
* CMakeLists.txt:
* PlatformMac.cmake:
* PlatformWin.cmake:
* Shared/PersistencyUtils.cpp: Renamed from Source/WebKit/UIProcess/PersistencyUtils.cpp.
* Shared/PersistencyUtils.h: Renamed from Source/WebKit/UIProcess/PersistencyUtils.h.
* Sources.txt:
* SourcesCocoa.txt:
* SourcesGTK.txt:
* SourcesWPE.txt:
* UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
(WKWebsiteDataStoreSetWebAuthenticationMockConfiguration): Add missing WebKit:: scope.
* UIProcess/UserMediaPermissionRequestManagerProxy.cpp: Add missing include.
* UIProcess/WebDataListSuggestionsDropdown.cpp: Ditto.
* UIProcess/mac/DisplayLink.cpp:
* UnifiedSources-input.xcfilelist:
* WebKit.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26 files changed:
Source/WebKit/CMakeLists.txt
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp [moved from Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.cpp with 99% similarity]
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h [moved from Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.h with 100% similarity]
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp [moved from Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.cpp with 99% similarity]
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.h [moved from Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.h with 100% similarity]
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp [moved from Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp with 100% similarity]
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h [moved from Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h with 100% similarity]
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsTelemetry.cpp [moved from Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.cpp with 100% similarity]
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsTelemetry.h [moved from Source/WebKit/UIProcess/WebResourceLoadStatisticsTelemetry.h with 100% similarity]
Source/WebKit/NetworkProcess/Downloads/PendingDownload.cpp
Source/WebKit/NetworkProcess/Downloads/PendingDownload.h
Source/WebKit/PlatformMac.cmake
Source/WebKit/PlatformWin.cmake
Source/WebKit/Shared/PersistencyUtils.cpp [moved from Source/WebKit/UIProcess/PersistencyUtils.cpp with 100% similarity]
Source/WebKit/Shared/PersistencyUtils.h [moved from Source/WebKit/UIProcess/PersistencyUtils.h with 100% similarity]
Source/WebKit/Sources.txt
Source/WebKit/SourcesCocoa.txt
Source/WebKit/SourcesGTK.txt
Source/WebKit/SourcesWPE.txt
Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp
Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp
Source/WebKit/UIProcess/WebDataListSuggestionsDropdown.cpp
Source/WebKit/UIProcess/mac/DisplayLink.cpp
Source/WebKit/UnifiedSources-input.xcfilelist
Source/WebKit/WebKit.xcodeproj/project.pbxproj