Bug 1428543 - Implement FileDescriptorFile::GetPersistentDescriptor. r=froydnj

This method is used by some subsequent patches when unique opaque identifiers are necessary.

MozReview-Commit-ID: AreqK4MHdJP

--HG--
extra : rebase_source : d5b85c2c9212618f54a6ac2f5199651b01c99510
extra : intermediate-source : 67c3c7a1012b9fdd628928bec61472c6ce580616
extra : source : c9a67330c600dbe454fd2ce5025247171e0c0e22
This commit is contained in:
Masatoshi Kimura 2017-12-17 13:37:03 +09:00
parent 17fb30182d
commit 51d70c873f

View File

@ -150,6 +150,12 @@ FileDescriptorFile::GetFollowLinks(bool* aFollowLinks)
return mFile->GetFollowLinks(aFollowLinks);
}
NS_IMETHODIMP
FileDescriptorFile::GetPersistentDescriptor(nsACString& aPersistentDescriptor)
{
return mFile->GetPersistentDescriptor(aPersistentDescriptor);
}
//-----------------------------------------------------------------------------
// FileDescriptorFile::nsIFile functions that are not currently supported
//-----------------------------------------------------------------------------
@ -226,12 +232,6 @@ FileDescriptorFile::AppendRelativeNativePath(const nsACString& aFragment)
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
FileDescriptorFile::GetPersistentDescriptor(nsACString& aPersistentDescriptor)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
FileDescriptorFile::SetPersistentDescriptor(const nsACString& aPersistentDescriptor)
{