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

Unified Diff: webkit/fileapi/native_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/local_file_util.cc ('k') | webkit/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/native_file_util.cc
diff --git a/webkit/fileapi/native_file_util.cc b/webkit/fileapi/native_file_util.cc
index bda0221c11ddf1d4a5c8af58bf1a833b46977dfe..22186aec3d139df51163d2a160c7e2dca032a9bd 100644
--- a/webkit/fileapi/native_file_util.cc
+++ b/webkit/fileapi/native_file_util.cc
@@ -29,6 +29,7 @@ class NativeFileEnumerator : 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_;
@@ -54,6 +55,10 @@ bool NativeFileEnumerator::IsDirectory() {
return file_util::FileEnumerator::IsDirectory(file_util_info_);
}
+bool NativeFileEnumerator::IsLink() {
+ return file_util::FileEnumerator::IsLink(file_util_info_);
+}
+
PlatformFileError NativeFileUtil::CreateOrOpen(
FileSystemOperationContext* unused,
const FileSystemPath& path, int file_flags,
« no previous file with comments | « webkit/fileapi/local_file_util.cc ('k') | webkit/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698