summaryrefslogtreecommitdiffstats
path: root/base/test_file_util.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 12:00:40 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 12:00:40 +0000
commitd9eb3c45ead253d51ab8838055c5493ba0ac7951 (patch)
treebeab9a67d8fbd22a85301f784b48b8b55757ed60 /base/test_file_util.h
parentd4f06fa99aa8f04fedbb336fe4e115831b2bc6ca (diff)
downloadchromium_src-d9eb3c45ead253d51ab8838055c5493ba0ac7951.zip
chromium_src-d9eb3c45ead253d51ab8838055c5493ba0ac7951.tar.gz
chromium_src-d9eb3c45ead253d51ab8838055c5493ba0ac7951.tar.bz2
Port flush_cache tool and perf_tests.
BUG=4160,4263 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6815 Review URL: http://codereview.chromium.org/9639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test_file_util.h')
-rw-r--r--base/test_file_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/test_file_util.h b/base/test_file_util.h
index 3547d55..1ecaf29 100644
--- a/base/test_file_util.h
+++ b/base/test_file_util.h
@@ -9,11 +9,13 @@
#include <string>
+class FilePath;
+
namespace file_util {
// Clear a specific file from the system cache. After this call, trying
// to access this file will result in a cold load from the hard drive.
-bool EvictFileFromSystemCache(const wchar_t* file);
+bool EvictFileFromSystemCache(const FilePath& file);
// Like CopyFileNoCache but recursively copies all files and subdirectories
// in the given input directory to the output directory. Any files in the