summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_file_util.h
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-10 00:18:31 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-10 00:18:31 +0000
commit011352fdfe5524e72ea9aff9cc21b553ff4dc351 (patch)
treef0e8e764ee6000fc21c56d7f0c68df1dcff4ea39 /webkit/fileapi/file_system_file_util.h
parentf5f2d8978f8074dde9acd199e60e9586d549bf56 (diff)
downloadchromium_src-011352fdfe5524e72ea9aff9cc21b553ff4dc351.zip
chromium_src-011352fdfe5524e72ea9aff9cc21b553ff4dc351.tar.gz
chromium_src-011352fdfe5524e72ea9aff9cc21b553ff4dc351.tar.bz2
Add symbolic link support to FileSystemFileUtil::AbstractFileEnumerator.
BUG=114732 TEST="existing tests" Review URL: http://codereview.chromium.org/9638002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_file_util.h')
-rw-r--r--webkit/fileapi/file_system_file_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h
index 9d098a0..cccf1b7 100644
--- a/webkit/fileapi/file_system_file_util.h
+++ b/webkit/fileapi/file_system_file_util.h
@@ -37,12 +37,14 @@ class FileSystemFileUtil {
virtual int64 Size() = 0;
virtual bool IsDirectory() = 0;
+ virtual bool IsLink() = 0;
};
class EmptyFileEnumerator : public AbstractFileEnumerator {
virtual FilePath Next() OVERRIDE { return FilePath(); }
virtual int64 Size() OVERRIDE { return 0; }
virtual bool IsDirectory() OVERRIDE { return false; }
+ virtual bool IsLink() OVERRIDE { return false; }
};
virtual ~FileSystemFileUtil();