Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: base/file_util_posix.cc

Issue 10916204: Remove FileEnumerator::IsLink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util.h ('k') | base/file_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_posix.cc
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index ed60e06e6d20a94250990edd68f918e9793b0c3d..15d2213aa9d67fe68728e665474011186b559e52 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -830,11 +830,6 @@ bool FileEnumerator::IsDirectory(const FindInfo& info) {
}
// static
-bool FileEnumerator::IsLink(const FindInfo& info) {
- return S_ISLNK(info.stat.st_mode);
-}
-
-// static
FilePath FileEnumerator::GetFilename(const FindInfo& find_info) {
return FilePath(find_info.filename);
}
« no previous file with comments | « base/file_util.h ('k') | base/file_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698