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

Unified Diff: third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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: third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h
diff --git a/third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h b/third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h
index b303ecb1bfae6cf05d9a4cc4f7329e42bac3ed26..0805d850a78f61549284688b44c6cd4d8a23875c 100644
--- a/third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h
+++ b/third_party/WebKit/Source/modules/filesystem/SyncCallbackHelper.h
@@ -35,14 +35,14 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/fileapi/FileError.h"
#include "core/html/VoidCallback.h"
-#include "modules/filesystem/DirectoryEntry.h"
-#include "modules/filesystem/EntriesCallback.h"
-#include "modules/filesystem/EntryCallback.h"
-#include "modules/filesystem/EntrySync.h"
-#include "modules/filesystem/FileEntry.h"
#include "modules/filesystem/FileSystemCallback.h"
#include "modules/filesystem/FileSystemCallbacks.h"
-#include "modules/filesystem/MetadataCallback.h"
+#include "modules/filesystem/FileSystemDirectoryEntry.h"
+#include "modules/filesystem/FileSystemEntriesCallback.h"
+#include "modules/filesystem/FileSystemEntryCallback.h"
+#include "modules/filesystem/FileSystemEntrySync.h"
+#include "modules/filesystem/FileSystemFileEntry.h"
+#include "modules/filesystem/FileSystemMetadataCallback.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -138,15 +138,17 @@ struct EmptyType : public GarbageCollected<EmptyType> {
DEFINE_INLINE_TRACE() {}
};
-typedef SyncCallbackHelper<EntryCallback, Entry*, EntrySync>
+typedef SyncCallbackHelper<FileSystemEntryCallback,
+ FileSystemEntry*,
+ FileSystemEntrySync>
EntrySyncCallbackHelper;
-typedef SyncCallbackHelper<MetadataCallback, Metadata*, Metadata>
+typedef SyncCallbackHelper<FileSystemMetadataCallback,
+ FileSystemMetadata*,
+ FileSystemMetadata>
MetadataSyncCallbackHelper;
typedef SyncCallbackHelper<VoidCallback, EmptyType*, EmptyType>
VoidSyncCallbackHelper;
-typedef SyncCallbackHelper<FileSystemCallback,
- DOMFileSystem*,
- DOMFileSystemSync>
+typedef SyncCallbackHelper<FileSystemCallback, FileSystem*, FileSystemSync>
FileSystemSyncCallbackHelper;
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698