summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authormlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-05 01:27:34 +0000
committermlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-05 01:27:34 +0000
commitc5d793460f95c90ceb9565f5f9e2e81c6f3db8cb (patch)
tree8f7a1e1b714715c2ec93d68ed86483665d53b6b7 /chrome/common/render_messages_internal.h
parent28a64238455dbf32d5c32a523226fa12c2541df1 (diff)
downloadchromium_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 'chrome/common/render_messages_internal.h')
-rwxr-xr-x[-rw-r--r--]chrome/common/render_messages_internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 35456e5..70d24c6 100644..100755
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -2120,11 +2120,16 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections)
// Message sent from the renderer to the browser to request that the browser
- // close all idle sockets. Used for debugging/testing.
+ // enable or disable the cache. Used for debugging/testing.
IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode,
bool /* enabled */)
// Message sent from the renderer to the browser to request that the browser
+ // clear the cache. Used for debugging/testing.
+ IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_ClearCache,
+ int /* result */)
+
+ // Message sent from the renderer to the browser to request that the browser
// cache |data| associated with |url|.
IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
GURL /* url */,