Move logic from ChildProcess::setApplicationIsDaemon to NetworkProcess::initializeProcess
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2019 23:41:30 +0000 (23:41 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2019 23:41:30 +0000 (23:41 +0000)
commit0964dff5493c47c3731de1c7975520a9c47fb621
treec963648aacc926e5048082e8e74214f9957a6096
parentd1c2a291bf5e0c0beea03bd6cb9cd6ecb9f9c724
Move logic from ChildProcess::setApplicationIsDaemon to NetworkProcess::initializeProcess
https://bugs.webkit.org/show_bug.cgi?id=193844

Reviewed by Andy Estes.

Source/WebCore/PAL:

* pal/spi/mac/HIServicesSPI.h:

Source/WebKit:

This simplifies ChildProcess and removes NetworkProcess-specific code from this generic abstraction.

* NetworkProcess/mac/NetworkProcessMac.mm:
(WebKit::NetworkProcess::initializeProcess):
* Shared/ios/ChildProcessIOS.mm:
(WebKit::ChildProcess::setApplicationIsDaemon): Deleted.
* Shared/mac/ChildProcessMac.mm:
(WebKit::ChildProcess::setApplicationIsDaemon): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/mac/HIServicesSPI.h
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/mac/NetworkProcessMac.mm
Source/WebKit/Shared/ios/ChildProcessIOS.mm
Source/WebKit/Shared/mac/ChildProcessMac.mm