Remove Network Capture
authorkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2018 08:22:56 +0000 (08:22 +0000)
committerkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2018 08:22:56 +0000 (08:22 +0000)
commitbf94f9844be00b540e4e276fb0a276128d744f1b
treecbe421c7d7db8adbfff8b1368c286a88293727e3
parentbe20dd119ac4e9516770834ecc094f866c7bbc70
Remove Network Capture
https://bugs.webkit.org/show_bug.cgi?id=192296
<rdar://problem/46408648>

Reviewed by Daniel Bates.

r209498 introduced an embedded record and replay facility for network
resource loading. This facility was added in order to support a new
implementation of the PLT and related performance tests. The PLT is
currenty taking a different direction, and so this record/replace
facility is no longer needed. Removing it as unused code.

* CMakeLists.txt:
* NetworkProcess/NetworkLoad.cpp:
(WebKit::NetworkLoad::NetworkLoad):
(WebKit::NetworkLoad::setDefersLoading):
(WebKit::NetworkLoad::continueWillSendRequest):
(WebKit::NetworkLoad::willPerformHTTPRedirection):
(WebKit::NetworkLoad::notifyDidReceiveResponse):
(WebKit::NetworkLoad::didReceiveData):
(WebKit::NetworkLoad::didCompleteWithError):
(WebKit::NetworkLoad::initializeForRecord): Deleted.
(WebKit::NetworkLoad::initializeForReplay): Deleted.
* NetworkProcess/NetworkLoad.h:
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::initializeNetworkProcess):
(WebKit::NetworkProcess::terminate):
* NetworkProcess/NetworkProcessCreationParameters.cpp:
(WebKit::NetworkProcessCreationParameters::encode const):
(WebKit::NetworkProcessCreationParameters::decode):
* NetworkProcess/NetworkProcessCreationParameters.h:
* NetworkProcess/capture/NetworkCaptureEvent.cpp: Removed.
* NetworkProcess/capture/NetworkCaptureEvent.h: Removed.
* NetworkProcess/capture/NetworkCaptureLogging.h: Removed.
* NetworkProcess/capture/NetworkCaptureManager.cpp: Removed.
* NetworkProcess/capture/NetworkCaptureManager.h: Removed.
* NetworkProcess/capture/NetworkCaptureRecorder.cpp: Removed.
* NetworkProcess/capture/NetworkCaptureRecorder.h: Removed.
* NetworkProcess/capture/NetworkCaptureReplayer.cpp: Removed.
* NetworkProcess/capture/NetworkCaptureReplayer.h: Removed.
* NetworkProcess/capture/NetworkCaptureResource.cpp: Removed.
* NetworkProcess/capture/NetworkCaptureResource.h: Removed.
* NetworkProcess/capture/NetworkDataTaskReplay.cpp: Removed.
* NetworkProcess/capture/NetworkDataTaskReplay.h: Removed.
* NetworkProcess/capture/json.hpp: Removed.
* Sources.txt:
* UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitializeNetworkProcess):
* WebKit.xcodeproj/project.pbxproj:
* config.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
25 files changed:
Source/WebKit/CMakeLists.txt
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/NetworkLoad.cpp
Source/WebKit/NetworkProcess/NetworkLoad.h
Source/WebKit/NetworkProcess/NetworkProcess.cpp
Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.cpp
Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.h
Source/WebKit/NetworkProcess/capture/NetworkCaptureEvent.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureEvent.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureLogging.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureManager.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureManager.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureRecorder.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureRecorder.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureReplayer.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureReplayer.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureResource.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkCaptureResource.h [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkDataTaskReplay.cpp [deleted file]
Source/WebKit/NetworkProcess/capture/NetworkDataTaskReplay.h [deleted file]
Source/WebKit/NetworkProcess/capture/json.hpp [deleted file]
Source/WebKit/Sources.txt
Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
Source/WebKit/WebKit.xcodeproj/project.pbxproj
Source/WebKit/config.h