summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:02:37 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:02:37 +0000
commit4317c71c37dab54c55788bb68f56acf9273410c5 (patch)
treee0a4d13fb86c89a732783f6b5c4fad9b868f86b5 /net/disk_cache/disk_cache_test_util.h
parentba4c78e5b07788094ec02c6a1b44eebd7a727926 (diff)
downloadchromium_src-4317c71c37dab54c55788bb68f56acf9273410c5.zip
chromium_src-4317c71c37dab54c55788bb68f56acf9273410c5.tar.gz
chromium_src-4317c71c37dab54c55788bb68f56acf9273410c5.tar.bz2
Move disk_cache::MappedFile to use FilePath instead of wstring.
Also add some FilePath methods in disk_cache_util.h and obsolete the old. BUG=24444 Review URL: http://codereview.chromium.org/266069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.h')
-rw-r--r--net/disk_cache/disk_cache_test_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h
index 24c5567..f680470 100644
--- a/net/disk_cache/disk_cache_test_util.h
+++ b/net/disk_cache/disk_cache_test_util.h
@@ -16,6 +16,8 @@
class FilePath;
// Re-creates a given test file inside the cache test folder.
+bool CreateCacheTestFile(const FilePath& name);
+// Deprecated.
bool CreateCacheTestFile(const wchar_t* name);
// Deletes all file son the cache.
@@ -24,6 +26,8 @@ bool DeleteCache(const FilePath& path);
bool DeleteCache(const wchar_t* path);
// Gets the path to the cache test folder.
+FilePath GetCacheFilePath();
+// Deprecated.
std::wstring GetCachePath();
// Fills buffer with random values (may contain nulls unless no_nulls is true).