Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug

This commit is contained in:
Andrea Marchesini
2016-03-19 22:29:46 +01:00
parent 1388b33044
commit 97ca49dfa3
42 changed files with 1579 additions and 883 deletions

View File

@@ -34,6 +34,12 @@ public:
static void
NormalizedPathToLocalPath(const nsAString& aNorm, nsAString& aLocal);
/*
* Return true if aDescendantPath is a descendant of aPath.
*/
static bool
IsDescendantPath(nsIFile* aPath, nsIFile* aDescendantPath);
/*
* Return true if aDescendantPath is a descendant of aPath. Both aPath and
* aDescendantPath are absolute DOM path.