diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 21:27:01 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 21:27:01 +0000 |
commit | 23cc9a18ab9c4893e3cad94c3683e7ffecefcbf0 (patch) | |
tree | d446ad54b3e2ee91a4309243310e0a36d48299e6 /base/test_file_util_posix.cc | |
parent | ee12b724955c00af4f29b054fea44dca986b2396 (diff) | |
download | chromium_src-23cc9a18ab9c4893e3cad94c3683e7ffecefcbf0.zip chromium_src-23cc9a18ab9c4893e3cad94c3683e7ffecefcbf0.tar.gz chromium_src-23cc9a18ab9c4893e3cad94c3683e7ffecefcbf0.tar.bz2 |
Remove duplication of DieFileDie, and move it to proper location.
TEST=none
http://crbug.com/18085
Review URL: http://codereview.chromium.org/159658
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test_file_util_posix.cc')
-rw-r--r-- | base/test_file_util_posix.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/test_file_util_posix.cc b/base/test_file_util_posix.cc index ce36091..66eb8a3 100644 --- a/base/test_file_util_posix.cc +++ b/base/test_file_util_posix.cc @@ -18,6 +18,12 @@ namespace file_util { +bool DieFileDie(const FilePath& file, bool recurse) { + // There is no need to workaround Windows problems on POSIX. + // Just pass-through. + return file_util::Delete(file, recurse); +} + bool CopyRecursiveDirNoCache(const std::wstring& source_dir, const std::wstring& dest_dir) { const FilePath from_path(FilePath::FromWStringHack(source_dir)); |