From c5d793460f95c90ceb9565f5f9e2e81c6f3db8cb Mon Sep 17 00:00:00 2001 From: "mlloyd@chromium.org" Date: Sat, 5 Jun 2010 01:27:34 +0000 Subject: 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 --- webkit/tools/test_shell/test_shell.cc | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 webkit/tools/test_shell/test_shell.cc (limited to 'webkit/tools') diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc old mode 100644 new mode 100755 index f921a96..14e092a --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -807,6 +807,10 @@ void SetCacheMode(bool enabled) { // Used in benchmarking, Ignored for test_shell. } +void ClearCache() { + // Used in benchmarking, Ignored for test_shell. +} + std::string GetProductVersion() { return std::string("Chrome/0.0.0.0"); } -- cgit v1.1