diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 20:50:55 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 20:50:55 +0000 |
commit | 8990e4716c6bf3f19625d24be013502fc6e24873 (patch) | |
tree | fe934abf9d3b6139c096e415de0dd99fbae3fecc /webkit/support | |
parent | d15f03f7d3aaa253d32c8bfc4f1543f5f9d6eeae (diff) | |
download | chromium_src-8990e4716c6bf3f19625d24be013502fc6e24873.zip chromium_src-8990e4716c6bf3f19625d24be013502fc6e24873.tar.gz chromium_src-8990e4716c6bf3f19625d24be013502fc6e24873.tar.bz2 |
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 <ziga@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-rw-r--r-- | webkit/support/webkit_support_glue.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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"); } |