3 [GTK] Implement disk cache in WebKit2
4 https://bugs.webkit.org/show_bug.cgi?id=90797
5
6 Reviewed by NOBODY (OOPS!).
7
8 * WebProcess/gtk/WebProcessGtk.cpp:
9 (WebKit::getCacheDiskFreeSize): Use an ASSERT instead of an early
10 return since the cache feature is now always added to the session.
11 (WebKit::WebProcess::platformSetCacheModel): Get the cache from
12 the session and set the maximum cache size as computed by
13 calculateCacheSizes().
14 (WebKit::WebProcess::platformClearResourceCaches): Call
15 soup_cache_clear().
16 (WebKit::WebProcess::platformTerminate): Make sure all pending
17 data is saved to the disk before the web process finishes.
18 * WebProcess/gtk/WebProcessMainGtk.cpp:
19 (WebKit::WebProcessMainGtk): Create a SoupCache feature and add it
20 to the default SoupSession.
21
222012-07-09 Carlos Garcia Campos <cgarcia@igalia.com>
23