[WK2] Make Efl build and run with ENABLE_NETWORK_PROCESS
https://bugs.webkit.org/show_bug.cgi?id=110141

Reviewed by NOBODY (OOPS!).

* CMakeLists.txt:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::NetworkProcess):
Add guard agains ENABLE(CUSTOM_PROTOCOLS).
* NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::willSendRequest): Don't need to get the NSURLRequest for
calling ResourceRequest::updateFromDelegatePreservingOldHTTPBody.
* Shared/ProcessExecutablePath.h:
(WebKit):
Add executablePathOfNetworkProcess helper function.
* Shared/WebResourceBuffer.h: Changed forward declaration of ShareableResource to actual
include because GCC requires a definition of the type for passing it in a PassOwnPtr.
* Shared/efl/ProcessExecutablePathEfl.cpp:
(WebKit):
(WebKit::executablePathOfNetworkProcess):
* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
(WebKit::ProcessLauncher::launchProcess):
Handle the case of launching the network process.
* UIProcess/Network/NetworkProcessProxy.cpp: Add missing guards.
* WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
(WebKit):
Add guards against USE(PROTECTION_SPACE_AUTH_CALLBACK) and USE(CFNETWORK).
* WebProcess/Network/WebResourceLoader.h:
(WebResourceLoader):
Add guard against USE(PROTECTION_SPACE_AUTH_CALLBACK).
* WebProcess/Network/WebResourceLoader.messages.in: Add guard against
ENABLE(NETWORK_PROCESS) not to brake the build without it.
* WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp:
(WebKit::internalError): Implemented.
(WebKit):