From 8990e4716c6bf3f19625d24be013502fc6e24873 Mon Sep 17 00:00:00 2001 From: "tonyg@chromium.org" Date: Mon, 28 Mar 2011 20:50:55 +0000 Subject: Add chrome.benchmark routines to clear the host and predictor caches. This will be used in web-page-replay to enable TCP preconnect and DNS prefetch. BUG=None TEST=unit_tests passes Review URL: http://codereview.chromium.org/6660008 Patch from Ziga Mahkovec . git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79610 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/support/webkit_support_glue.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'webkit/support') diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc index 562b989..522cfa9 100644 --- a/webkit/support/webkit_support_glue.cc +++ b/webkit/support/webkit_support_glue.cc @@ -75,6 +75,12 @@ void SetCacheMode(bool enabled) { void ClearCache(bool preserve_ssl_info) { } +void ClearHostResolverCache() { +} + +void ClearPredictorCache() { +} + std::string GetProductVersion() { return std::string("DumpRenderTree/0.0.0.0"); } -- cgit v1.1