summaryrefslogtreecommitdiffstats
path: root/base/file_util_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util_win.cc')
-rw-r--r--base/file_util_win.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/base/file_util_win.cc b/base/file_util_win.cc
index fb65feb..fcad39c 100644
--- a/base/file_util_win.cc
+++ b/base/file_util_win.cc
@@ -431,15 +431,6 @@ bool TaskbarUnpinShortcutLink(const wchar_t* shortcut) {
return result > 32;
}
-bool IsDirectoryEmpty(const std::wstring& dir_path) {
- FileEnumerator files(FilePath(dir_path), false,
- static_cast<FileEnumerator::FILE_TYPE>(
- FileEnumerator::FILES | FileEnumerator::DIRECTORIES));
- if (files.Next().value().empty())
- return true;
- return false;
-}
-
bool GetTempDir(FilePath* path) {
wchar_t temp_path[MAX_PATH + 1];
DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);