Index: Source/modules/filesystem/WorkerGlobalScopeFileSystem.h |
diff --git a/Source/modules/filesystem/WorkerContextFileSystem.h b/Source/modules/filesystem/WorkerGlobalScopeFileSystem.h |
similarity index 73% |
rename from Source/modules/filesystem/WorkerContextFileSystem.h |
rename to Source/modules/filesystem/WorkerGlobalScopeFileSystem.h |
index 70b91e292fc5981b95926396858a2c3919842dbe..fac6e87bd6c7c1911fb2488410d1a5e4f7acc7ec 100644 |
--- a/Source/modules/filesystem/WorkerContextFileSystem.h |
+++ b/Source/modules/filesystem/WorkerGlobalScopeFileSystem.h |
@@ -24,8 +24,8 @@ |
* |
*/ |
-#ifndef WorkerContextFileSystem_h |
-#define WorkerContextFileSystem_h |
+#ifndef WorkerGlobalScopeFileSystem_h |
+#define WorkerGlobalScopeFileSystem_h |
#include "modules/filesystem/DOMFileSystemSync.h" |
#include "wtf/PassRefPtr.h" |
@@ -36,25 +36,25 @@ class EntryCallback; |
class EntrySync; |
class ErrorCallback; |
class FileSystemCallback; |
-class WorkerContext; |
+class WorkerGlobalScope; |
-class WorkerContextFileSystem { |
+class WorkerGlobalScopeFileSystem { |
public: |
enum { |
TEMPORARY, |
PERSISTENT, |
}; |
- static void webkitRequestFileSystem(WorkerContext*, int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback>); |
- static PassRefPtr<DOMFileSystemSync> webkitRequestFileSystemSync(WorkerContext*, int type, long long size, ExceptionCode&); |
- static void webkitResolveLocalFileSystemURL(WorkerContext*, const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback>); |
- static PassRefPtr<EntrySync> webkitResolveLocalFileSystemSyncURL(WorkerContext*, const String& url, ExceptionCode&); |
+ static void webkitRequestFileSystem(WorkerGlobalScope*, int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback>); |
+ static PassRefPtr<DOMFileSystemSync> webkitRequestFileSystemSync(WorkerGlobalScope*, int type, long long size, ExceptionCode&); |
+ static void webkitResolveLocalFileSystemURL(WorkerGlobalScope*, const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback>); |
+ static PassRefPtr<EntrySync> webkitResolveLocalFileSystemSyncURL(WorkerGlobalScope*, const String& url, ExceptionCode&); |
private: |
- WorkerContextFileSystem(); |
- ~WorkerContextFileSystem(); |
+ WorkerGlobalScopeFileSystem(); |
+ ~WorkerGlobalScopeFileSystem(); |
}; |
} // namespace WebCore |
-#endif // WorkerContextFileSystem_h |
+#endif // WorkerGlobalScopeFileSystem_h |