summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 23:14:44 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 23:14:44 +0000
commit0e34852ad6c4d5bc35f7000392467837211c9a87 (patch)
tree7b04317a795dbb0aae584699ad4f4a81d2ee7b3b /webkit/glue/webkit_glue.h
parentaa042406ccff58edb414117877b669b5ca2d7a32 (diff)
downloadchromium_src-0e34852ad6c4d5bc35f7000392467837211c9a87.zip
chromium_src-0e34852ad6c4d5bc35f7000392467837211c9a87.tar.gz
chromium_src-0e34852ad6c4d5bc35f7000392467837211c9a87.tar.bz2
Update benchmarking clearCache routine to be able to preserve sslhostinfo:
related entries. * The clearCache() API is part of the benchmarking extension. * Modified clearCache() to take an argument so that we can selectively clear SSL information or not. * The actual clear data call used to just call DoomAllEntries. It still does that for clearing everything. If preserving the ssl host entries, however, it will enumerate the cache. Ran into cache invalidation upon calling doom, which makes the clear inefficient, but functional. BUG=none TEST=none Review URL: http://codereview.chromium.org/6529012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r--webkit/glue/webkit_glue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h
index 5df2aea..c742c09 100644
--- a/webkit/glue/webkit_glue.h
+++ b/webkit/glue/webkit_glue.h
@@ -265,7 +265,9 @@ void CloseCurrentConnections();
void SetCacheMode(bool enabled);
// Clear the disk cache. Used for debugging.
-void ClearCache();
+// |preserve_ssl_host_info| indicates whether disk cache entries related to
+// SSL information should be purged.
+void ClearCache(bool preserve_ssl_host_info);
// Returns the product version. E.g., Chrome/4.1.333.0
std::string GetProductVersion();