diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 23:58:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 23:58:23 +0000 |
commit | f311bd71f1defeb33ec4903593e23061a913f992 (patch) | |
tree | d3dd7f2422d41b15946002bf582b07f919475046 /base/file_util.h | |
parent | 5dce90240ecb2259290cd3aa12294b832b09eee9 (diff) | |
download | chromium_src-f311bd71f1defeb33ec4903593e23061a913f992.zip chromium_src-f311bd71f1defeb33ec4903593e23061a913f992.tar.gz chromium_src-f311bd71f1defeb33ec4903593e23061a913f992.tar.bz2 |
revert 5730
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/base/file_util.h b/base/file_util.h index 0103003..e274d6a 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -14,7 +14,6 @@ #include <windows.h> #elif defined(OS_POSIX) #include <fts.h> -#include <sys/stat.h> #endif #include <stdio.h> @@ -324,15 +323,6 @@ bool SetCurrentDirectory(const std::wstring& current_directory); // program where latency does not matter. This class is blocking. class FileEnumerator { public: -#if defined(OS_WIN) - typedef WIN32_FIND_DATA FindInfo; -#elif defined(OS_POSIX) - typedef struct { - struct stat stat; - std::string filename; - } FindInfo; -#endif - enum FILE_TYPE { FILES = 0x1, DIRECTORIES = 0x2, @@ -371,9 +361,6 @@ class FileEnumerator { // Returns an empty string if there are no more results. std::wstring Next(); - // Write the file info into |info|. - void GetFindInfo(FindInfo* info); - private: std::wstring root_path_; bool recursive_; @@ -393,7 +380,6 @@ class FileEnumerator { HANDLE find_handle_; #elif defined(OS_POSIX) FTS* fts_; - FTSENT* fts_ent_; #endif DISALLOW_EVIL_CONSTRUCTORS(FileEnumerator); |