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/tools | |
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/tools')
-rwxr-xr-x[-rw-r--r--] | webkit/tools/test_shell/test_shell.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index f921a96..14e092a 100644..100755 --- 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"); } |