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
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
old mode 100644
new mode 100755
index a02a0b9..d59f4ff
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -174,6 +174,9 @@
// Sends a message to the browser to enable or disable the disk cache.
void SetCacheMode(bool enabled);
+ // Sends a message to the browser to clear the disk cache.
+ void ClearCache();
+
// Update the list of active extensions that will be reported when we crash.
void UpdateActiveExtensions();