summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/cache_util_posix.cc
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/cache_util_posix.cc
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/cache_util_posix.cc')
-rw-r--r--net/disk_cache/cache_util_posix.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/disk_cache/cache_util_posix.cc b/net/disk_cache/cache_util_posix.cc
index 97d3a4e..a272cb8 100644
--- a/net/disk_cache/cache_util_posix.cc
+++ b/net/disk_cache/cache_util_posix.cc
@@ -34,8 +34,4 @@ bool DeleteCacheFile(const FilePath& name) {
return file_util::Delete(name, false);
}
-void DeleteCache(const std::wstring& path, bool remove_folder) {
- DeleteCache(FilePath::FromWStringHack(path), remove_folder);
-}
-
} // namespace disk_cache