| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index 4f96ef34cfc9dd0a352e7e51ff0c4ba30a18a56f..966a388c04db15da4d67b0f0218434dd56518523 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);
|
|
|