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

Unified Diff: webkit/fileapi/local_file_util.cc

Issue 9638002: Add symbolic link support to FileSystemFileUtil::AbstractFileEnumerator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « webkit/fileapi/file_system_file_util.h ('k') | webkit/fileapi/native_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/local_file_util.cc
diff --git a/webkit/fileapi/local_file_util.cc b/webkit/fileapi/local_file_util.cc
index b86f4e845d4a743fec9897a3192cc803100a7a29..02bbcaee810117f3bbb764788320ac04dcc0b9df 100644
--- a/webkit/fileapi/local_file_util.cc
+++ b/webkit/fileapi/local_file_util.cc
@@ -35,6 +35,7 @@ class LocalFileEnumerator : public FileSystemFileUtil::AbstractFileEnumerator {
virtual int64 Size() OVERRIDE;
virtual base::Time LastModifiedTime() OVERRIDE;
virtual bool IsDirectory() OVERRIDE;
+ virtual bool IsLink() OVERRIDE;
private:
file_util::FileEnumerator file_enum_;
@@ -66,6 +67,10 @@ bool LocalFileEnumerator::IsDirectory() {
return file_util::FileEnumerator::IsDirectory(file_util_info_);
}
+bool LocalFileEnumerator::IsLink() {
+ return file_util::FileEnumerator::IsLink(file_util_info_);
+}
+
LocalFileUtil::LocalFileUtil(FileSystemFileUtil* underlying_file_util)
: FileSystemFileUtil(underlying_file_util) {
}
« no previous file with comments | « webkit/fileapi/file_system_file_util.h ('k') | webkit/fileapi/native_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698