diff options
author | mlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-05 01:27:34 +0000 |
---|---|---|
committer | mlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-05 01:27:34 +0000 |
commit | c5d793460f95c90ceb9565f5f9e2e81c6f3db8cb (patch) | |
tree | 8f7a1e1b714715c2ec93d68ed86483665d53b6b7 /webkit/glue/webkit_glue.h | |
parent | 28a64238455dbf32d5c32a523226fa12c2541df1 (diff) | |
download | chromium_src-c5d793460f95c90ceb9565f5f9e2e81c6f3db8cb.zip chromium_src-c5d793460f95c90ceb9565f5f9e2e81c6f3db8cb.tar.gz chromium_src-c5d793460f95c90ceb9565f5f9e2e81c6f3db8cb.tar.bz2 |
Actually clear the disk cache, and keep it enabled, between benchmark runs.
Fixes a small TODO in the benchmarking extension. Keep the disk cache
turned on during benchmarking, and doom all entries between benchmark
runs, rather than disabling it entirely.
BUG=none
TEST=All tests pass.
Review URL: http://codereview.chromium.org/669115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rwxr-xr-x[-rw-r--r--] | webkit/glue/webkit_glue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index f8095d9..8f6b42c 100644..100755 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -242,6 +242,9 @@ void CloseCurrentConnections(); // Enable or disable the disk cache. Used for debugging. void SetCacheMode(bool enabled); +// Clear the disk cache. Used for debugging. +void ClearCache(); + // Returns the product version. E.g., Chrome/4.1.333.0 std::string GetProductVersion(); |