summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_url.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi/file_system_url.h')
-rw-r--r--webkit/fileapi/file_system_url.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_url.h b/webkit/fileapi/file_system_url.h
index 12f465a..cabe79d 100644
--- a/webkit/fileapi/file_system_url.h
+++ b/webkit/fileapi/file_system_url.h
@@ -93,6 +93,9 @@ class FILEAPI_EXPORT FileSystemURL {
// original filesystem: URL in the current implementation).
FileSystemURL WithPath(const FilePath& path) const;
+ // Returns true if this URL is a strict parent of the |child|.
+ bool IsParent(const FileSystemURL& child) const;
+
bool operator==(const FileSystemURL& that) const;
struct FILEAPI_EXPORT Comparator {