void LocalFileSystem::resolveURLInternal( RawPtr<ExecutionContext> context, const KURL& fileSystemURL, CallbackWrapper* callbacks) { if (!fileSystem()) { fileSystemNotAvailable(context, callbacks); return; } fileSystem()->resolveURL(fileSystemURL, callbacks->release()); }
void LocalFileSystem::resolveURLInternal( ExecutionContext* context, const KURL& fileSystemURL, CallbackWrapper* callbacks) { WebFileSystem* fileSystem = getFileSystem(); if (!fileSystem) { fileSystemNotAvailable(context, callbacks); return; } fileSystem->resolveURL(fileSystemURL, callbacks->release()); }
void LocalFileSystem::deleteFileSystemInternal( RawPtr<ExecutionContext> context, FileSystemType type, CallbackWrapper* callbacks) { if (!fileSystem()) { fileSystemNotAvailable(context, callbacks); return; } KURL storagePartition = KURL(KURL(), context->getSecurityOrigin()->toString()); fileSystem()->deleteFileSystem(storagePartition, static_cast<WebFileSystemType>(type), callbacks->release()); }
void LocalFileSystem::fileSystemAllowedInternal( ExecutionContext* context, FileSystemType type, CallbackWrapper* callbacks) { WebFileSystem* fileSystem = getFileSystem(); if (!fileSystem) { fileSystemNotAvailable(context, callbacks); return; } KURL storagePartition = KURL(KURL(), context->getSecurityOrigin()->toString()); fileSystem->openFileSystem(storagePartition, static_cast<WebFileSystemType>(type), callbacks->release()); }