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/tools | |
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/tools')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 40eb490..5d9f533 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -683,6 +683,14 @@ void ClearCache(bool preserve_ssl_entries) { // Used in benchmarking, Ignored for test_shell. } +void ClearHostResolverCache() { + // Used in benchmarking, Ignored for test_shell. +} + +void ClearPredictorCache() { + // Used in benchmarking, Ignored for test_shell. +} + void EnableSpdy(bool enable) { // Used in benchmarking, Ignored for test_shell. } |