summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebCache.h
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-12-21 16:31:19 +0000
committerKristian Monsen <kristianm@google.com>2010-12-22 11:33:24 +0000
commitd531ae5ea94ec991d57dfa9cf8ab4de44ada92b8 (patch)
treee9c02ad94d1712e12fda32299c3bd4e5d6d3d731 /WebKit/android/WebCoreSupport/WebCache.h
parent8349050efe037c35b231c2f108777bed60d470cc (diff)
downloadexternal_webkit-d531ae5ea94ec991d57dfa9cf8ab4de44ada92b8.zip
external_webkit-d531ae5ea94ec991d57dfa9cf8ab4de44ada92b8.tar.gz
external_webkit-d531ae5ea94ec991d57dfa9cf8ab4de44ada92b8.tar.bz2
Adding a method to delete a WebCache
This is needed so the cache doesn't survive when closing all private tabs. Change-Id: I52ffaf89f8794466f98370c289b9a646de0fdb59
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebCache.h')
-rw-r--r--WebKit/android/WebCoreSupport/WebCache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebCache.h b/WebKit/android/WebCoreSupport/WebCache.h
index a231eb8..50ad03c 100644
--- a/WebKit/android/WebCoreSupport/WebCache.h
+++ b/WebKit/android/WebCoreSupport/WebCache.h
@@ -41,6 +41,7 @@ public:
~WebCache();
void clear();
+ static void cleanup(bool isPrivateBrowsing);
net::HostResolver* hostResolver() { return m_hostResolver.get(); }
net::HttpCache* cache() { return m_cache.get(); }
net::ProxyConfigServiceAndroid* proxy() { return m_proxyConfigService; }