[Soup] Do not spawn the network process to setup cookie persistent storage
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Aug 2017 06:02:33 +0000 (06:02 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Aug 2017 06:02:33 +0000 (06:02 +0000)
commit017785b8f9e50eeee0304c62b44f3f2329938895
tree0c0881c2e2d7d1bd50c21a9150099f52c9ad397f
parentc8e122045eac18034080c192c5847092b2c52b9a
[Soup] Do not spawn the network process to setup cookie persistent storage
https://bugs.webkit.org/show_bug.cgi?id=175424

Reviewed by Sergio Villar Senin.

The persistent storage configuration is saved and passed to network process as creation parameters, so we don't
need to spawn the network process to configure it, when it's created eventually it will use the configuration.

* UIProcess/soup/WebCookieManagerProxySoup.cpp:
(WebKit::WebCookieManagerProxy::setCookiePersistentStorage): Use sendToNetworkingProcess() instead of
endToNetworkingProcessRelaunchingIfNecessary().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/soup/WebCookieManagerProxySoup.cpp