Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: Source/modules/filesystem/WorkerGlobalScopeFileSystem.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « Source/modules/filesystem/WorkerContextFileSystem.idl ('k') | Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698