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, |