WebKit2: The CFNetwork Cache should be shared between the UI Process and the Web...
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 22:23:26 +0000 (22:23 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 22:23:26 +0000 (22:23 +0000)
commit2ab5484704d3665925d5532baf7876f3e0026ce7
treedc6e7175c56159a30c0f0466474e2e9af6332251
parent1233cb35dd7a459b34197c163e85fa87aff4faf0
WebKit2: The CFNetwork Cache should be shared between the UI Process and the Web Process on
Windows.
https://bugs.webkit.org/show_bug.cgi?id=54683

Reviewed by Adam Roben.

* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):
* Shared/WebProcessCreationParameters.h:

* UIProcess/win/WebContextWin.cpp:
(WebKit::WebContext::platformInitializeWebProcess):
Make sure to remove the ending slash, as CFNetwork does not recognize the directory with
that slash.

* WebProcess/win/WebProcessWin.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):
Create a cache using the path, disk capacity, and memory capacity and set it as default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebProcessCreationParameters.cpp
Source/WebKit2/Shared/WebProcessCreationParameters.h
Source/WebKit2/UIProcess/win/WebContextWin.cpp
Source/WebKit2/WebProcess/win/WebProcessWin.cpp