Index: modules/filesystem/DedicatedWorkerGlobalScopeFileSystem.idl |
diff --git a/modules/filesystem/WorkerGlobalScopeFileSystem.idl b/modules/filesystem/DedicatedWorkerGlobalScopeFileSystem.idl |
similarity index 94% |
copy from modules/filesystem/WorkerGlobalScopeFileSystem.idl |
copy to modules/filesystem/DedicatedWorkerGlobalScopeFileSystem.idl |
index f01817aa4de0dda351e709f10c6b475fd4f7a255..d050cd6a2f97949c207036b6914df49ccfa52baa 100644 |
--- a/modules/filesystem/WorkerGlobalScopeFileSystem.idl |
+++ b/modules/filesystem/DedicatedWorkerGlobalScopeFileSystem.idl |
@@ -24,7 +24,8 @@ |
* |
*/ |
-partial interface WorkerGlobalScope { |
+[ImplementedAs=WorkerGlobalScopeFileSystem] |
+partial interface DedicatedWorkerGlobalScope { |
const unsigned short TEMPORARY = 0; |
const unsigned short PERSISTENT = 1; |
@@ -32,6 +33,4 @@ partial interface WorkerGlobalScope { |
[RuntimeEnabled=FileSystem, RaisesException, MeasureAs=RequestFileSystemSyncWorker] DOMFileSystemSync webkitRequestFileSystemSync(unsigned short type, long long size); |
[RuntimeEnabled=FileSystem] void webkitResolveLocalFileSystemURL(DOMString url, EntryCallback successCallback, optional ErrorCallback errorCallback); |
[RuntimeEnabled=FileSystem, RaisesException] EntrySync webkitResolveLocalFileSystemSyncURL(DOMString url); |
- |
- [RuntimeEnabled=FileSystem] attribute FileErrorConstructor FileError; |
}; |